GATT Bond Management Service (BMS)
This library implements the Bond Management Service with the corresponding set of characteristics defined in the Bond Management Service Specification.
You can configure the service to support your desired feature set of bond management operations. All the BMS features in the “LE transport only” mode are supported:
Delete the bond of the requesting device.
Delete all bonds on the Server.
Delete all bonds on the Server except the one of the requesting device.
You can enable each feature when initializing the library.
Deleting the bonds
The Server deletes bonding information on Client’s request right away when there is no active Bluetooth® Low Energy connection associated with a bond. Otherwise, the Server removes the bond for a given peer when it disconnects.
API documentation
Header file:
include/bluetooth/services/bms.h
Source file:
subsys/bluetooth/services/bms.c