![]() |
MT7697 API Reference
LinkIt SDK v4
|
| enum wifi_auth_mode_t |
This enumeration defines the wireless authentication mode to indicate the Wi-Fi device’s authentication attribute.
| enum wifi_bandwidth_ext_t |
| enum wifi_encrypt_type_t |
This enumeration defines the wireless encryption type to indicate the Wi-Fi device’s encryption attribute.
| enum wifi_event_t |
This enumeration defines the supported events generated by the Wi-Fi driver.
The event will be sent to the upper layer handler registered in wifi_connection_register_event_handler().
| Enumerator | |
|---|---|
| WIFI_EVENT_IOT_CONNECTED |
Connected event. |
| WIFI_EVENT_IOT_SCAN_COMPLETE |
Scan completed event. |
| WIFI_EVENT_IOT_DISCONNECTED |
Disconnected event. |
| WIFI_EVENT_IOT_PORT_SECURE |
Secure event, mainly processed in Wi-Fi driver. It can be used at the DHCP start. |
| WIFI_EVENT_IOT_REPORT_BEACON_PROBE_RESPONSE |
Sends notification, if beacon or probe request is received. |
| WIFI_EVENT_IOT_WPS_COMPLETE |
Credential event, sends notification when WPS process is complete. |
| WIFI_EVENT_IOT_INIT_COMPLETE |
Initialization complete event. |
| WIFI_EVENT_IOT_REPORT_FILTERED_FRAME |
Report the expected packet frame. |
| WIFI_EVENT_IOT_CONNECTION_FAILED |
Connection has failed. For the reason code, please refer to wifi_reason_code_t. |
| enum wifi_phy_mode_t |
This enumeration defines the wireless physical mode.
This enumeration defines three power saving modes.
| enum wifi_reason_code_t |
This enumeration defines the reason code of the WIFI_EVENT_IOT_CONNECTION_FAILED event in wifi_event_t.
When receives WIFI_EVENT_IOT_CONNECTION_FAILED handler, the payload format for the WIFI_EVENT_IOT_CONNECTION_FAILED handler is port(1 byte) and reason code(2 bytes). Find the details for the reason code below.
| enum wifi_rx_filter_t |
This enumeration defines the RX filter register's bitmap.
Each bit indicates a specific drop frame.
This enumeration defines wireless security cipher suits.
| enum wps_config_method_t |
This enumeration lists the configuration methods supported by the Enrollee or Registrar.
For more information, please refer to Table 33, "Configuration Methods" in chapter 12, "Data Element Definitions" of the Wi-Fi Simple Configuration Technical Specification V2.0.5.
| Enumerator | |
|---|---|
| WIFI_WPS_CONFIG_USBA |
|
| WIFI_WPS_CONFIG_ETHERNET |
|
| WIFI_WPS_CONFIG_LABEL |
8-digit static PIN. |
| WIFI_WPS_CONFIG_DISPLAY |
A dynamic PIN from a display. |
| WIFI_WPS_CONFIG_EXTERNAL_NFC_TOKEN |
The NFC tag is used for WPS. |
| WIFI_WPS_CONFIG_INTEGRATED_NFC_TOKEN |
The NFC tag is integrated in the device. |
| WIFI_WPS_CONFIG_NFC_INTERFACE |
The device contains an NFC interface. |
| WIFI_WPS_CONFIG_PUSHBUTTON |
WPS PBC supports either a physical or a virtual pushbutton. |
| WIFI_WPS_CONFIG_KEYPAD |
Device is capable of entering a PIN. |
| WIFI_WPS_CONFIG_VIRTUAL_PUSHBUTTON |
WPS PBC supports software user interface. |
| WIFI_WPS_CONFIG_PHY_PUSHBUTTON |
WPS PBC available on a physical push button of the device. |
| WIFI_WPS_CONFIG_VIRTUAL_DISPLAY |
The dynamic PIN is displayed through a remote user interface, such as an HTML page. |
| WIFI_WPS_CONFIG_PHY_DISPLAY |
The dynamic PIN is shown on a display that is part of the device. |
This enumeration of device password ID is used for WPS.
This enumeration is only applicable when the boolean variable selected_registrar inside wifi_wps_element_t is true. For more information, please refer to Table 37, "Device Password ID" in chapter 12, "Data Element Definitions" of the Wi-Fi Simple Configuration Technical Specification V2.0.5.