I am using nRF52832 DK.
I am trying to print Battery service value in log file ( Client side ).
So where i get this information and how can i print this information in my log.
I am using nRF52832 DK.
I am trying to print Battery service value in log file ( Client side ).
So where i get this information and how can i print this information in my log.
Hi
I suggest you take a look at the ble_app_hrs example in our SDK, which implements the heart rate and battery measurement service. The central application uses the bas_c_evt_handler function to print and read the battery level.
Best regards,
Simon
please let me know how to add log message into a function for ble_app_hrs_c that can be printed on debug terminal.
please let me know how to add log message into a function for ble_app_hrs_c that can be printed on debug terminal.