
Figure 5-33. Message Displayed in the Application
5.3.9
Battery Service Application
Perform the following steps to run the Battery Service Application demo:
1.
Establish the connection between the device and mobile phone using the procedure listed in
.
2.
When paired, the application displays the Battery Service and the Generic Information service.
3.
Select “Battery Service” to receive notifications for the battery level characteristic. The user can stop receiving
the notifications by disabling notifications, as shown in the following figure.
Figure 5-34. Battery Level Characteristic Notification Options
4.
On the device side, the console log displays the periodic battery level updates.
Battery Level:0%
Battery Level:1%
Battery Level:2%
Battery Level:3%
Battery Level:4%
Battery Level:5%
5.3.10
Simple Broadcaster Application
Perform the following steps to run the Simple Broadcaster application demo:
1.
Follow the steps (1 and 2) from
.
2.
The device is in advertising mode.
3.
The following figure shows example logs from the Simple Broadcaster application.
ATBTLC1000
Application Demo
©
2019 Microchip Technology Inc.
User Guide
DS50002640B-page 46