TI BLE5-Stack API Documentation  1.01.12.00
Macros
GAP Event IDs

Macros

#define GAP_ADV_REMOVE_SET_EVENT   0x13
 Sent when an advertising set needs to be removed. This is an internal event.
 
#define GAP_AUTHENTICATION_COMPLETE_EVENT   0x0A
 
#define GAP_AUTHENTICATION_FAILURE_EVT   0x10
 
#define GAP_BOND_COMPLETE_EVENT   0x0E
 
#define GAP_CONNECTING_CANCELLED_EVENT   0x15
 
#define GAP_DEVICE_INIT_DONE_EVENT   0x00
 
#define GAP_LINK_ESTABLISHED_EVENT   0x05
 
#define GAP_LINK_PARAM_UPDATE_EVENT   0x07
 
#define GAP_LINK_TERMINATED_EVENT   0x06
 
#define GAP_PAIRING_REQ_EVENT   0x0F
 
#define GAP_PASSKEY_NEEDED_EVENT   0x0B
 
#define GAP_SCAN_SESSION_END_EVENT   0x12
 Sent when an advertising report session ends. This is an internal event.
 
#define GAP_SIGNATURE_UPDATED_EVENT   0x09
 
#define GAP_SLAVE_REQUESTED_SECURITY_EVENT   0x0C
 
#define GAP_UPDATE_LINK_PARAM_REQ_EVENT   0x11
 

Detailed Description

These events are received as GAP_MSG_EVENT

Macro Definition Documentation

§ GAP_AUTHENTICATION_COMPLETE_EVENT

#define GAP_AUTHENTICATION_COMPLETE_EVENT   0x0A

Sent when the pairing process is complete as gapAuthCompleteEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_AUTHENTICATION_FAILURE_EVT

#define GAP_AUTHENTICATION_FAILURE_EVT   0x10

Sent when pairing fails due a connection termination before the process completed. This event does not have any payload.

This event will be consumed by the gapbondmgr if it is present.

§ GAP_BOND_COMPLETE_EVENT

#define GAP_BOND_COMPLETE_EVENT   0x0E

Sent when the bonding process is complete as gapBondCompleteEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_CONNECTING_CANCELLED_EVENT

#define GAP_CONNECTING_CANCELLED_EVENT   0x15

Sent as gapConnCancelledEvent_t when an a connecting attempt is canceled

§ GAP_DEVICE_INIT_DONE_EVENT

#define GAP_DEVICE_INIT_DONE_EVENT   0x00

Sent after a call to GAP_DeviceInit when the Device Initialization is complete as gapDeviceInitDoneEvent_t.

§ GAP_LINK_ESTABLISHED_EVENT

#define GAP_LINK_ESTABLISHED_EVENT   0x05

Sent after a link has been established as gapEstLinkReqEvent_t.

§ GAP_LINK_PARAM_UPDATE_EVENT

#define GAP_LINK_PARAM_UPDATE_EVENT   0x07

Sent after the completion of a parameter update gapLinkUpdateEvent_t.

This same event is received for both the LL and L2CAP procedures.

§ GAP_LINK_TERMINATED_EVENT

#define GAP_LINK_TERMINATED_EVENT   0x06

Sent when a connection was terminated as gapTerminateLinkEvent_t.

§ GAP_PAIRING_REQ_EVENT

#define GAP_PAIRING_REQ_EVENT   0x0F

Sent when an unexpected Pairing Request is received as gapPairingReqEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_PASSKEY_NEEDED_EVENT

#define GAP_PASSKEY_NEEDED_EVENT   0x0B

Sent when a passkey is needed during pairing as gapPasskeyNeededEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_SIGNATURE_UPDATED_EVENT

#define GAP_SIGNATURE_UPDATED_EVENT   0x09

Sent when the peer device's signature counter is updated as gapSignUpdateEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_SLAVE_REQUESTED_SECURITY_EVENT

#define GAP_SLAVE_REQUESTED_SECURITY_EVENT   0x0C

Sent when a Slave Security Request is received as gapSlaveSecurityReqEvent_t.

This event will be consumed by the gapbondmgr if it is present

§ GAP_UPDATE_LINK_PARAM_REQ_EVENT

#define GAP_UPDATE_LINK_PARAM_REQ_EVENT   0x11

Sent when a parameter update request is received. This event is only received when GAP_PARAM_LINK_UPDATE_DECISION is set to GAP_UPDATE_REQ_PASS_TO_APP. This event is sent as gapUpdateLinkParamReqEvent_t.

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