Hello rapidM2M Community,
the ble-con-manager-mt library is now available in the rapidM2M Studio. It helps the user to handle multiple BLE peripheral connections at once. It requires the ble-scanner-app-mt library version 2 or higher.
The library introduces the concept of “peers”. Peers are simply BLE peripheral devices which the BLE central wants to connect to.
The library provides high level functions which enable the user to configure how it should behave regarding scanning and connecting. This implies following workflow:
- Registering the peer to the library
- Connect to the peer
- Read data from or write data to a specific characteristic of a peer
- Receiving of notification regarding a changed content of a characteristic of a peer