TI BLE5-Stack API Documentation  1.01.01.00
Data Structures | Typedefs
GAP Callbacks

Data Structures

struct  gapBondMgrCBs_t
 Callback Registration Structure. More...
 

Typedefs

typedef void(* pfnGapCB_t) (uint32_t event, void *pBuf, uintptr_t arg)
 
typedef uint8_t(* pfnGapDevPrivModeCB_t) (GAP_Peer_Addr_Types_t addrType, uint8_t *pAddr)
 GAP Device Privacy Mode Callback Function.
 
typedef void(* pfnGapIdleCB_t) ()
 GAP Idle Callback Function.
 
typedef uint8_t(* pfnSuppCentAddrRes_t) (uint8_t *deviceAddr, GAP_Peer_Addr_Types_t addrType)
 Central Address Resolution (CAR) Support Callback Function.
 

Detailed Description

Typedef Documentation

§ pfnGapCB_t

typedef void(* pfnGapCB_t) (uint32_t event, void *pBuf, uintptr_t arg)

GAP Callback function pointer type for the advertising and scan modules.

This callback will return GapAdv Event IDs from the advertising module, some of which can be masked with GapAdv_eventMaskFlags_t. See the respective event in GapAdv Event IDs for the type that pBuf should be cast to.

This callback will also return GapAdv Event IDs from the advertising module. See the respective event in GapAdv Event IDs for the type that pBuf should be cast to.

Copyright 2018, Texas Instruments Incorporated