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
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""