Error reading characteristic 2A19 battery level: the handle is invalid

Hi Everyone,

I'm currently testing the battery service with my development kit, nrF52dk, and I've found an error stating "The handle is invalid" when I press the "read" button on the nRF Connect App to read the initial battery level. (I am using a iPhone 11). 

Things that i've done:

- Creating a new folder "nrf_ble_service" into the main project

- added into the bas.c into the folder and bas.h into the main.c

- configure the sdk_config.h to enable the bas.c file

I also faced the same issue when I try to read from the "Link Loss" and "Client Characteristic Configuration".

Thanks in advance for your help!

Regards,

Zachary

Parents Reply Children
No Data
Related