Mistake on this page?
Report an issue in GitHub or email us
Data Structures
STACK_ATTC_API

Data Structures

struct  attcDiscChar_tag
 ATT client structure for characteristic and descriptor discovery. More...
 
struct  attcDiscCfg_t
 ATT client structure for characteristic and descriptor configuration. More...
 
struct  attcDiscCb_t
 ATT client discovery control block. More...
 

ATT Client Discovery and Configuration Settings

Settings used to configurate ATT Discovery procedure for ATT Clients.

#define ATTC_SET_UUID_128   0x01
 Set if the UUID is 128 bits in length. More...
 
#define ATTC_SET_REQUIRED   0x02
 Set if characteristic must be discovered. More...
 
#define ATTC_SET_DESCRIPTOR   0x04
 Set if this is a characteristic descriptor. More...
 

ATT Client Data Types

typedef struct attcDiscChar_tag attcDiscChar_t
 ATT client structure for characteristic and descriptor discovery. More...
 

ATT Client Functions

void AttcInit (void)
 Initialize ATT client. More...
 
void AttcSignInit (void)
 Initialize ATT client for data signing. More...
 
void AttcFindInfoReq (dmConnId_t connId, uint16_t startHandle, uint16_t endHandle, bool_t continuing)
 Initiate an attribute protocol Find Information Request. More...
 
void AttcFindByTypeValueReq (dmConnId_t connId, uint16_t startHandle, uint16_t endHandle, uint16_t uuid16, uint16_t valueLen, uint8_t *pValue, bool_t continuing)
 Initiate an attribute protocol Find By Type Value Request. More...
 
void AttcReadByTypeReq (dmConnId_t connId, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Type Request. More...
 
void AttcReadReq (dmConnId_t connId, uint16_t handle)
 Initiate an attribute protocol Read Request. More...
 
void AttcReadLongReq (dmConnId_t connId, uint16_t handle, uint16_t offset, bool_t continuing)
 Initiate an attribute protocol Read Long Request. More...
 
void AttcReadMultipleReq (dmConnId_t connId, uint8_t numHandles, uint16_t *pHandles)
 Initiate an attribute protocol Read Multiple Request. More...
 
void AttcReadByGroupTypeReq (dmConnId_t connId, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Group Type Request. More...
 
void AttcWriteReq (dmConnId_t connId, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Request. More...
 
void AttcWriteCmd (dmConnId_t connId, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Command. More...
 
void AttcSignedWriteCmd (dmConnId_t connId, uint16_t handle, uint32_t signCounter, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol signed Write Command. More...
 
void AttcPrepareWriteReq (dmConnId_t connId, uint16_t handle, uint16_t offset, uint16_t valueLen, uint8_t *pValue, bool_t valueByRef, bool_t continuing)
 Initiate an attribute protocol Prepare Write Request. More...
 
void AttcExecuteWriteReq (dmConnId_t connId, bool_t writeAll)
 Initiate an attribute protocol Execute Write Request. More...
 
void AttcCancelReq (dmConnId_t connId)
 Cancel an attribute protocol request in progress. More...
 
void AttcDiscService (dmConnId_t connId, attcDiscCb_t *pCb, uint8_t uuidLen, uint8_t *pUuid)
 This utility function discovers the given service on a peer device. Function AttcFindByTypeValueReq() is called to initiate the discovery procedure. More...
 
uint8_t AttcDiscServiceCmpl (attcDiscCb_t *pCb, attEvt_t *pMsg)
 This utility function processes a service discovery result. It should be called when an ATTC_FIND_BY_TYPE_VALUE_RSP callback event is received after service discovery is initiated by calling AttcDiscService(). More...
 
void AttcDiscCharStart (dmConnId_t connId, attcDiscCb_t *pCb)
 This utility function starts characteristic and characteristic descriptor discovery for a service on a peer device. The service must have been previously discovered by calling AttcDiscService() and AttcDiscServiceCmpl(). More...
 
uint8_t AttcDiscCharCmpl (attcDiscCb_t *pCb, attEvt_t *pMsg)
 This utility function processes a characteristic discovery result. It should be called when an ATTC_READ_BY_TYPE_RSP or ATTC_FIND_INFO_RSP callback event is received after characteristic discovery is initiated by calling AttcDiscCharStart(). More...
 
void AttcDiscIncSvcStart (dmConnId_t connId, attcDiscCb_t *pCb)
 This utility function starts service include discovery for a service on a peer device. The service must have been previously discovered by calling AttcDiscService() and AttcDiscServiceCmpl(). More...
 
uint8_t AttcDiscIncSvcCmpl (attcDiscCb_t *pCb, attEvt_t *pMsg)
 This utility function processes a service include discovery result. It should be called when an ATTC_READ_BY_TYPE_RSP allback event is received after service include discovery is initiated by calling AttcDiscIncSvcStart(). More...
 
uint8_t AttcDiscConfigStart (dmConnId_t connId, attcDiscCb_t *pCb)
 This utility function starts characteristic configuration for characteristics on a peer device. The characteristics must have been previously discovered by calling AttcDiscCharStart() and AttcDiscCharCmpl(). More...
 
uint8_t AttcDiscConfigCmpl (dmConnId_t connId, attcDiscCb_t *pCb)
 This utility function initiates the next characteristic configuration procedure. It should be called when an ATTC_READ_RSP or ATTC_WRITE_RSP callback event is received after characteristic configuration is initiated by calling AttcDiscConfigStart(). More...
 
uint8_t AttcDiscConfigResume (dmConnId_t connId, attcDiscCb_t *pCb)
 This utility function resumes the characteristic configuration procedure. It can be called when an ATTC_READ_RSP or ATTC_WRITE_RSP callback event is received with failure status to attempt the read or write procedure again. More...
 
void AttcMtuReq (dmConnId_t connId, uint16_t mtu)
 Initiate an attribute protocol Exchange MTU Request. More...
 
void AttcSetAutoConfirm (bool_t enable)
 Set automatic Indication Confirmations sent from this ATT Client. More...
 
void AttcIndConfirm (dmConnId_t connId)
 Send an attribute protocol indication confirmation. More...
 

EATT Client Functions

void EattcFindInfoReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, bool_t continuing)
 Initiate an attribute protocol Find Information Request. More...
 
void EattcFindByTypeValueReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint16_t uuid16, uint16_t valueLen, uint8_t *pValue, bool_t continuing)
 Initiate an attribute protocol Find By Type Value Request. More...
 
void EattcReadByTypeReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Type Request. More...
 
void EattcReadReq (dmConnId_t connId, uint8_t priority, uint16_t handle)
 Initiate an attribute protocol Read Request. More...
 
void EattcReadLongReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t offset, bool_t continuing)
 Initiate an attribute protocol Read Request. More...
 
void EattcReadMultipleReq (dmConnId_t connId, uint8_t priority, uint8_t numHandles, uint16_t *pHandles)
 Initiate an attribute protocol Read Multiple Request. More...
 
void EattcReadByGroupTypeReq (dmConnId_t connId, uint8_t priority, uint16_t startHandle, uint16_t endHandle, uint8_t uuidLen, uint8_t *pUuid, bool_t continuing)
 Initiate an attribute protocol Read By Group Type Request. More...
 
void EattcWriteReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Request. More...
 
void EattcCancelReq (dmConnId_t connId, uint8_t priority)
 Cancel an attribute protocol request in progress. More...
 
void EattcIndConfirm (dmConnId_t connId, uint16_t cid)
 Send an attribute protocol indication confirmation. More...
 
void EattcWriteCmd (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t valueLen, uint8_t *pValue)
 Initiate an attribute protocol Write Command. More...
 
void EattcPrepareWriteReq (dmConnId_t connId, uint8_t priority, uint16_t handle, uint16_t offset, uint16_t valueLen, uint8_t *pValue, bool_t valueByRef, bool_t continuing)
 Initiate an attribute protocol Prepare Write Request. More...
 
void EattcExecuteWriteReq (dmConnId_t connId, uint8_t priority, bool_t writeAll)
 Initiate an attribute protocol Execute Write Request. More...
 
void EattcReadMultVarLenReq (dmConnId_t connId, uint8_t priority, uint8_t numHandles, uint16_t *pHandles)
 Initiate an attribute protocol Read Multiple Variable Length Request. More...
 
void EattcInit ()
 Initialize the Enhanced ATT Client. More...
 

Detailed Description

Macro Definition Documentation

#define ATTC_SET_DESCRIPTOR   0x04

Set if this is a characteristic descriptor.

Definition at line 88 of file att_api.h.

#define ATTC_SET_REQUIRED   0x02

Set if characteristic must be discovered.

Definition at line 87 of file att_api.h.

#define ATTC_SET_UUID_128   0x01

Set if the UUID is 128 bits in length.

Definition at line 86 of file att_api.h.

Typedef Documentation

ATT client structure for characteristic and descriptor discovery.

Function Documentation

void AttcCancelReq ( dmConnId_t  connId)

Cancel an attribute protocol request in progress.

Parameters
connIdDM connection ID.
Returns
None.
uint8_t AttcDiscCharCmpl ( attcDiscCb_t pCb,
attEvt_t pMsg 
)

This utility function processes a characteristic discovery result. It should be called when an ATTC_READ_BY_TYPE_RSP or ATTC_FIND_INFO_RSP callback event is received after characteristic discovery is initiated by calling AttcDiscCharStart().

Parameters
pCbPointer to discovery control block.
pMsgATT callback event message.
Returns
ATT_CONTINUING if successful and the discovery procedure is continuing. ATT_SUCCESS if the discovery procedure completed successfully. Otherwise the discovery procedure failed.
void AttcDiscCharStart ( dmConnId_t  connId,
attcDiscCb_t pCb 
)

This utility function starts characteristic and characteristic descriptor discovery for a service on a peer device. The service must have been previously discovered by calling AttcDiscService() and AttcDiscServiceCmpl().

Parameters
connIdDM connection ID.
pCbPointer to discovery control block.
Returns
None.
uint8_t AttcDiscConfigCmpl ( dmConnId_t  connId,
attcDiscCb_t pCb 
)

This utility function initiates the next characteristic configuration procedure. It should be called when an ATTC_READ_RSP or ATTC_WRITE_RSP callback event is received after characteristic configuration is initiated by calling AttcDiscConfigStart().

Parameters
connIdDM connection ID.
pCbPointer to discovery control block.
Returns
ATT_CONTINUING if successful and configuration procedure is continuing. ATT_SUCCESS if configuration procedure completed successfully.
uint8_t AttcDiscConfigResume ( dmConnId_t  connId,
attcDiscCb_t pCb 
)

This utility function resumes the characteristic configuration procedure. It can be called when an ATTC_READ_RSP or ATTC_WRITE_RSP callback event is received with failure status to attempt the read or write procedure again.

Parameters
connIdDM connection ID.
pCbPointer to discovery control block.
Returns
ATT_CONTINUING if successful and configuration procedure is continuing. ATT_SUCCESS if configuration procedure completed successfully.
uint8_t AttcDiscConfigStart ( dmConnId_t  connId,
attcDiscCb_t pCb 
)

This utility function starts characteristic configuration for characteristics on a peer device. The characteristics must have been previously discovered by calling AttcDiscCharStart() and AttcDiscCharCmpl().

Parameters
connIdDM connection ID.
pCbPointer to discovery control block.
Returns
ATT_CONTINUING if successful and configuration procedure is continuing. ATT_SUCCESS if nothing to configure.
uint8_t AttcDiscIncSvcCmpl ( attcDiscCb_t pCb,
attEvt_t pMsg 
)

This utility function processes a service include discovery result. It should be called when an ATTC_READ_BY_TYPE_RSP allback event is received after service include discovery is initiated by calling AttcDiscIncSvcStart().

Parameters
pCbPointer to service discovery control block.
pMsgATT callback event message.
Returns
ATT_CONTINUING if successful and discovery procedure is continuing. ATT_SUCCESS if discovery procedure completed successfully. Otherwise the discovery procedure failed.
void AttcDiscIncSvcStart ( dmConnId_t  connId,
attcDiscCb_t pCb 
)

This utility function starts service include discovery for a service on a peer device. The service must have been previously discovered by calling AttcDiscService() and AttcDiscServiceCmpl().

Parameters
connIdDM connection ID.
pCbPointer to service discovery control block.
Returns
None.
void AttcDiscService ( dmConnId_t  connId,
attcDiscCb_t pCb,
uint8_t  uuidLen,
uint8_t *  pUuid 
)

This utility function discovers the given service on a peer device. Function AttcFindByTypeValueReq() is called to initiate the discovery procedure.

Parameters
connIdDM connection ID.
pCbPointer to discovery control block.
uuidLenLength of service UUID (2 or 16).
pUuidPointer to service UUID.
Returns
None.
uint8_t AttcDiscServiceCmpl ( attcDiscCb_t pCb,
attEvt_t pMsg 
)

This utility function processes a service discovery result. It should be called when an ATTC_FIND_BY_TYPE_VALUE_RSP callback event is received after service discovery is initiated by calling AttcDiscService().

Parameters
pCbPointer to discovery control block.
pMsgATT callback event message.
Returns
ATT_SUCCESS if successful otherwise error.
void AttcExecuteWriteReq ( dmConnId_t  connId,
bool_t  writeAll 
)

Initiate an attribute protocol Execute Write Request.

Parameters
connIdDM connection ID.
writeAllTRUE to write all queued writes, FALSE to cancel all queued writes.
Returns
None.
void AttcFindByTypeValueReq ( dmConnId_t  connId,
uint16_t  startHandle,
uint16_t  endHandle,
uint16_t  uuid16,
uint16_t  valueLen,
uint8_t *  pValue,
bool_t  continuing 
)

Initiate an attribute protocol Find By Type Value Request.

Parameters
connIdDM connection ID.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuid1616-bit UUID to find.
valueLenLength of value data.
pValuePointer to value data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcFindInfoReq ( dmConnId_t  connId,
uint16_t  startHandle,
uint16_t  endHandle,
bool_t  continuing 
)

Initiate an attribute protocol Find Information Request.

Parameters
connIdDM connection ID.
startHandleAttribute start handle.
endHandleAttribute end handle.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcIndConfirm ( dmConnId_t  connId)

Send an attribute protocol indication confirmation.

Parameters
connIdDM connection ID.
Returns
None.
void AttcInit ( void  )

Initialize ATT client.

Returns
None.
void AttcMtuReq ( dmConnId_t  connId,
uint16_t  mtu 
)

Initiate an attribute protocol Exchange MTU Request.

Parameters
connIdDM connection ID.
mtuAttribute protocol MTU.
Returns
None.
Note
The Exchange MTU Request will be initiated automatically on a master connection.
This API can be used by the application to initiate an Exchange MTU Request on slave connections.
void AttcPrepareWriteReq ( dmConnId_t  connId,
uint16_t  handle,
uint16_t  offset,
uint16_t  valueLen,
uint8_t *  pValue,
bool_t  valueByRef,
bool_t  continuing 
)

Initiate an attribute protocol Prepare Write Request.

Parameters
connIdDM connection ID.
handleAttribute handle.
offsetWrite attribute data starting at this offset.
valueLenLength of value data.
pValuePointer to value data.
valueByRefTRUE if pValue data is accessed by reference rather than copied.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcReadByGroupTypeReq ( dmConnId_t  connId,
uint16_t  startHandle,
uint16_t  endHandle,
uint8_t  uuidLen,
uint8_t *  pUuid,
bool_t  continuing 
)

Initiate an attribute protocol Read By Group Type Request.

Parameters
connIdDM connection ID.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuidLenLength of UUID (2 or 16).
pUuidPointer to UUID data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcReadByTypeReq ( dmConnId_t  connId,
uint16_t  startHandle,
uint16_t  endHandle,
uint8_t  uuidLen,
uint8_t *  pUuid,
bool_t  continuing 
)

Initiate an attribute protocol Read By Type Request.

Parameters
connIdDM connection ID.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuidLenLength of UUID (2 or 16).
pUuidPointer to UUID data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcReadLongReq ( dmConnId_t  connId,
uint16_t  handle,
uint16_t  offset,
bool_t  continuing 
)

Initiate an attribute protocol Read Long Request.

Parameters
connIdDM connection ID.
handleAttribute handle.
offsetRead attribute data starting at this offset.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void AttcReadMultipleReq ( dmConnId_t  connId,
uint8_t  numHandles,
uint16_t *  pHandles 
)

Initiate an attribute protocol Read Multiple Request.

Parameters
connIdDM connection ID.
numHandlesNumber of handles in attribute handle list.
pHandlesList of attribute handles.
Returns
None.
void AttcReadReq ( dmConnId_t  connId,
uint16_t  handle 
)

Initiate an attribute protocol Read Request.

Parameters
connIdDM connection ID.
handleAttribute handle.
Returns
None.
void AttcSetAutoConfirm ( bool_t  enable)

Set automatic Indication Confirmations sent from this ATT Client.

Parameters
enableTRUE to enable automatic confirmations (default), FALSE to disable.
Returns
None.
void AttcSignedWriteCmd ( dmConnId_t  connId,
uint16_t  handle,
uint32_t  signCounter,
uint16_t  valueLen,
uint8_t *  pValue 
)

Initiate an attribute protocol signed Write Command.

Parameters
connIdDM connection ID.
handleAttribute handle.
signCounterValue of the sign counter.
valueLenLength of value data.
pValuePointer to value data.
Returns
None.
void AttcSignInit ( void  )

Initialize ATT client for data signing.

Returns
None.
void AttcWriteCmd ( dmConnId_t  connId,
uint16_t  handle,
uint16_t  valueLen,
uint8_t *  pValue 
)

Initiate an attribute protocol Write Command.

Parameters
connIdDM connection ID.
handleAttribute handle.
valueLenLength of value data.
pValuePointer to value data.
Returns
None.
void AttcWriteReq ( dmConnId_t  connId,
uint16_t  handle,
uint16_t  valueLen,
uint8_t *  pValue 
)

Initiate an attribute protocol Write Request.

Parameters
connIdDM connection ID.
handleAttribute handle.
valueLenLength of value data.
pValuePointer to value data.
Returns
None.
void EattcCancelReq ( dmConnId_t  connId,
uint8_t  priority 
)

Cancel an attribute protocol request in progress.

Parameters
connIdDM connection ID.
priorityOperation priority.
Returns
None.
void EattcExecuteWriteReq ( dmConnId_t  connId,
uint8_t  priority,
bool_t  writeAll 
)

Initiate an attribute protocol Execute Write Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
writeAllTRUE to write all queued writes, FALSE to cancel all queued writes.
Returns
None.
void EattcFindByTypeValueReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  startHandle,
uint16_t  endHandle,
uint16_t  uuid16,
uint16_t  valueLen,
uint8_t *  pValue,
bool_t  continuing 
)

Initiate an attribute protocol Find By Type Value Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuid1616-bit UUID to find.
valueLenLength of value data.
pValuePointer to value data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcFindInfoReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  startHandle,
uint16_t  endHandle,
bool_t  continuing 
)

Initiate an attribute protocol Find Information Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
startHandleAttribute start handle.
endHandleAttribute end handle.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcIndConfirm ( dmConnId_t  connId,
uint16_t  cid 
)

Send an attribute protocol indication confirmation.

Parameters
connIdDM connection ID.
cidL2Cap channel ID.
Returns
None.
void EattcInit ( )

Initialize the Enhanced ATT Client.

Returns
None
void EattcPrepareWriteReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  handle,
uint16_t  offset,
uint16_t  valueLen,
uint8_t *  pValue,
bool_t  valueByRef,
bool_t  continuing 
)

Initiate an attribute protocol Prepare Write Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
handleAttribute handle.
offsetWrite attribute data starting at this offset.
valueLenLength of value data.
pValuePointer to value data.
valueByRefTRUE if pValue data is accessed by reference rather than copied.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcReadByGroupTypeReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  startHandle,
uint16_t  endHandle,
uint8_t  uuidLen,
uint8_t *  pUuid,
bool_t  continuing 
)

Initiate an attribute protocol Read By Group Type Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuidLenLength of UUID (2 or 16).
pUuidPointer to UUID data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcReadByTypeReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  startHandle,
uint16_t  endHandle,
uint8_t  uuidLen,
uint8_t *  pUuid,
bool_t  continuing 
)

Initiate an attribute protocol Read By Type Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
startHandleAttribute start handle.
endHandleAttribute end handle.
uuidLenLength of UUID (2 or 16).
pUuidPointer to UUID data.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcReadLongReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  handle,
uint16_t  offset,
bool_t  continuing 
)

Initiate an attribute protocol Read Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
handleAttribute handle.
offsetRead attribute data starting at this offset.
continuingTRUE if ATTC continues sending requests until complete.
Returns
None.
void EattcReadMultipleReq ( dmConnId_t  connId,
uint8_t  priority,
uint8_t  numHandles,
uint16_t *  pHandles 
)

Initiate an attribute protocol Read Multiple Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
numHandlesNumber of handles in attribute handle list.
pHandlesList of attribute handles.
Returns
None.
void EattcReadMultVarLenReq ( dmConnId_t  connId,
uint8_t  priority,
uint8_t  numHandles,
uint16_t *  pHandles 
)

Initiate an attribute protocol Read Multiple Variable Length Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
numHandlesThe number of handles in pHandles.
pHandlesList of attribute handles to read.
Returns
None.
void EattcReadReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  handle 
)

Initiate an attribute protocol Read Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
handleAttribute handle.
Returns
None.
void EattcWriteCmd ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  handle,
uint16_t  valueLen,
uint8_t *  pValue 
)

Initiate an attribute protocol Write Command.

Parameters
connIdDM connection ID.
priorityOperation priority.
handleAttribute handle.
valueLenLength of value data.
pValuePointer to value data.
Returns
None.
void EattcWriteReq ( dmConnId_t  connId,
uint8_t  priority,
uint16_t  handle,
uint16_t  valueLen,
uint8_t *  pValue 
)

Initiate an attribute protocol Write Request.

Parameters
connIdDM connection ID.
priorityOperation priority.
handleAttribute handle.
valueLenLength of value data.
pValuePointer to value data.
Returns
None.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.