BLE-Stack APIs  3.00.00
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Variables
Micro GAP Callbacks

Data Structures

struct  ugBcastCBs_t
 Set of Broadcaster callbacks - must be setup by the application. More...
 

Typedefs

typedef void(* ugbAdvDoneCb_t )(bStatus_t status)
 Callback of when an Advertising Event has just been done. More...
 
typedef void(* ugbAdvPrepareCb_t )(void)
 Callback of when the next Adverting Event is about to start. More...
 
typedef void(* ugbStateChangeCb_t )(ugBcastState_t state)
 Callback of when the Broadcaster's state changes. More...
 

Variables

 PACKED_TYPEDEF_STRUCT
 Message payload for the event UGB_EVT_STATE_CHANGE. More...
 
 ugbMsgAdvPostprocess_t
 
 ugbMsgStateChange_t
 

Detailed Description

Typedef Documentation

typedef void(* ugbAdvDoneCb_t)(bStatus_t status)

Callback of when an Advertising Event has just been done.

Parameters
statusstatus of advertising done event
typedef void(* ugbAdvPrepareCb_t)(void)

Callback of when the next Adverting Event is about to start.

The application can use this to update the payload if necessary

typedef void(* ugbStateChangeCb_t)(ugBcastState_t state)

Callback of when the Broadcaster's state changes.

Parameters
stateuGAP Broadcaster States

Variable Documentation

PACKED_TYPEDEF_STRUCT
Initial value:
{
uint8 ugBcastState_t
Broadcaster state.
Definition: ugap.h:99

Message payload for the event UGB_EVT_STATE_CHANGE.

Message payload for the event UGB_EVT_ADV_POSTPROCESS.

Copyright 2016, Texas Instruments Incorporated