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

How does the IPC 6.x.x version SDK determine if a device needs network configuration? When can the QR code recognition feature be enabled?

Last Updated on2025-09-01 02:57:01
Through the status callback ipc_sdk_run_var.net_info.ipc_status_change_cb, specifically through the TUYA_IPC_STATUS_NETCFG_START status, the device needs to be aware of the network configuration.
Extension:
TUYA_IPC_STATUS_NETCFG_STOP: Used to notify the upper layer that the network configuration information has been obtained and the network configuration task can be closed.
TUYA_IPC_STATUS_REGISTER_FAILED: Used to notify the upper layer of activation failure.
TUYA_IPC_STATUS_ONLINE: Used to notify the upper layer of MQTT going online.
TUYA_IPC_STATUS_ONLINE: Used to notify the upper layer of MQTT going offline.

Click for services and help

Help Center