nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
Bluetooth LE Connection Parameter Library

API for the Bluetooth LE Connection Parameter library in BareMetal option. More...

Data Structures

struct  ble_conn_params_data_length
 Data length. More...
 
struct  ble_conn_params_evt
 Bluetooth LE connection parameter event. More...
 

Typedefs

typedef void(* ble_conn_params_evt_handler_t) (const struct ble_conn_params_evt *evt)
 Bluetooth LE connection parameters event handler prototype.
 

Enumerations

enum  ble_conn_params_evt_type {
  BLE_CONN_PARAMS_EVT_UPDATED , BLE_CONN_PARAMS_EVT_REJECTED , BLE_CONN_PARAMS_EVT_ATT_MTU_UPDATED , BLE_CONN_PARAMS_EVT_DATA_LENGTH_UPDATED ,
  BLE_CONN_PARAMS_EVT_RADIO_PHY_MODE_UPDATED , BLE_CONN_PARAMS_EVT_ERROR
}
 Bluetooth LE connection parameter event types. More...
 

Functions

uint32_t ble_conn_params_evt_handler_set (ble_conn_params_evt_handler_t handler)
 Set a handler function to receive events.
 
uint32_t ble_conn_params_override (uint16_t conn_handle, const ble_gap_conn_params_t *conn_params)
 Override GAP connection parameters for given peer.
 
uint32_t ble_conn_params_att_mtu_set (uint16_t conn_handle, uint16_t att_mtu)
 Initiate an ATT MTU exchange procedure for a given connection.
 
uint32_t ble_conn_params_att_mtu_get (uint16_t conn_handle, uint16_t *att_mtu)
 Retrieve the current ATT MTU for a given connection.
 
uint32_t ble_conn_params_data_length_set (uint16_t conn_handle, struct ble_conn_params_data_length dl)
 Initiate a GAP data length update procedure for a given connection.
 
uint32_t ble_conn_params_data_length_get (uint16_t conn_handle, struct ble_conn_params_data_length *dl)
 Retrieve the current GAP data length for a given connection.
 
uint32_t ble_conn_params_phy_radio_mode_set (uint16_t conn_handle, ble_gap_phys_t phy_pref)
 Initiate a GAP radio PHY mode update procedure for a given connection.
 
uint32_t ble_conn_params_phy_radio_mode_get (uint16_t conn_handle, ble_gap_phys_t *phy_pref)
 Retrieve the current GAP radio PHY mode for a given connection.
 

Detailed Description

API for the Bluetooth LE Connection Parameter library in BareMetal option.