pub unsafe extern "C" fn ble_gap_unpair_oldest_peer() -> c_int
Expand description

Unpairs the oldest bonded peer device. The keys related to that peer device are removed from storage and peer address is removed from the resolve list from the controller. If a peer is connected, the connection is terminated.

@return 0 on success; A BLE host HCI return code if the controller rejected the request; A BLE host core return code on unexpected error.