获取设备的日志状态

功能表:getDeviceLogState

Flutter示例:

/// 获取设备的日志状态事件号
getDeviceLogState(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.app_get_devices_log_state),

/// 获取设备的日志状态
libManager.send(evt: CmdEvtType.getDeviceLogState, json: jsonEncode(json));

App收到的json字段

字段名 字段类型 字段说明
type int 0:没有对应的日志产生
1:固件重启log(100- 200)
2:固件异常(0-100)
err_code int 固件重启log错误码 0正常

示例:

{
  "err_code":4,
  "type":1
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修订时间: 2026-04-07 16:03:39

results matching ""

    No results matching ""