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

pc-ble-driver characteristics longer than 20 bytes cannot be read by a central

Viewers! Don't click on a similar issue or you will lose everything you have done!

Calling this method sd_ble_gatts_characteristic_add(...) with a characteristic value of 20 bytes can be read by the peer. However, if the characteristic is LONGER than 20 bytes NOTHING is read. THe peer is an Android and it has no problem reading characteristics longer than 20 bytes on other devices. I am using the nrf52840 dongle and the pc-ble-driver. Source code is written on a PC.

The problem is configuring the Reg-Cert-Data-List characteristic in the DIS.

If there is a way to set up a 'blob' (long) read it is not documented.

Related