Module wifi

Module wifi 

Expand description

WiFi module.

Generally it looks like Quectel is just wrapping wpa_supplicant and hostapd with their own API here. I would like to just use the native wpa_supplicant and hostapd APIs, but we also need to load a kernel module for the WiFi and I haven’t found out which one it is.

§Differences between EVA and EVD

  • Only the EVD variant supports scanning for access points.
  • The EVA variant doesn’t support WPA2-PSK authentication in station mode.

Modules§

ap
Access point management.
sta
Station mode management.
types 🔒

Structs§

ApIndex
ApStaInfo
Auth
Bandwidth
Mode
StationScanInfo
Access point scan information.
StationStatus
Status
WorkMode

Enums§

Event
WiFi event.

Functions§

disable
Disables the WiFi module.
enable
Enables the WiFi module.
get_status
Returns the current WiFi status.
set_event_handler
Sets the global handler for WiFi events.
set_event_handler_inner 🔒
set_work_mode
Sets the WiFi work mode.

Type Aliases§

BoxedEventHandlerFn 🔒