TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Data Structures | Typedefs
Micro GAP Monitor Callbacks

Data Structures

struct  ugapMonitorCBs_t
 Set of Observer callbacks - must be setup by the application. More...
 

Typedefs

typedef void(* ugapMonitorCompleteCb_t) (bStatus_t status, uint8_t sessionId)
 Callback of when a scan monitoring has just been done. More...
 
typedef void(* ugapMonitorIndicationCb_t) (bStatus_t status, uint8_t sessionId, uint8_t len, uint8_t *pPayload)
 Callback of when a packet is received. More...
 
typedef void(* ugapMonitorStateChangeCb_t) (ugapMonitorState_t state)
 Callback of when the Monitor's state changes. More...
 

Detailed Description

Typedef Documentation

§ ugapMonitorCompleteCb_t

typedef void(* ugapMonitorCompleteCb_t) (bStatus_t status, uint8_t sessionId)

Callback of when a scan monitoring has just been done.

Parameters
statusstatus of a scan
sessionIdsession ID

§ ugapMonitorIndicationCb_t

typedef void(* ugapMonitorIndicationCb_t) (bStatus_t status, uint8_t sessionId, uint8_t len, uint8_t *pPayload)

Callback of when a packet is received.

Parameters
statusstatus of a monitoring scan
sessionIdsession ID
lenlength of the payload
pPayloadpointer to payload

§ ugapMonitorStateChangeCb_t

typedef void(* ugapMonitorStateChangeCb_t) (ugapMonitorState_t state)

Callback of when the Monitor's state changes.

Parameters
stateMicro GAP Monitor Structures
Copyright 2017, Texas Instruments Incorporated