TI BLE5-Stack API Documentation  2.02.07.00
Enumerations
GAP Parameters

Enumerations

enum  Gap_configParamIds_t { GAP_CONFIG_PARAM_IRK, GAP_CONFIG_PARAM_SRK }
 
enum  Gap_ParamIDs_t {
  GAP_PARAM_LINK_UPDATE_DECISION, GAP_PARAM_CONN_PARAM_TIMEOUT, GAP_PARAM_PRIVATE_ADDR_INT, GAP_PARAM_SM_TIMEOUT,
  GAP_PARAM_SM_MIN_KEY_LEN, GAP_PARAM_SM_MAX_KEY_LEN
}
 

Detailed Description

GAP layer parameters

Enumeration Type Documentation

§ Gap_configParamIds_t

GAP Configuration Parameters

These can be set with GapConfig_SetParameter

Enumerator
GAP_CONFIG_PARAM_IRK 

Can be used by the application to set the IRK.

It is not necessary to set this parameter. If it is not set, a random IRK will be generated unless there is a valid IRK in NV.

Warning
This must be set before calling GAP_DeviceInit

The priority is:

  1. Set manually with GapConfig_SetParameter before GAP_DeviceInit
  2. Previously stored in NV by the gapbondmgr
  3. Set randomly during GAP_DeviceInit

size: 16 bytes

Note
The IRK can be read with GAP_GetIRK
GAP_CONFIG_PARAM_SRK 

Can be used by the application to set the SRK.

It is not necessary to set this parameter. If it is not set, a random SRK will be generated unless there is a valid SRK in NV.

Warning
This must be set before calling GAP_DeviceInit

The priority is:

  1. Set manually with GapConfig_SetParameter before GAP_DeviceInit
  2. Previously stored in NV by the gapbondmgr
  3. Set randomly during GAP_DeviceInit

size: 16 bytes

Note
The SRK can be read with GAP_GetSRK

§ Gap_ParamIDs_t

GAP Parameter IDs

Parameters set via GAP_SetParamValue

Enumerator
GAP_PARAM_LINK_UPDATE_DECISION 

Action to take upon receiving a parameter update request.

default: GAP_UPDATE_REQ_PASS_TO_APP

range: Gap_updateDecision_t

GAP_PARAM_CONN_PARAM_TIMEOUT 

Connection Parameter timeout.

Minimum time after an L2CAP Connection Parameter Update Response has been received that a L2CAP Connection Parameter Update Request can be sent.

See section Version 5.0 Vol 3, Part C, Section 9.3.9.2 of the BT Core Spec

default: 30000

range: 1-65535

GAP_PARAM_PRIVATE_ADDR_INT 

Minimum Time Interval between private (resolvable) address changes (minutes)

Note
No event is received when the address changes as per the Core Spec.

default: 15

range: 1-65535

GAP_PARAM_SM_TIMEOUT 

Time to wait for security manager response before returning bleTimeout (ms)

default: 30000

range: 1-65535

GAP_PARAM_SM_MIN_KEY_LEN 

SM Minimum Key Length supported

default: 7

range: 1-65535

GAP_PARAM_SM_MAX_KEY_LEN 

SM Maximum Key Length supported

default: 16

range: 1-65535

© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale