BLE InteractionΒΆ

Example: BLE discovery of identified BLE HW MAC address.

- ident: ICT-T1
  title: Identify DUT
  steps:
  - command: identify nRF52
- ident: ICT-T2
  title: BLE Discovery
  steps:
  - command: bledis %BLEMAC% 30 -60

Example: Validate BLE Device Information Service

title: "DIS Validation"
suite:
- ident: ICT-T1
  title: Identify DUT
  steps:
  - command: identify nRF52
- ident: ICT-T2
  title: Program LY10-DEMO-BOARD FW
  steps:
  - command: program nRF52 s132_nrf52_6.0.0_softdevice.hex,ly10-demo-fw-0.1.7.hex
- ident: ICT-T3
  title: Validate BLE DIS
  steps:
  - command: ble gatt connect addr:%ble_mac% 10
  - command: ble gatt discover
  # GAP:Device Name
  - command: ble gatt read char:2a00 4c5931302d44454d4f5f424f415244 # "LY10-DEMO_BOARD"
  # GAP Appearance
  - command: ble gatt read char:2a01 0000
  # GAP:Peripheral Preferred Connection Parameters
  - command: ble gatt read char:2a04 0600080200009001
  # GAP:Central Address Resolution
  - command: ble gatt read char:2aa6 01
  # DIS:Manufacturer Name String
  - command: ble gatt read char:2a29 424344 # "BCD"
  # DIS:Model Number String
  - command: ble gatt read char:2a24 4c5931302d44454d4f5f424f415244 # "LY10-DEMO_BOARD"
  # DIS:Hardware Revision String
  - command: ble gatt read char:2a27 32303139 # "2019"
  # DIS:Firmware Revision String
  - command: ble gatt read char:2a26 302e312e37 # "0.1.7"
  # DIS:Software Revision String
  - command: ble gatt read char:2a28 312e322e33 # "1.2.3"
  - command: ble gatt disconnect

Commands