IPC Module - WiFi Service
This page contains documentation of the WiFi API.
Messages
Enums
- enum wifi_station_result
WiFi station result codes.
Constant
Value
Description
OK
0
OK
ERROR_INVALID_PARAMETER
1
Invalid parameter
WRONG_STATE
2
Wrong state
ERROR_UNKNOWN
3
Error unknown
NOT_REQUESTED
4
Not requested
TOO_MANY_NETWORKS
5
Too many networks
- enum wifi_station_encryption_method
WiFi station encryption methods.
Constant
Value
Description
WPA2
0
WPA2
UNKNOWN
1
Unknown
- enum wifi_station_notification_type
WiFi station notification types.
Constant
Value
Description
SINGLE
0
Single entry notification type - if received with an otherwise empty message it means no results
FIRST
1
First: one or more FOLLOW_UP or a LAST should follow
FOLLOW_UP
2
Follow up to a FIRST
LAST
3
Last entry, if empty (outside of a counter) it means unexpected termination of the list.
- enum wifi_station_failure_type
WiFi station failure types.
Constant
Value
Description
WRONG_KEY
0
Wrong key
- enum wifi_station_state
WiFi station states.
Constant
Value
Description
DISABLED
0
Disabled
ENABLED
1
Enabled
- enum wifi_station_band
WiFi station band preference or selection
Constant
Value
Description
FREE
0
Choose any available band, freely. Matches legacy behaviour
PREFER_2_4GHZ
1
Prefer 2.4GHz, but allow 5GHz
PREFER_5GHZ
2
Prefer 5GHz, but allow 2.4GHz
ONLY_2_4GHZ
3
Only 2.4GHz
ONLY_5GHZ
4
Only 5GHz
- enum wifi_regulatory_domain_result
WiFi regulatory domain result codes.
Constant
Value
Description
OK
0
INVALID_COUNTRY_CODE
1
ERROR_UNKNOWN
2
- enum wifi_ap_result
WiFi AP result codes.
Constant
Value
Description
OK
0
INCORRECT_INPUT
1
ERROR_UNKNOWN
2
- enum wifi_ap_band
WiFi AP band selection.
Constant
Value
Description
2_4GHZ
0
5GHZ
1