ESPHome  2022.9.2
Public Member Functions | Data Fields
esphome::esp32_ble_tracker::BLEEvent Class Reference

#include <queue.h>

Public Member Functions

 BLEEvent (esp_gap_ble_cb_event_t e, esp_ble_gap_cb_param_t *p)
 
 BLEEvent (esp_gattc_cb_event_t e, esp_gatt_if_t i, esp_ble_gattc_cb_param_t *p)
 

Data Fields

union {
   struct gap_event {
      esp_gap_ble_cb_event_t   gap_event
 
      esp_ble_gap_cb_param_t   gap_param
 
   }   gap
 
   struct gattc_event {
      esp_gattc_cb_event_t   gattc_event
 
      esp_gatt_if_t   gattc_if
 
      esp_ble_gattc_cb_param_t   gattc_param
 
      uint8_t   data [64]
 
   }   gattc
 
event_
 
uint8_t type_
 

Detailed Description

Definition at line 60 of file queue.h.

Constructor & Destructor Documentation

◆ BLEEvent() [1/2]

esphome::esp32_ble_tracker::BLEEvent::BLEEvent ( esp_gap_ble_cb_event_t  e,
esp_ble_gap_cb_param_t *  p 
)
inline

Definition at line 62 of file queue.h.

◆ BLEEvent() [2/2]

esphome::esp32_ble_tracker::BLEEvent::BLEEvent ( esp_gattc_cb_event_t  e,
esp_gatt_if_t  i,
esp_ble_gattc_cb_param_t *  p 
)
inline

Definition at line 68 of file queue.h.

Field Documentation

◆ data

uint8_t esphome::esp32_ble_tracker::BLEEvent::data[64]

Definition at line 99 of file queue.h.

◆ event_

union { ... } esphome::esp32_ble_tracker::BLEEvent::event_

◆ gap

struct { ... } ::gap_event esphome::esp32_ble_tracker::BLEEvent::gap

◆ gap_event

esp_gap_ble_cb_event_t esphome::esp32_ble_tracker::BLEEvent::gap_event

Definition at line 91 of file queue.h.

◆ gap_param

esp_ble_gap_cb_param_t esphome::esp32_ble_tracker::BLEEvent::gap_param

Definition at line 92 of file queue.h.

◆ gattc

struct { ... } ::gattc_event esphome::esp32_ble_tracker::BLEEvent::gattc

◆ gattc_event

esp_gattc_cb_event_t esphome::esp32_ble_tracker::BLEEvent::gattc_event

Definition at line 96 of file queue.h.

◆ gattc_if

esp_gatt_if_t esphome::esp32_ble_tracker::BLEEvent::gattc_if

Definition at line 97 of file queue.h.

◆ gattc_param

esp_ble_gattc_cb_param_t esphome::esp32_ble_tracker::BLEEvent::gattc_param

Definition at line 98 of file queue.h.

◆ type_

uint8_t esphome::esp32_ble_tracker::BLEEvent::type_

Definition at line 102 of file queue.h.


The documentation for this class was generated from the following file: