7#ifndef _BLE_COMMON_EVENT_H_
8#define _BLE_COMMON_EVENT_H_
17#include <zephyr/bluetooth/bluetooth.h>
18#include <zephyr/bluetooth/conn.h>
Application Event Manager header.
Application Event Manager profiler tracer header.
#define APP_EVENT_TYPE_DECLARE(ename)
Declare an event type.
Definition: app_event_manager.h:143
peer_operation
Peer operations.
Definition: ble_common_event.h:61
@ PEER_OPERATION_ERASE_ADV
Definition: ble_common_event.h:84
@ PEER_OPERATION_ERASE
Definition: ble_common_event.h:81
@ PEER_OPERATION_SELECT
Definition: ble_common_event.h:66
@ PEER_OPERATION_CANCEL
Definition: ble_common_event.h:97
@ APP_EM_ENFORCE_ENUM_SIZE
Definition: ble_common_event.h:56
@ PEER_OPERATION_SELECTED
Definition: ble_common_event.h:72
@ PEER_OPERATION_SCAN_REQUEST
Definition: ble_common_event.h:75
@ PEER_OPERATION_ERASED
Definition: ble_common_event.h:92
@ PEER_OPERATION_COUNT
Definition: ble_common_event.h:100
@ PEER_OPERATION_ERASE_ADV_CANCEL
Definition: ble_common_event.h:87
peer_state
Peer states.
Definition: ble_common_event.h:31
@ PEER_STATE_COUNT
Definition: ble_common_event.h:53
@ PEER_STATE_DISCONNECTING
Definition: ble_common_event.h:39
@ PEER_STATE_SECURED
Definition: ble_common_event.h:47
@ PEER_STATE_CONN_FAILED
Definition: ble_common_event.h:50
@ PEER_STATE_CONNECTED
Definition: ble_common_event.h:42
@ PEER_STATE_DISCONNECTED
Definition: ble_common_event.h:33
struct app_event_header header
Definition: ble_common_event.h:207
Bluetooth LE advertising data update event.
Definition: ble_common_event.h:205
uint16_t interval_max
Definition: ble_common_event.h:173
bool updated
Definition: ble_common_event.h:184
uint16_t interval_min
Definition: ble_common_event.h:170
void * id
Definition: ble_common_event.h:167
uint16_t latency
Definition: ble_common_event.h:176
uint16_t timeout
Definition: ble_common_event.h:179
struct app_event_header header
Definition: ble_common_event.h:164
Bluetooth LE connection parameters event.
Definition: ble_common_event.h:162
uint8_t reason
Definition: ble_common_event.h:123
void * id
Definition: ble_common_event.h:126
enum peer_state state
Definition: ble_common_event.h:116
struct app_event_header header
Definition: ble_common_event.h:113
Bluetooth LE peer event.
Definition: ble_common_event.h:111
uint8_t bt_stack_id
Definition: ble_common_event.h:149
enum peer_operation op
Definition: ble_common_event.h:143
struct app_event_header header
Definition: ble_common_event.h:140
uint8_t bt_app_id
Definition: ble_common_event.h:146
Bluetooth LE peer operation event.
Definition: ble_common_event.h:138
struct app_event_header header
Definition: ble_common_event.h:194
bool active
Definition: ble_common_event.h:197
Bluetooth LE peer search event.
Definition: ble_common_event.h:192