esp_idf_svc::sys

Function esp_ble_get_bond_device_num

Source
pub unsafe extern "C" fn esp_ble_get_bond_device_num() -> i32
Expand description

@brief Get the device number from the security database list of peer device. It will return the device bonded number immediately.

@return - >= 0 : bonded devices number. - ESP_FAIL : failed