36 #ifndef __BT_DEVICE_MANAGER_LE_H__ 37 #define __BT_DEVICE_MANAGER_LE_H__ 86 #include "bt_gap_le.h" void bt_device_manager_le_get_bonded_list(bt_bd_addr_t *list, uint32_t *count)
This function gets the list of bonded LE devices.
Connection parameter structure.
Definition: bt_device_manager_le.h:101
For more information about the pairing configuration, please refer to the Bluetooth core specificatio...
Definition: bt_gap_le.h:387
uint8_t bt_device_manager_le_get_bonded_number(void)
This function gets the count of the bonded LE devices.
LE local key information.
Definition: bt_gap_le.h:439
uint16_t bt_handle_t
Define the connection handle type.
Definition: bt_type.h:85
uint8_t const * bt_bd_addr_ptr_t
A pointer to the bt_bd_addr_t.
Definition: bt_type.h:181
bt_status_t bt_device_manager_le_gap_set_pairing_configuration(bt_gap_le_smp_pairing_config_t *pairing_config)
This function sets the preferred pairing configuration of this device.
bt_bd_addr_ptr_t bt_device_manager_le_get_public_address(void)
This function gets the public address of the device.
bt_device_manager_le_connection_param_t * bt_device_manager_le_get_current_connection_param(bt_handle_t connection_handle)
This function gets the connection parameter of the current link specified by the connection handle...
uint16_t slave_latency
Slave Latency in number of connection events, value range: 0x0000 to 0x03E8.
Definition: bt_device_manager_le.h:103
void bt_device_manager_le_remove_bonded_device(bt_addr_t *peer_addr)
This function removes the bonded device information specified by the peer_addr from this device...
void bt_device_manager_le_clear_all_bonded_info(void)
This function clears all bonded information stored in this device.
uint16_t supervision_timeout
Connection Supervision Timeout in 10 ms units, value range: 0x000A to 0x0C80.
Definition: bt_device_manager_le.h:104
uint8_t bt_bd_addr_t[6]
Address type, defined in Bluetooth core specification version 4.2.
Definition: bt_type.h:180
int32_t bt_status_t
Define the status type, returned from the APIs, and defined as BT_STATUS_XXX.
Definition: bt_type.h:173
This structure defines the Bluetooth address.
Definition: bt_type.h:215
bool bt_device_manager_le_is_bonded(bt_addr_t *address)
This function gets the bonded status of the LE device specified by the address.
bt_status_t bt_device_manager_le_gap_set_local_configuration(bt_gap_le_local_key_t *local_key, bool sc_only_mode)
This function sets the local configuration of this device.
void bt_device_manager_le_init(void)
This function initializes the LE Device Manager service.
uint16_t conn_interval
Connection Interval in 1.25 ms units, value range: 0x0006 to 0x0C80.
Definition: bt_device_manager_le.h:102