Control to Factory Reset the Device
Flutter Example:
/// Event number for factory resetting the device
factoryReset(
evtBase: _VBusEvtBase.base_app_set,
evtType: _VBusEvtType.app_restore_fazctory),
/// Factory reset the device
libManager.send(evt: CmdEvtType.factoryReset, json: jsonEncode(json));
JSON Field Received by the App:
Field Name | Field Type | Field Description |
---|---|---|
is_success | int | 1: Success 0: Failed |
Example:
{
"is_success": 0
}