1. Device initiates by calling: tuya_iot_wf_gw_unactive or tuya_iot_wf_gw_reset interface to notify the cloud to reset.
2. Then it will enter the ty_sdk_app_reset_cb callback.
3. Generally, delete tuya_user.db and tuya_user.db_bak in the callback.
4. Restart the device, and the device enters the network configuration state.