![]() |
MT7687 API Reference
LinkIt SDK v4
|
MediaTek Smart Connection interfaces. More...
Go to the source code of this file.
Typedefs | |
| typedef void(* | wifi_smart_connection_callback_t) (wifi_smart_connection_event_t event, void *data) |
| This callback function should be registered through the wifi_smart_connection_init(), and will be called when a Smart Connection event is received. More... | |
Enumerations | |
| enum | wifi_smart_connection_event_t { WIFI_SMART_CONNECTION_EVENT_CHANNEL_LOCKED, WIFI_SMART_CONNECTION_EVENT_INFO_COLLECTED, WIFI_SMART_CONNECTION_EVENT_TIMEOUT } |
| Smart Connection event. More... | |
| enum | wifi_smart_connection_status_t { WIFI_SMART_CONNECTION_ERROR = -1, WIFI_SMART_CONNECTION_OK = 0 } |
| Return values for the Smart Connection API. More... | |
Functions | |
| wifi_smart_connection_status_t | wifi_smart_connection_init (const uint8_t *key, const uint8_t key_length, wifi_smart_connection_callback_t callback) |
| This function registers a callback function to establish the Smart Connection. More... | |
| void | wifi_smart_connection_deinit (void) |
| This function de-initializes the Smart Connection and releases the resources. More... | |
| wifi_smart_connection_status_t | wifi_smart_connection_start (uint16_t timeout_seconds) |
| This function starts the Smart Connection. More... | |
| wifi_smart_connection_status_t | wifi_smart_connection_get_result (uint8_t *ssid, uint8_t *ssid_length, uint8_t *password, uint8_t *password_length, uint8_t *tlv_data, uint8_t *tlv_data_length) |
| This function gets the Smart Connection result. More... | |
| wifi_smart_connection_status_t | wifi_smart_connection_stop (void) |
| This function is called to inform smart connection task of exiting flag and then the task will automatically release the resources. More... | |
MediaTek Smart Connection interfaces.