设备配网时已经连上路由器,拿到IP了,但是配网失败
工单内容如下https://service.console.tuya.com/8/3/detail?id=T202506300076&source=support_center
设备配网时已经连上路由器,拿到IP了,但是配网失败
-
- Posts: 4
设备配网时已经连上路由器,拿到IP了,但是配网失败
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
你好,如果提了工单,会有人在工单下答复,请关注下工单
-
- Posts: 4
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
设备日志如附件,
- Attachments
-
-
-
- tuya_netcfg_3.txt
- (432.46 KiB) Downloaded 12 times
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
tkl_wifi_get_ip的出参ip->type没有设置
-
- Posts: 4
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
typedef struct
{
char ip[16]; /* ip addr: xxx.xxx.xxx.xxx /
char mask[16]; / net mask: xxx.xxx.xxx.xxx /
char gw[16]; / gateway: xxx.xxx.xxx.xxx */
}NW_IP_S;
没用type参数呀
- Attachments
-
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
看这个定义
typedef struct {
#define nwipstr addr.ip4.ip
#define nwmaskstr addr.ip4.mask
#define nwgwstr addr.ip4.gw
union {
NW_IP4_S ip4;
NW_IP6_S ip6;
} addr;
IP_ADDR_TYPE type;
} NW_IP_S;
-
- Posts: 4
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
我们用的TuyaOS-3.6.2
没找到你说的那个定义呢
Re: 设备配网时已经连上路由器,拿到IP了,但是配网失败
请提供从启动到出问题的完整日志