Functions

ATT Client API Functions

Functions

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

Function Documentation

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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.