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 pair.
Extension:
TUYA_IPC_STATUS_NETCFG_STOP: Used to notify the upper layer that the pair information has been obtained and the pair 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.