Cannot get device name in advertise data with pc-ble-driver and nrf52840 dongle

Hello,

I compiled pc-ble-driver from github and it when i debug heart_rate_collector in adv_report_parse function i only get 1, 10, 255 field_type and never  BLE_GAP_AD_TYPE_COMPLETE_LOCAL_NAME or  BLE_GAP_AD_TYPE_SHORT_LOCAL_NAME

If i launch nRF Connect for iPad i can see many names as peripheral.

heart_rate_monitor_sd_api_v6 works fine i can see the address rssi etc... but never the short or long name.

s140_nrf52_6.1.1_softdevice.hex is used

Thanks

Parents
  • Hello,

    Do you happen to know whether the advertising name is located in the advertising packet or the scan response data? 

    The reason I ask is that in the later pc-ble-driver the application (running on the PC) is not able to pick up scan response data, because of a change in the softdevice behavior. 

    What peripheral are you trying to scan for? ble_app_hrs from the normal SDK, or another example?

    When you get the fields that you mentioned, can you please try to copy and print the entire advertising message? You can use the nRF Sniffer to see what the advertising data you are scanning actually looks like. Perhaps you can find something else that you can filter on, such as the address. What does the advertising packet on the peripheral you are looking for look like?

    Best regards,

    Edvin

  • Hello,

    pc-ble-driver and nrfconnect for desktop does not give any names of any devices. Adding a printf in adv_report_parse/heart_rate_collector.c to see it confirm this like the wireshark result.
    With nrfconnect for iPad or with the apple framework i can see by scanning only, not connecting to the device, the names of the devices (somme are apple devices others are not).

    How can i get the names of these devices ?

    Thank you

    Regards

Reply
  • Hello,

    pc-ble-driver and nrfconnect for desktop does not give any names of any devices. Adding a printf in adv_report_parse/heart_rate_collector.c to see it confirm this like the wireshark result.
    With nrfconnect for iPad or with the apple framework i can see by scanning only, not connecting to the device, the names of the devices (somme are apple devices others are not).

    How can i get the names of these devices ?

    Thank you

    Regards

Children
Related