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

When adapting the SDK of IPC version 6.x.x for AP network configuration, an error occurs: [01-01 00:00:02 ty E][ap_netcfg.c:321] bind socket fail:-16, port:6668 [01-01 00:00:02 ty E][ap_netcfg.c:769] create server socket err

Last Updated on2025-07-03 09:03:46
The SDK obtains the IP address in AP mode through tkl_wifi_get_ip(WF_AP, NW_IP_S *ip), but the IP address returned by this API is invalid, causing the bind to fail. Confirm whether the AP name and IP segment are configured strictly according to the cfg provided by tkl_wifi_start_ap.

Click for services and help

Help Center