Skip to content

File Events.h

FileList > arduino > src > Events.h

Go to the source code of this file.

  • #include <Arduino.h>
  • #include <WiFiEvents.h>
  • #include <functional>

Classes

Type Name
struct EventHandler_s
struct arduino_event_t

Public Types

Type Name
typedef void(* EventCb
typedef std::function< void(EventId event, EventInfo info)> EventFuncCb
typedef struct EventHandler_s EventHandler
typedef void(* EventSysCb
enum arduino_event_id_t
union arduino_event_info_t

Macros

Type Name
define EventId arduino_event_id_t
define EventId_t arduino_event_id_t
define EventInfo arduino_event_info_t
define EventInfo_t arduino_event_info_t
define Event_t arduino_event_t

Public Types Documentation

typedef EventCb

typedef void(* EventCb) (EventId event);

typedef EventFuncCb

typedef std::function<void(EventId event, EventInfo info)> EventFuncCb;

typedef EventHandler

typedef struct EventHandler_s EventHandler;

typedef EventSysCb

typedef void(* EventSysCb) (Event_t *event);

enum arduino_event_id_t

enum arduino_event_id_t {
    ARDUINO_EVENT_WIFI_READY = 0,
    ARDUINO_EVENT_WIFI_SCAN_DONE,
    ARDUINO_EVENT_WIFI_STA_START,
    ARDUINO_EVENT_WIFI_STA_STOP,
    ARDUINO_EVENT_WIFI_STA_CONNECTED,
    ARDUINO_EVENT_WIFI_STA_DISCONNECTED,
    ARDUINO_EVENT_WIFI_STA_AUTHMODE_CHANGE,
    ARDUINO_EVENT_WIFI_STA_GOT_IP,
    ARDUINO_EVENT_WIFI_STA_GOT_IP6,
    ARDUINO_EVENT_WIFI_STA_LOST_IP,
    ARDUINO_EVENT_WIFI_AP_START,
    ARDUINO_EVENT_WIFI_AP_STOP,
    ARDUINO_EVENT_WIFI_AP_STACONNECTED,
    ARDUINO_EVENT_WIFI_AP_STADISCONNECTED,
    ARDUINO_EVENT_WIFI_AP_STAIPASSIGNED,
    ARDUINO_EVENT_WIFI_AP_PROBEREQRECVED,
    ARDUINO_EVENT_WIFI_AP_GOT_IP6,
    ARDUINO_EVENT_WIFI_FTM_REPORT,
    ARDUINO_EVENT_ETH_START,
    ARDUINO_EVENT_ETH_STOP,
    ARDUINO_EVENT_ETH_CONNECTED,
    ARDUINO_EVENT_ETH_DISCONNECTED,
    ARDUINO_EVENT_ETH_GOT_IP,
    ARDUINO_EVENT_ETH_GOT_IP6,
    ARDUINO_EVENT_WPS_ER_SUCCESS,
    ARDUINO_EVENT_WPS_ER_FAILED,
    ARDUINO_EVENT_WPS_ER_TIMEOUT,
    ARDUINO_EVENT_WPS_ER_PIN,
    ARDUINO_EVENT_WPS_ER_PBC_OVERLAP,
    ARDUINO_EVENT_SC_SCAN_DONE,
    ARDUINO_EVENT_SC_FOUND_CHANNEL,
    ARDUINO_EVENT_SC_GOT_SSID_PSWD,
    ARDUINO_EVENT_SC_SEND_ACK_DONE,
    ARDUINO_EVENT_PROV_INIT,
    ARDUINO_EVENT_PROV_DEINIT,
    ARDUINO_EVENT_PROV_START,
    ARDUINO_EVENT_PROV_END,
    ARDUINO_EVENT_PROV_CRED_RECV,
    ARDUINO_EVENT_PROV_CRED_FAIL,
    ARDUINO_EVENT_PROV_CRED_SUCCESS,
    ARDUINO_EVENT_MAX
};

union arduino_event_info_t


Macro Definition Documentation

define EventId

#define EventId arduino_event_id_t

define EventId_t

#define EventId_t arduino_event_id_t

define EventInfo

#define EventInfo arduino_event_info_t

define EventInfo_t

#define EventInfo_t arduino_event_info_t

define Event_t

#define Event_t arduino_event_t

The documentation for this class was generated from the following file cores/common/arduino/src/Events.h