Hi,
How can I add service for battery without use service by UART?
Please help me solution.
Hi,
How can I add service for battery without use service by UART?
Please help me solution.
Adding the BAS service to your application should be as simple as adding CONFIG_BT_BAS=y in your prj.conf file. The thing that you need to decide is when to send the notification of the battery level to the peer ( that is when does you application call bt_bas_set_battery_level)
Adding the BAS service to your application should be as simple as adding CONFIG_BT_BAS=y in your prj.conf file. The thing that you need to decide is when to send the notification of the battery level to the peer ( that is when does you application call bt_bas_set_battery_level)