【求助】W803 ap配网失败

通过适配 TuyaOS 依赖的相关接口,让 TuyaOS 在您的芯片平台上快速的运行起来,支持Wi-Fi、蓝牙、zigbee、lte-cat1/4/m、NB-IoT、MCU等各种类型的芯片。


Post Reply
user_temp
Posts: 1

W803 在使用ap模式配网时,发现可以收app发送的udp广播包,但是数据解析时显示长度错误;
日志截图如下:

log—udp.png

收到报数据如下:00 00 55 aa 00 00 00 00 00 00 00 14 00 00 00 48 81 c0 16 5f 3c e4 82 2f 50 1f 4e 7f 01 8c 6e 30 a0 a5 d5 f4 6e 34 aa 1c a7 a4 45 c3 69 8f 3e c5 a0 fc 81 ad 82 be 29 56 96 7b 59 b2 f6 d8 90 78 e2 d0 43 a1 21 4b 51 3d ed bf 1d bb b2 f3 08 b6 35 de 58 13 00 00 aa 55

hearge
Posts: 39

Re: 【求助】W803 ap配网失败

1.AP配网注意事项。
(1).tkl_wifi_init函数注册的回调,注意回调上报只针对station模式有效,Ap状态下无需上报,否则会引起判断异常。
OPERATE_RET tkl_wifi_init(WIFI_EVENT_CB cb);
(2).tkl_wifi_station_get_status 函数同样只针对station有效。在station模式下需正确返回当前状态。
(3).tkl_wifi_ioctl(WFI_AP_GET_STALIST_CMD, list); 如cmd支持WFI_AP_GET_STALIST_CMD命令需正确返回当前状态和信息.比如stop ap时需要返回失败。

Post Reply