TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Data Structures | Typedefs
Peripheral GAPRole Callbacks

Data Structures

struct  gapRolesCBs_t
 Multi GAPRole Callback structure. More...
 

Typedefs

typedef void(* gapRolesParamUpdateCB_t) (uint16_t connInterval, uint16_t connSlaveLatency, uint16_t connTimeout)
 Callback when the connection parameters are updated. More...
 
typedef void(* gapRolesStateNotify_t) (gaprole_States_t newState)
 State Change Callback Type. More...
 

Detailed Description

These are functions whose pointers are passed from the application to the GAPRole so that the GAPRole can send events to the application.

Typedef Documentation

§ gapRolesParamUpdateCB_t

typedef void(* gapRolesParamUpdateCB_t) (uint16_t connInterval, uint16_t connSlaveLatency, uint16_t connTimeout)

Callback when the connection parameters are updated.

Parameters
connIntervalnew connection interval
connSlaveLatencynew slave latency
connTimeoutnew supervision timeout

§ gapRolesStateNotify_t

typedef void(* gapRolesStateNotify_t) (gaprole_States_t newState)

State Change Callback Type.

Callback to notify the application of a GAPRole state change

Parameters
newStatenew GAPRole state
Copyright 2017, Texas Instruments Incorporated