![]() |
RAFW Flexible Software Package Documentation
Release v2.0.1
|
|
Functions | |
| ble_status_t | R_BLE_EATT_Enable (uint16_t conn_hdl) |
| Enable EATT bearers. More... | |
| ble_status_t | R_BLE_EATT_GetState (uint16_t conn_hdl, uint8_t *p_state) |
| Check if EATT is enabled for the connection. More... | |
Data Structures | |
| struct | st_ble_eatt_enabled_evt_t |
| This structure notifies that the EATT Channel has been enabled. More... | |
| struct | st_ble_eatt_disabled_evt_t |
| This structure notifies that the EATT Channel has been disabled. More... | |
Macros | |
| #define | BLE_EATT_NUM_ECB_BEARERS_MAX |
| Maximum number of supported EATT Channel. | |
| #define | BLE_EATT_ENABLED |
| EATT Channel Opened. | |
| #define | BLE_EATT_DISABLED |
| EATT Channel Closed. | |
Enumerations | |
| enum | e_r_ble_eatt_evt_t |
| EATT Event Identifier. More... | |
| struct st_ble_eatt_enabled_evt_t |
This structure notifies that the EATT Channel has been enabled.
| Data Fields | ||
|---|---|---|
| uint16_t | channel_num | Number of opened eatt channel. |
| uint16_t | mtu[BLE_EATT_NUM_ECB_BEARERS_MAX] | MTU for each eatt channel. |
| struct st_ble_eatt_disabled_evt_t |
| enum e_r_ble_eatt_evt_t |
EATT Event Identifier.
| ble_status_t R_BLE_EATT_Enable | ( | uint16_t | conn_hdl | ) |
Enable EATT bearers.
When this API is called, to request L2CAP channel Enhanced Credit Based Flow Control Mode.
| [in] | conn_hdl | Connection handle identifying the remote device. |
| BLE_SUCCESS(0x0000) | Success |
| BLE_ERR_INVALID_STATE(0x0008) | R_BLE_EATT_Enable has been called. |
| BLE_ERR_INVALID_HDL(0x000E) | The remote device specified by conn_hdl was not found. |
| ble_status_t R_BLE_EATT_GetState | ( | uint16_t | conn_hdl, |
| uint8_t * | p_state | ||
| ) |
Check if EATT is enabled for the connection.
Check if EATT is enabled for the connection.
| [in] | conn_hdl | Connection handle identifying the remote device. | ||||||
| [out] | p_state | wheather EATT is enabled for the connection.
|
| BLE_SUCCESS(0x0000) | Success |
| BLE_ERR_INVALID_PTR(0x0001) | The p_state parameter is NULL. |
| BLE_ERR_INVALID_HDL(0x000E) | The remote device specified by conn_hdl was not found. |