Set Delete File

Flutter Example:

/// Delete log event number
setClearOperation(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_clear_operations),

/// Delete log
libManager.send(evt: CmdEvtType.setClearOperation, json: jsonEncode(json));

JSON fields sent by the App:

Field Name Field Type Field Description
type int 1: Overheating log
2: Battery log

Example:

{
  "type": 1
}

JSON fields received by the App:

Field Name Field Type Field Description
state int 0: Success
1: Fail

Example:

{
  "state": 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 ""