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

Where is the code of reading battery level?

Hi Nordic team, I print logs at each function in ble_bas.c. I used the App of nRF connect to test BAS. I can see on_connect, on_disconnect and on_write at enabling/disabling notification. I cannot see the code of reading battery level when I pressed the button of reading battery level on APP. But I got the battery level correctly. I want to know where the source code of reading battery level is? Screenshot1.png

Related