TI BLE Stack API Documentation  2.03.08
Functions
ATT Client API Functions

Functions

bStatus_t ATT_ExchangeMTUReq (uint16 connHandle, attExchangeMTUReq_t *pReq)
 Send Exchange MTU Request. More...
 
bStatus_t ATT_FindInfoReq (uint16 connHandle, attFindInfoReq_t *pReq)
 Send Find Information Request. More...
 
bStatus_t ATT_FindByTypeValueReq (uint16 connHandle, attFindByTypeValueReq_t *pReq)
 Send Find By Type Value Request. More...
 
bStatus_t ATT_ReadByTypeReq (uint16 connHandle, attReadByTypeReq_t *pReq)
 Send Read By Type Request. More...
 
bStatus_t ATT_ReadReq (uint16 connHandle, attReadReq_t *pReq)
 Send Read Request. More...
 
bStatus_t ATT_ReadBlobReq (uint16 connHandle, attReadBlobReq_t *pReq)
 Send Read Blob Request. More...
 
bStatus_t ATT_ReadMultiReq (uint16 connHandle, attReadMultiReq_t *pReq)
 Send Read Multiple Request. More...
 
bStatus_t ATT_ReadByGrpTypeReq (uint16 connHandle, attReadByGrpTypeReq_t *pReq)
 Send Read By Group Type Request. More...
 
bStatus_t ATT_WriteReq (uint16 connHandle, attWriteReq_t *pReq)
 Send Write Request. More...
 
bStatus_t ATT_PrepareWriteReq (uint16 connHandle, attPrepareWriteReq_t *pReq)
 Send Prepare Write Request. More...
 
bStatus_t ATT_ExecuteWriteReq (uint16 connHandle, attExecuteWriteReq_t *pReq)
 Send Execute Write Request. More...
 
bStatus_t ATT_HandleValueCfm (uint16 connHandle)
 Send Handle Value Confirmation. More...
 

Detailed Description

Function Documentation

§ ATT_ExchangeMTUReq()

bStatus_t ATT_ExchangeMTUReq ( uint16  connHandle,
attExchangeMTUReq_t pReq 
)

Send Exchange MTU Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ExecuteWriteReq()

bStatus_t ATT_ExecuteWriteReq ( uint16  connHandle,
attExecuteWriteReq_t pReq 
)

Send Execute Write Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_FindByTypeValueReq()

bStatus_t ATT_FindByTypeValueReq ( uint16  connHandle,
attFindByTypeValueReq_t pReq 
)

Send Find By Type Value Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_FindInfoReq()

bStatus_t ATT_FindInfoReq ( uint16  connHandle,
attFindInfoReq_t pReq 
)

Send Find Information Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_HandleValueCfm()

bStatus_t ATT_HandleValueCfm ( uint16  connHandle)

Send Handle Value Confirmation.

Parameters
connHandle- connection to use
Returns
SUCCESS: Confirmation was sent successfully.
INVALIDPARAMETER: Invalid confirmation field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_PrepareWriteReq()

bStatus_t ATT_PrepareWriteReq ( uint16  connHandle,
attPrepareWriteReq_t pReq 
)

Send Prepare Write Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ReadBlobReq()

bStatus_t ATT_ReadBlobReq ( uint16  connHandle,
attReadBlobReq_t pReq 
)

Send Read Blob Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ReadByGrpTypeReq()

bStatus_t ATT_ReadByGrpTypeReq ( uint16  connHandle,
attReadByGrpTypeReq_t pReq 
)

Send Read By Group Type Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ReadByTypeReq()

bStatus_t ATT_ReadByTypeReq ( uint16  connHandle,
attReadByTypeReq_t pReq 
)

Send Read By Type Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ReadMultiReq()

bStatus_t ATT_ReadMultiReq ( uint16  connHandle,
attReadMultiReq_t pReq 
)

Send Read Multiple Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_ReadReq()

bStatus_t ATT_ReadReq ( uint16  connHandle,
attReadReq_t pReq 
)

Send Read Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.

§ ATT_WriteReq()

bStatus_t ATT_WriteReq ( uint16  connHandle,
attWriteReq_t pReq 
)

Send Write Request.

Parameters
connHandle- connection to use
pReq- pointer to request to be sent
Returns
SUCCESS: Request was sent successfully.
INVALIDPARAMETER: Invalid request field.
MSG_BUFFER_NOT_AVAIL: No HCI buffer is available.
bleNotConnected: Connection is down.
bleMemAllocError: Memory allocation error occurred.
bleLinkEncrypted: Connection is already encrypted.