EasyManuals Logo
Home>Texas Instruments>Microcontrollers>CC2540DK-MINI

Texas Instruments CC2540DK-MINI Software Developers Guide

Texas Instruments CC2540DK-MINI
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 #137 background imageLoading...
Page #137 background image
137
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPBondMgr API
Appendix F
SWRU271HOctober 2010Revised April 2019
GAPBondMgr API
F.1 Overview
This section details the API of the GAPBondMgr in gapbondmgr.c.
NOTE: Many commands do not need to be called from the application because they are called by
the GAPRole or the Bluetooth Low Energy Stack.
F.2 Commands
bStatus_t GAPBondMgr_SetParameter(uint16 param, void *pValue)
Set a GAP Bond Manager parameter.
Parameters param Profile parameter ID (see Section F.3)
len length of data to write
pValue pointer to value to set parameter. This depends on the parameter ID and is
cast to the appropriate data type
Returns SUCCESS: parameter was set
INVALIDPARAMETER: param was not valid
bleInvalidRange: len is not valid for the given param
bStatus_t GAPBondMgr_GetParameter(uint16 param, void *pValue)
Get a GAP Bond Manager parameter.
Parameters param Profile parameter ID (see Section F.3
pValue pointer to a location to get the value. This pointer depends on the param ID
and is cast to the appropriate data type.
Returns SUCCESS: param was successfully placed in pValue
INVALIDPARAMETER: param was not valid
bStatus_t GAPBondMgr_LinkEst(uint8 addrType, uint8 *pDevAddr, uint16 connHandle, uint8
role)
Notify the Bond Manager that a connection has been made.
Parameters addrType address type of the peer device:
peerAddr peer device address
connHandle connection handle
role master or slave role
Returns SUCCESS: GAPBondMgr was notified of link establishment

Table of Contents

Other manuals for Texas Instruments CC2540DK-MINI

Questions and Answers:

Question and Answer IconNeed help?

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

Texas Instruments CC2540DK-MINI Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540DK-MINI
CategoryMicrocontrollers
LanguageEnglish

Related product manuals