AIROC™ BTSDK v4.4 - Documentation | ||||
EATT API. More...
Functions | |
uint32_t | wiced_bt_gatt_eatt_register (wiced_bt_gatt_eatt_callbacks_t *p_gatt_cback, uint32_t max_eatt_bearers) |
Register an application callback for GATT. More... | |
wiced_result_t | wiced_bt_gatt_eatt_connect (uint16_t legacy_conn_id, uint32_t mtu, uint32_t mps, uint32_t num_bearers, wiced_bt_eatt_drbs ppDRBs, wiced_bt_gatt_eatt_conn_id_list conn_id_list_out) |
API to create the enhanced gatt channels, using the legacy/unenhanced connection id. More... | |
wiced_result_t | wiced_bt_gatt_eatt_connect_response (wiced_bt_gatt_eatt_connection_indication_event_t *p_indication, wiced_bt_gatt_eatt_connection_response_t *p_response, wiced_bt_gatt_eatt_conn_id_list conn_id_list_out) |
API to create the respond to the enhanced gatt channels connection indication. More... | |
wiced_result_t | wiced_bt_gatt_eatt_reconfigure (wiced_bt_gatt_eatt_conn_id_list conn_id_list, uint32_t num_bearers, uint32_t mtu, uint32_t mps, wiced_bt_eatt_drbs ppDRBs) |
API the reconfigure the enhanced gatt channels. More... | |
EATT API.
wiced_result_t wiced_bt_gatt_eatt_connect | ( | uint16_t | legacy_conn_id, |
uint32_t | mtu, | ||
uint32_t | mps, | ||
uint32_t | num_bearers, | ||
wiced_bt_eatt_drbs | ppDRBs, | ||
wiced_bt_gatt_eatt_conn_id_list | conn_id_list_out | ||
) |
API to create the enhanced gatt channels, using the legacy/unenhanced connection id.
[in] | legacy_conn_id | : GATT DB characteristic handle |
[in] | mtu | : EATT bearer Maximum Transmission Unit |
[in] | mps | : EATT bearer Maximum PDU Payload Size |
[in] | num_bearers | : Number of EATT bearers to be established in this call |
[in] | ppDRBs | : Data Receive Buffers, each of MTU size for each of the bearers to be established |
[out] | conn_id_list_out | : Connection Ids created for the EATT bearers |
wiced_result_t wiced_bt_gatt_eatt_connect_response | ( | wiced_bt_gatt_eatt_connection_indication_event_t * | p_indication, |
wiced_bt_gatt_eatt_connection_response_t * | p_response, | ||
wiced_bt_gatt_eatt_conn_id_list | conn_id_list_out | ||
) |
API to create the respond to the enhanced gatt channels connection indication.
[in] | p_indication | : wiced_bt_gatt_eatt_connection_indication_event_t received in wiced_bt_gatt_eatt_callbacks_t |
[in] | p_response | : wiced_bt_gatt_eatt_connection_response_t response data sent by the receiver of wiced_bt_gatt_eatt_callbacks_t |
[out] | conn_id_list_out | : Connection Ids created for the EATT bearers |
wiced_result_t wiced_bt_gatt_eatt_reconfigure | ( | wiced_bt_gatt_eatt_conn_id_list | conn_id_list, |
uint32_t | num_bearers, | ||
uint32_t | mtu, | ||
uint32_t | mps, | ||
wiced_bt_eatt_drbs | ppDRBs | ||
) |
API the reconfigure the enhanced gatt channels.
[in] | conn_id_list | : wiced_bt_gatt_eatt_conn_id_list to be reconfigured |
[in] | num_bearers | : Number of bearers in the conn_ids list |
[in] | mtu | : New MTU (Maximum Transmission Unit) value |
[in] | mps | : New MPS (Maximum Protocol Size) value |
[in] | ppDRBs | : New pointers to the DRBs, each of size MTU for each of bearer in the conn_id_list |
uint32_t wiced_bt_gatt_eatt_register | ( | wiced_bt_gatt_eatt_callbacks_t * | p_gatt_cback, |
uint32_t | max_eatt_bearers | ||
) |
Register an application callback for GATT.
[in] | p_gatt_cback | : The GATT notification callback |
[in] | max_eatt_bearers | : Total number of gatt bearers allowed across all devices (legacy + eatt) |