connect_roaming.h 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #pragma once
  2. #ifndef CONNECT_ROAMING_H
  3. #define CONNECT_ROAMING_H
  4. #include "sdkconfig.h"
  5. #include <string>
  6. #include <esp_system.h>
  7. #include <esp_wifi.h>
  8. #include <esp_wnm.h>
  9. #include <esp_rrm.h>
  10. #include <esp_mbo.h>
  11. #include <esp_mac.h>
  12. #include <esp_netif.h>
  13. #include <esp_err.h>
  14. #include <esp_log.h>
  15. #include <freertos/FreeRTOS.h>
  16. #include <freertos/task.h>
  17. #include <freertos/queue.h>
  18. #include <freertos/event_groups.h>
  19. #include "defines.h"
  20. #include "Helper.h"
  21. std::string get_auth_mode_name(const wifi_auth_mode_t auth_mode);
  22. #if (defined WLAN_USE_MESH_ROAMING)
  23. extern void esp_bss_rssi_low_handler(void *arg, esp_event_base_t event_base, int32_t event_id, void *event_data);
  24. #endif
  25. #if (defined WLAN_USE_MESH_ROAMING && defined WLAN_USE_MESH_ROAMING_ACTIVATE_CLIENT_TRIGGERED_QUERIES)
  26. void wifi_roaming_query(void);
  27. #endif
  28. #ifdef WLAN_USE_ROAMING_BY_SCANNING
  29. void wifi_roaming_by_scanning(void);
  30. #endif
  31. #endif // CONNECT_ROAMING_H