English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

Could you briefly describe the AP configuration process for version 6.X.X of the SDK?

Last Updated on2025-09-01 02:56:56
1. The SDK first calls tkl_wifi_set_work_mode to set the Wi-Fi working mode to station (it will be set to ap mode later)
2. After obtaining the Wi-Fi information, it starts connecting to Wi-Fi. It will print "__wifi_net_conn." The SDK calls tkl_wifi_set_work_mode to set the Wi-Fi working mode to station. It also calls tkl_wifi_ioctl to connect to Wi-Fi. If this interface is not supported, it will call tkl_wifi_station_connect to connect to Wi-Fi
3. tkl_wifi informs the SDK of the Wi-Fi connection status
4. The SDK calls tkl_wifi_station_get_status to get the Wi-Fi status. Only when the callback status is WFE_CONNECTED and the status of tkl_wifi_station_get_status is WSS_GOT_IP, the Wi-Fi connection is considered successful, and it prints: link[2][1] is_up[1] active_link[2][1] status[0]

Click for services and help

Help Center