EasyManuals Logo

Texas Instruments CC2541EMK Software Developers Guide

Texas Instruments CC2541EMK
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
Commands
www.ti.com
136
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GATTServApp API
gattAttribute_t *GATTServApp_FindAttr( gattAttribute_t *pAttrTbl, uint16 numAttrs, uint8
*pValue )
Find the attribute record within a service attribute table for a given attribute value
pointer.
Parameters pAttrTbl pointer to attribute table
numAttrs number of attributes in attribute table
pValue pointer to attribute value
Returns Pointer to attribute record if found.
NULL, if not found.
bStatus_t GATTServApp_ProcessCCCWriteReq( uint16 connHandle, gattAttribute_t *pAttr, uint8
*pValue, uint8 len, uint16 offset, uint16 validCfg )
Process the client characteristic configuration write request for a given client.
Parameters 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
Returns 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

Table of Contents

Other manuals for Texas Instruments CC2541EMK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2541EMK and is the answer not in the manual?

Texas Instruments CC2541EMK Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2541EMK
CategoryMicrocontrollers
LanguageEnglish

Related product manuals