AIROC™ BTSDK v4.9 - Documentation | ||||
GATT Profile Client Functions. More...
GATT Profile Client Functions.
wiced_bt_gatt_status_t wiced_bt_gatt_configure_mtu | ( | uint16_t | conn_id, |
uint16_t | mtu | ||
) |
Function wiced_bt_gatt_configure_mtu.
Configure the ATT MTU size for a connection on an LE transport. Allowed mtu range is 23 to max_mtu_size configured in wiced_bt_cfg_settings_t
[in] | conn_id | : GATT connection handle |
[in] | mtu | : New MTU size |
wiced_bt_gatt_status_t wiced_bt_gatt_send_discover | ( | uint16_t | conn_id, |
wiced_bt_gatt_discovery_type_t | discovery_type, | ||
wiced_bt_gatt_discovery_param_t * | p_discovery_param | ||
) |
Function wiced_bt_gatt_send_discover.
Start an attribute discovery on an ATT server. Discovery results are notified using GATT_DISCOVERY_RESULT_EVT ; completion is notified using GATT_DISCOVERY_CPLT_EVT of wiced_bt_gatt_cback_t.
[in] | conn_id | : GATT connection handle |
[in] | discovery_type | : Discover type |
[in] | p_discovery_param | : Discover parameter |
wiced_bt_gatt_status_t wiced_bt_gatt_send_execute_write | ( | uint16_t | conn_id, |
wiced_bool_t | is_execute | ||
) |
Function wiced_bt_gatt_send_execute_write.
Send Execute Write request to remote ATT server.
[in] | conn_id | : Connection handle |
[in] | is_execute | : WICED_BT_TRUE to execute, WICED_BT_FALSE to cancel |
wiced_bt_gatt_status_t wiced_bt_gatt_send_indication_confirm | ( | uint16_t | conn_id, |
uint16_t | handle | ||
) |
Function wiced_bt_gatt_send_indication_confirm.
Send a handle value confirmation to remote ATT server. (in response to GATTC_OPTYPE_INDICATION of wiced_bt_gatt_cback_t)
[in] | conn_id | : Connection handle |
[in] | handle | : Attribute handle |
wiced_bt_gatt_status_t wiced_bt_gatt_send_read | ( | uint16_t | conn_id, |
wiced_bt_gatt_read_type_t | type, | ||
wiced_bt_gatt_read_param_t * | p_read | ||
) |
Function wiced_bt_gatt_send_read.
Read from remote ATT server. Result is notified using GATT_OPERATION_CPLT_EVT of wiced_bt_gatt_cback_t.
[in] | conn_id | : Connection handle |
[in] | type | : Type of the read |
[in] | p_read | : Pointer to the read request parameters |
wiced_bt_gatt_status_t wiced_bt_gatt_send_write | ( | uint16_t | conn_id, |
wiced_bt_gatt_write_type_t | type, | ||
wiced_bt_gatt_value_t * | p_write | ||
) |
Function wiced_bt_gatt_send_write.
Write to remote ATT server. Result is notified using GATT_OPERATION_CPLT_EVT of wiced_bt_gatt_cback_t.
[in] | conn_id | : Connection handle |
[in] | type | : Type of write |
[in] | p_write | : Pointer to the write parameters |