soc not have cid BK7231N开发板开发的时候一直报这个是啥意思?有啥影响?我该怎么消除它?

Wi-Fi 设备、Wi-Fi 低功耗设备、Wi-Fi BLE 双模设备、Ethernet设备、Ethernet+Wi-Fi设备等
Post Reply
jafatek
Posts: 23

soc not have cid BK7231N开发板开发的时候一直报这个是啥意思?有啥影响?我该怎么消除它?

[21:12:51.005] [01-01 08:00:06 ty I][lr:0xc1ea1] ble_hs_timer reset:0
[21:12:51.006] [01-01 08:00:06 ty N][lr:0xa4909] ble_sdk_send skip, no connect:4
[21:12:51.171] [01-01 08:00:07 ty E][lr:0xb25f9] data update ret:0
[21:12:51.186] [01-01 08:00:07 ty N][lr:0x8c3ff] wifi netstat changed to:7 -->>
[21:12:51.186] [01-01 08:00:07 ty N][lr:0x8c411] report wifi netstat[7] to callback -->>
[21:12:51.195] [01-01 08:00:07 ty I][lr:0xc1f9d] ble_hs_timer_exp:
[21:12:51.195] [01-01 08:00:07 ty E][lr:0xa557d] tuya_ble_save_beacon_key err -1
[21:12:51.804] [01-01 08:00:07 ty E][lr:0x950c3] dparr[4] type not match:1 4
[21:12:51.806] [01-01 08:00:07 ty E][dp_process.c:150] dev_report_dp_json_async relay_config data error,err_num
[21:12:54.292] [01-01 08:00:10 ty E][lr:0xbc87b] uf_open netcfg_log err 8
[21:12:59.451] [07-19 21:12:59 ty N][lr:0x9e711] timeout,delete uf local log
[21:13:01.708] [07-19 21:13:01 ty E][tuya_svc_upgrade.c:868] result null
[21:20:40.932] [07-19 21:20:40 ty E][lr:0x90f97] verify hmac randB ERROR
[21:20:40.936] [07-19 21:20:40 ty E][lr:0x91729] allow no seesion key 3
[21:20:40.946] [07-19 21:20:40 ty E][lr:0x91505] net recv err fd:4,errno:-4
[21:20:44.224] [07-19 21:20:43 ty E][lr:0x907a3] undefined lan protocol: name:subdev_online_stat_query
[21:20:46.684] 19
[21:20:46.686] [07-19 21:20:46 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:20:46.783] get rssi: -44
[21:20:46.791] get rssi: -44
[21:20:46.805] get rssi: -44
[21:20:46.812] get rssi: -44
[21:20:46.822] get rssi: -44
[21:20:51.684] 19
[21:20:51.686] [07-19 21:20:51 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:20:56.705] 19
[21:20:56.706] [07-19 21:20:56 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:21:01.713] 19
[21:21:01.716] [07-19 21:21:01 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:21:06.733] 19
[21:21:06.740] [07-19 21:21:06 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:21:11.755] 19
[21:21:11.756] [07-19 21:21:11 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:21:16.775] 19
[21:21:16.776] [07-19 21:21:16 ty E][tuya_app_main.c:118] soc not have cid.6ccf8ae0d9de7f7c18iida
[21:21:55.371] [07-19 21:21:54 ty E][lr:0x91505] net recv err fd:4,errno:-23
[21:22:38.814] [07-19 21:22:38 ty N][lr:0x7bcc5] cur timeq num: 10
[21:22:38.826] [07-19 21:22:38 ty N][lr:0x7bcfb] cur workq highpri num: 0
[21:22:38.836] [07-19 21:22:38 ty N][lr:0x7bd1b] cur workq system num: 0
[21:22:38.836] [07-19 21:22:38 ty N][lr:0x7bd5f] cur free heap: 76772
[21:22:38.846] [07-19 21:22:38 ty N][lr:0x7bd75] cur runtime: 595s

User avatar
chenyisong
Posts: 96

Re: soc not have cid BK7231N开发板开发的时候一直报这个是啥意思?有啥影响?我该怎么消除它?

可以看一下TuyaOS文档中心中对cid的介绍https://developer.tuya.com/cn/docs/iot-device-dev/TuyaOS-iot_abi_dp_ctrl?id=Kcoglhn5r7ajr#title-13-%E6%8E%A5%E6%94%B6%20DP%20%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%BD%93

Code: Select all

cid:
单品类设备
cid 始终是 NULL。
网关类设备
cid 是 NULL 时,则表示该 DP 指令是控制网关的。
cid 有值时,cid 的内容是子设备的 ID,即该 DP 指令是发送给这个子设备的。

因为BK7231N开发板运行的是联网单品开发框架,所有cid应该是NULL,所以报错了。

你这边是否用了不对的 PID,我使用tuyaos_demo_quickstart中的 PID,没有报错的。

Post Reply