Welcome to IoTForums.com Community
Register now to participate in discussions, ask questions and share your knowledge on internet of things and automation! Feel free to sign up today.
Register Now

BLE Battery Service - RTL8722DM

Michael

Just Hatched
Jun 1, 2020
8
2
11
Singapore
BLE connections use a server client model. The server contains the data of interest, while the client connects to the server to read the data. Commonly, a Bluetooth peripheral device acts as a server, while a Bluetooth central device acts as a client. Servers can contain many services, with each service containing a some set of data. Clients can send requests to read or write some data and can also subscribe to notifications so that the server can send data updates to a client.

In this example, a basic battery service is set up on the Ameba Bluetooth stack. A mobile phone is used to connect the the Ameba peripheral device and read the battery data.

BLE.jpg
GitHub page
Please, Log in or Register to view URLs content!

Official pages
Please, Log in or Register to view URLs content!

Facebook Group
Please, Log in or Register to view URLs content!
 

Log in

or Log in using