Macros | Typedefs | Variables
Typedefs
BLE » BLE Event

## Macros
#define | BLE_EVT_INIT(ble_evt, evt, status)

## Typedefs
typedef void(* | ble_evt_handler_t) (const ble_evt_t *p_evt)
| The BLE event handler type. More...

## Variables
ble_evt_handler_t | g_ble_evt_handler

## Detailed Description

## Macro Definition Documentation

## ◆ BLE_EVT_INIT

#define BLE_EVT_INIT | ( |  | ble_evt,
|  |  | evt,
|  |  | status
| ) |  |

Value:
ble_evt_t ble_evt; \
do \
{ \
memset(&ble_evt, 0xff, sizeof(ble_evt_t)); \
ble_evt.evt_id = evt; \
ble_evt.evt_status = status; \
} while(0);

Definition at line 232 of file ble_event.h.

## Typedef Documentation

## ◆ ble_evt_handler_t

typedef void(* ble_evt_handler_t) (const ble_evt_t *p_evt)

The BLE event handler type.

Definition at line 228 of file ble_event.h.

## Variable Documentation

## ◆ g_ble_evt_handler

ble_evt_handler_t g_ble_evt_handler
| extern

ble_evt_t
BLE Event Information.
Definition: ble_event.h:207