GATT Profile Client Functions
Function wiced_bt_gatt_configure_mtu
Configure the ATT MTU size for a connection on an LE
transport.
- Parameters
-
[in] | conn_id | : GATT connection handle |
[in] | mtu | : New MTU size |
- Returns
- wiced_bt_gatt_status_t
Function wiced_bt_gatt_send_discover
Start an attribute discovery on an ATT server.
Discovery results are notified using <b> GATT_DISCOVERY_RESULT_EVT </b>;
completion is notified using <b> GATT_DISCOVERY_CPLT_EVT </b> of #wiced_bt_gatt_cback_t.
- Parameters
-
[in] | conn_id | : GATT connection handle |
[in] | discovery_type | : Discover type |
[in] | p_discovery_param | : Discover parameter |
- Returns
- wiced_bt_gatt_status_t
Function wiced_bt_gatt_send_execute_write
Send Execute Write request to remote ATT server.
- Parameters
-
[in] | conn_id | : Connection handle |
[in] | is_execute | : WICED_BT_TRUE to execute, WICED_BT_FALSE to cancel |
- Returns
- wiced_bt_gatt_status_t
Function wiced_bt_gatt_send_indication_confirm
Send a handle value confirmation to remote ATT server.
(in response to <b>GATTC_OPTYPE_INDICATION </b> of #wiced_bt_gatt_cback_t)
- Parameters
-
[in] | conn_id | : Connection handle |
[in] | handle | : Attribute handle |
- Returns
- wiced_bt_gatt_status_t
Function wiced_bt_gatt_send_read
Read from remote ATT server.
Result is notified using <b> GATT_OPERATION_CPLT_EVT </b> of #wiced_bt_gatt_cback_t.
- Parameters
-
[in] | conn_id | : Connection handle |
[in] | type | : Type of the read |
[in] | p_read | : Pointer to the read request parameters |
- Returns
- wiced_bt_gatt_status_t
Function wiced_bt_gatt_send_write
Write to remote ATT server.
Result is notified using <b> GATT_OPERATION_CPLT_EVT </b> of #wiced_bt_gatt_cback_t.
- Parameters
-
[in] | conn_id | : Connection handle |
[in] | type | : Type of write |
[in] | p_write | : Pointer to the write parameters |
- Returns
- wiced_bt_gatt_status_t