Last Updated on : 2024-11-20 08:51:47download
COO ver
?Description: After the SDK is run, I print the following errors:
[01-01 18:12:31 TUYA Warn][tuya_z3.c:19931] Zigbee COO ver is not get.
[01-01 18:12:31 TUYA Warn][z3_wrapper.c:108] tuya_z3_getZigbeeVer, ret: -1
Reason: The serial communication between the gateway’s MCU and the Tuya Zigbee module failed.
Troubleshoot:
tty_device
and tty_baudrate
in the code.Check whether the mobile phone and the gateway connect to the same local area network (LAN). You can ping the IP address of the mobile phone by using the gateway to verify network connectivity.
After the SDK is started, it will generate a zigbeeNetInfo.txt
file in the directory specified by the storage_path
variable, which stores Zigbee network information such as Zigbee channel and PAN ID
, as shown below:
$ cat zigbeeNetInfo.txt
Node ID:0
Pan ID:0x0044 # Zigbee PAN ID
Radio Channel:15 # Zigbee channel
Radio Power:13
Extended Pan Id: 158F733C2F2325A6
EUI64: F1F2D3FEFFD76B08
Global Key: A2 42 0D D6 50 DD 3B C3 1E CD BD 82 8A 19 E4 92
Global FC:0xFFFFFFFF
Network Key: A5 DA 43 DE 24 A3 7D 54 7A 6B 32 F1 EF 01 E3 A6
Network FC:0x00005001
Network Sequence Number:0x00
.db
file, clear the cache data, and try pairing again.tuya_user_iot_misc_dev_traversal
Reason: If the gateway keeps sending data, the cloud will stop receiving packets for 10 seconds due to the traffic control mechanism.
Two scenarios can trigger traffic control:
Troubleshoot:
Check if your device continuously sends data to the cloud.
[2021/6/16 19:50:22] ASH_FLAG TUYA check, abnormal_data_num:0.
[2021/6/16 19:50:22] ASH disconnected: EZSP_ASH_ERROR_XON_XOFF
[2021/6/16 19:50:22] NCP status: EZSP_NO_ERROR
EZSP_ASH_ERROR_XON_XOFF
, it indicates there might be a problem with the flow control of the microcontroller.LastHopLqi
measures the signal quality.
You can call tuya_user_iot_zig_ncp_ver
to get the version number.
tuya_user_iot_misc_dev_online_status
errorCode:PRODUCT_OTA_CHANNEL_CONFIG
, go to the Hardware Development step on the Tuya Developer Platform and change the Firmware Type to Module Firmware and Update Channel to 0.You can log in to the Tuya Developer Platform and submit a service ticket to seek further help. Make sure to include the following information to help us quickly identify issues.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback