This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Cannot detect the primary service using pc-ble-driver with 128 bit UUID

Hi.

I programmed the firmware in "https://github.com/NordicSemiconductor/pc-ble-driver" share folder to a nrf52840 dongle. 

NRF_SD_BLE_API=6

I took the example heart rate code and modify to talk to a nrf52840 eval boards running NUS.

I changed the last parameter in sd_ble_gattc_primary_services_discover to NULL.

err_code = sd_ble_gattc_primary_services_discover(m_adapter, m_connection_handle, start_handle, NULL);

I would expect I should see 2 BLE services + a NUS service (128 bit UUID).  But I can only get 2 detected services in on_service_discovery_response(). (p_ble_gattc_evt->params.prim_srvc_disc_rsp.count = 2).

I tried another another board running 2 BLE services + a 16 bit UUID service. The system returned 3 services.

Thus, I think the problem is related to the UUID length.

Could you help me find out the issue?

Thanks.

Parents Reply Children
No Data
Related