SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
connHandle – connection handle (0xFFFF for all connections).
charCfgTbl – client characteristic configuration table where this characteristic is
charCfgTbl – profile characteristic configuration table
pValue – pointer to attribute value.
authenticated – whether an authenticated link is required
attrTbl – whether attribute table.
numAttrs – number of attributes in attribute table.
tasked – task to be notified of confirmation.
pfnReadAttrCB – read callback function pointer.
SUCCESS: parameter was set
INVALIDPARAMETER: one of the parameters was a null pointer
ATT_ERR_INSUFFICIENT_AUTHOR: permissions require authorization
bleTimeout: ATT timeout occurred
blePending: another ATT request is pending
LINKDB_ERR_INSUFFICIENT_AUTHEN: authentication is required but link is not authenticated
bleMemAllocError: memory allocation failure occurred when allocating buffer
pAttrTbl – pointer to attribute table
numAttrs – number of attributes in attribute table
pValue – pointer to attribute value
Pointer to attribute record if found.
NULL, if not found.
connHandle– connection message was received on.
pAttr – pointer to attribute value.
pValue– pointer to data to be written
len – length of data
offset– offset of the first octet to be written
validCfg– valid configuration
SUCCESS: CCC was written correctly
ATT_ERR_INVALID_VALUE: not a valid value for a CCC
ATT_ERR_INVALID_VALUE_SIZE: not a valid size for a CCC
ATT_ERR_ATTR_NOT_LONG: offset needs to be 0
ATT_ERR_INSUFFICIENT_RESOURCES: CCC not found