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
}