TI BLE Stack API Documentation
2.03.05
|
Functions | |
bStatus_t | GATT_InitClient (void) |
Initialize the Generic Attribute Profile Client. More... | |
void | GATT_RegisterForInd (uint8 taskId) |
Register to receive incoming ATT Indications or Notifications of attribute values. More... | |
bStatus_t | GATT_PrepareWriteReq (uint16 connHandle, attPrepareWriteReq_t *pReq, uint8 taskId) |
The Prepare Write Request is used to request the server to prepare to write the value of an attribute. More... | |
bStatus_t | GATT_ExecuteWriteReq (uint16 connHandle, attExecuteWriteReq_t *pReq, uint8 taskId) |
The Execute Write Request is used to request the server to write or cancel the write of all the prepared values currently held in the prepare queue from this client. More... | |
bStatus_t GATT_ExecuteWriteReq | ( | uint16 | connHandle, |
attExecuteWriteReq_t * | pReq, | ||
uint8 | taskId | ||
) |
The Execute Write Request is used to request the server to write or cancel the write of all the prepared values currently held in the prepare queue from this client.
Note: This function is needed only for GATT testing.
connHandle | - connection to use |
pReq | - pointer to request to be sent |
taskId | - task to be notified of response |
bStatus_t GATT_InitClient | ( | void | ) |
Initialize the Generic Attribute Profile Client.
bStatus_t GATT_PrepareWriteReq | ( | uint16 | connHandle, |
attPrepareWriteReq_t * | pReq, | ||
uint8 | taskId | ||
) |
The Prepare Write Request is used to request the server to prepare to write the value of an attribute.
Note: This function is needed only for GATT testing.
connHandle | - connection to use |
pReq | - pointer to request to be sent |
taskId | - task to be notified of response |
void GATT_RegisterForInd | ( | uint8 | taskId | ) |
Register to receive incoming ATT Indications or Notifications of attribute values.
taskId | - task to forward indications or notifications to |