Lines Matching refs:wifi_events
31 static EventGroupHandle_t wifi_events; variable
48 if (wifi_events) { in wifi_event_handler()
49 xEventGroupSetBits(wifi_events, DISCONNECT_EVENT); in wifi_event_handler()
70 if (wifi_events) { in ip_event_handler()
71 xEventGroupSetBits(wifi_events, GOT_IP_EVENT); in ip_event_handler()
195 if (wifi_events == NULL) { in start_wifi_as_softap()
196 wifi_events = xEventGroupCreate(); in start_wifi_as_softap()
217 if (wifi_events == NULL) { in start_wifi_as_sta()
218 wifi_events = xEventGroupCreate(); in start_wifi_as_sta()
220 xEventGroupClearBits(wifi_events, 0x00ffffff); in start_wifi_as_sta()
234 if (wifi_events) { in stop_wifi()
235 vEventGroupDelete(wifi_events); in stop_wifi()
236 wifi_events = NULL; in stop_wifi()
293 bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 7000/portTICK_RATE_MS); in wifi_connect_by_bssid()
315 bits = xEventGroupWaitBits(wifi_events, DISCONNECT_EVENT, 1, 0, 60000 / portTICK_RATE_MS); in test_wifi_connection_sta()