Hi,
im running my DK as a central of a BLE connection and i'd like to read the device_name of the peripheral board that im communication with. how do i do this? i cannot find a fieldname in the ble structures that stores it.
thank you :)
Hi,
im running my DK as a central of a BLE connection and i'd like to read the device_name of the peripheral board that im communication with. how do i do this? i cannot find a fieldname in the ble structures that stores it.
thank you :)
Hi,
There is no separate field in the struct for the name. The name can be put in the advertising data (data
field), but it is not required.
Check out the BLE multilink central example and the function adv_report_parse()
for details on how tha name can be extracted from the advertising data.
Best regards,
Jørgen
Worked perfectly, thank you :)
Worked perfectly, thank you :)