Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ТА ЖЕ БАЛАНДА ВЫШЕ
- typedef struct {
- uint8_t mac[6]; /**< MAC address of the station connected to ESP8266 soft-AP */
- uint8_t aid; /**< the aid that ESP8266 soft-AP gives to the station connected to */
- } system_event_ap_staconnected_t;
- typedef struct {
- uint8_t mac[6]; /**< MAC address of the station disconnects to ESP8266 soft-AP */
- uint8_t aid; /**< the aid that ESP8266 soft-AP gave to the station disconnects to */
- } system_event_ap_stadisconnected_t;
- typedef struct {
- int rssi; /**< Received probe request signal strength */
- uint8_t mac[6]; /**< MAC address of the station which send probe request */
- } system_event_ap_probe_req_rx_t;
- typedef union {
- system_event_sta_connected_t connected; /**< ESP8266 station connected to AP */
- system_event_sta_disconnected_t disconnected; /**< ESP8266 station disconnected to AP */
- system_event_sta_scan_done_t scan_done; /**< ESP8266 station scan (APs) done */
- system_event_sta_authmode_change_t auth_change; /**< the auth mode of AP ESP8266 station connected to changed */
- system_event_sta_got_ip_t got_ip; /**< ESP8266 station got IP, first time got IP or when IP is changed */
- system_event_sta_wps_er_pin_t sta_er_pin; /**< ESP8266 station WPS enrollee mode PIN code received */
- system_event_sta_wps_fail_reason_t sta_er_fail_reason;/**< ESP8266 station WPS enrollee mode failed reason code received */
- system_event_ap_staconnected_t sta_connected; /**< a station connected to ESP8266 soft-AP */
- system_event_ap_stadisconnected_t sta_disconnected; /**< a station disconnected to ESP8266 soft-AP */
- system_event_ap_probe_req_rx_t ap_probereqrecved; /**< ESP8266 soft-AP receive probe request packet */
- system_event_got_ip6_t got_ip6; /**< ESP8266 station or ap or ethernet ipv6 addr state change to preferred */
- } system_event_info_t;
- typedef struct {
- system_event_id_t event_id; /**< event ID */
- system_event_info_t event_info; /**< event information */
- } system_event_t;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement