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

NRF52840 central application Found 16-bit service but characteristic UUID is 0

Hi,

Firstly, I am able to read a 16-bit service with a 16-bit characteristic and able to use that to get a handle for reading and writing to the peripheral.

But i am unable to get the handle from reading the characteristic of another 16-bit service. The return UUID of the characteristic is 0 which is supposed to be a 128-bit characteristic.

I had also try to use sd_ble_uuid_vs_add() to add the characteristic but still i am unable to get any result.

May i know if anyone can help me on reading the 128-bit characteristic of a 16-bit service in a central device? 

I am working on a windows application using nrf-ble-driver-sd_api_v6-mt-4_1_1.dll.

Thanks.

Regards,

Lian Cheng

Parents
  • Hi Lian, 

    Just to make sure that I have understood correctly:

    You have a peripheral device that has a service with a 16-bit UUID, that service has two characteristics, one with a 16-bit UUID and the second with a 128-bit UUID. You have a nRF52840 device were you are running the  pc-ble-driver connectivity firmware  on and creating a Central application on Windows PC using pc-ble-driver. The issue is that you're not able to properly discover the Service and the characteristics?

    If you could share some relevant  code snippets then that would be helpful.

    Best regards

    Bjørn

Reply
  • Hi Lian, 

    Just to make sure that I have understood correctly:

    You have a peripheral device that has a service with a 16-bit UUID, that service has two characteristics, one with a 16-bit UUID and the second with a 128-bit UUID. You have a nRF52840 device were you are running the  pc-ble-driver connectivity firmware  on and creating a Central application on Windows PC using pc-ble-driver. The issue is that you're not able to properly discover the Service and the characteristics?

    If you could share some relevant  code snippets then that would be helpful.

    Best regards

    Bjørn

Children
Related