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

How to unbind a device with no internet connection?

Last Updated on2024-05-08 03:24:21
A device that becomes unbound when the internet is disconnected cannot be bound again.Do not calltuya_iot_gw_resetwhen the internet is disconnected. Make sure to check the network status before calling this API. Otherwise, the device is only unbound locally but remains in a bound state in the cloud. In this case, the device cannot be bound by scanning a QR code, but can only be discovered over LAN. Alternatively, you can unbind the device using the app and then bind it again.
The recommended logic:
The interface for real-time active acquisition of network disconnection judgment:
* @brief Get MQTT broker connection status
*
* @return TRUE on connected, FALSE on disconnected
*/
BOOL_T get_mqc_conn_stat(VOID);

Click for services and help

Help Center