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

BLE Battery Service

Hello,

I'm using nRF SDK v15.0.0. I have have added battery service using this online tutorial: https://www.novelbits.io/smart-ble-lightbulb-application-nrf52/. The code in the /components/ble/ble_services/eddystone example is being re-used here.

However, I'm getting following error messages. While the device is connected to the client (a smart phone), whenever battery Level time out event occurs, the device gets hanged and is disconnected from the client app (nRF Connect).

Apart from this service, there are two more custom services running and those are working fine.

<info> app: Battery Level timeout event
<info> app: Battery Level timeout event
<info> app: Battery Level timeout event
<info> app: Battery Level timeout event
<info> app: Connected.
<info> app: Battery Level timeout event
<error> app: ERROR 3735928559 [Unknown error code] at E:\.....\nRF5_SDK_15.0\modules\nrfx\drivers\src\nrfx_saadc.c:447
PC at: 0x000310E3
<error> app: End of error report

Related