EasyManua.ls Logo

Texas Instruments CC2540

Texas Instruments CC2540
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
Loading...
117
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPRole Central Role API
Appendix C
SWRU271HOctober 2010Revised April 2019
GAPRole Central Role API
C.1 Commands
bStatus_t GAPCentralRole_StartDevice(gapCentralRoleCB_t *pAppCallbacks)
Start the device in Central role. This function is typically called once during
system startup.
Parameters pAppCallbacks pointer to application callbacks
Returns SUCCESS
bleAlreadyInRequestedMode: Device already started.
bStatus_t GAPCentralRole_SetParameter(uint16 param, uint8 len, void *pValue)
Set a GAP Role parameter.
Parameters param Profile parameter ID (see Section C.2)
len length of data to write
pValue pointer to value to set parameter. This is dependent on the parameter ID and is
cast to the appropriate data type.
Returns SUCCESS
INVALIDPARAMETER: param was not valid
bleInvalidRange: len is invalid for the given param
bStatus_t GAPCentralRole_GetParameter (uint16 param, void *pValue)
Set a GAP Role parameter.
Parameters param Profile parameter ID (see Section C.2)
pValue pointer to buffer to contain the read data
Returns SUCCESS
INVALIDPARAMETER: param was not valid

Table of Contents

Other manuals for Texas Instruments CC2540

Related product manuals