EasyManuals Logo
Home>Texas Instruments>Microcontrollers>CC253x

Texas Instruments CC253x Software Developers Guide

Texas Instruments CC253x
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 #112 background imageLoading...
Page #112 background image
112
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPRole Peripheral Role API
Appendix B
SWRU271HOctober 2010Revised April 2019
GAPRole Peripheral Role API
B.1 Commands
bStatus_t GAPRole_SetParameter(uint16 param, uint8 len, void *pValue)
Set a GAP Role parameter.
Parameters param Profile parameter ID (see Section B.2)
len length of data to write
pValue pointer to value to set parameter. This pointer depends on the parameter ID
and will be cast to the appropriate data type.
Returns SUCCESS
INVALIDPARAMETER: param was not valid.
bleInvalidRange: len is not valid for the given param.
blePending: previous param update has not been completed
bleIncorrectMode: cannot start connectable advertising because nonconnectable
advertising is enabled
bStatus_t GAPRole_GetParameter(uint16 param, void *pValue)
Set a GAP Role parameter.
Parameters param Profile parameter ID (Section B.2)
pValue pointer to location to get parameter. This is dependent on the parameter ID
and will be cast to the appropriate data type.
Returns SUCCESS
INVALIDPARAMETER: param was not valid
bStatus_t GAPRole_StartDevice(gapRolesCBs_t *pAppCallbacks)
Initializes the device as a peripheral and configures the application callback
function.
Parameters pAppCallbacks pointer to application callbacks (Section B.3)
Returns SUCCESS
bleAlreadyInRequestedMode: device was already initialized
bStatus_t GAPRole_TerminateConnection(void)
Terminates an existing connection.
Returns SUCCESS: connection termination process has started.
bleIncorrectMode: there is no active connection.
LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE: disconnect is in progress.

Table of Contents

Other manuals for Texas Instruments CC253x

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments CC253x Specifications

General IconGeneral
BrandTexas Instruments
ModelCC253x
CategoryMicrocontrollers
LanguageEnglish

Related product manuals