12 Star 6 Fork 93

OpenHarmony / usb_usb_manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
hisysevent.yaml 2.19 KB
一键复制 编辑 原始数据 按行查看 历史
yuzhiqiang_10 提交于 2024-04-08 08:55 . dfx modify
# Copyright (c) 2022 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
domain: USB
PLUG_IN_OUT_HOST_MODE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDevicePlugInHostMode}
DEVICE_NAME: {type: STRING, desc: device name}
DEVICE_PROTOCOL: {type: INT32, desc: device protocol}
DEVICE_CLASS: {type: INT32, desc: device class}
VENDOR_ID: {type: INT32, desc: vendor id}
PRODUCT_ID: {type: INT32, desc: product id}
VERSION: {type: STRING, desc: device version}
EVENT_NAME: {type: STRING, desc: event name}
PLUG_IN_OUT_DEVICE_MODE:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDevicePlugInDeviceMode}
CURRENT_FUNCTIONS: {type: INT32, desc: current functios}
CONNECTED: {type: BOOL, desc: event name}
FUNCTION_CHANGED:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbDeviceFunctionChanged}
CURRENT_FUNCTION: {type: INT32, desc: current function}
UPDATE_FUNCTION: {type: INT32, desc: update function}
PORT_ROLE_CHANGED:
__BASE: {type: BEHAVIOR, level: MINOR, tag: UsbManager, desc: UsbPortRoleChanged}
CURRENT_POWERROLE: {type: INT32, desc: current powerrole}
UPDATE_POWERROLE: {type: INT32, desc: update powerrole}
CURRENT_DATAROLE: {type: INT32, desc: current datarole}
UPDATE_DATAROLE: {type: INT32, desc: update datarole}
USB_MANAGE_TRANSFOR_FAULT:
__BASE: {type: FAULT, level: CRITICAL, tag: UsbManager, desc: Usb Transfor interface happen fault}
INTFACE_NAME: {type: STRING, desc: interface name}
BUS_NUM: {type: INT32, desc: bus num}
DEV_ADDR: {type: INT32, desc: dev addr}
INFT_ID: {type: INT32, desc: interface id}
ENDPOINTT_ID: {type: INT32, desc: endpoint id}
FAIL_REASON: {type: INT32, desc: fail reason}
1
https://gitee.com/openharmony/usb_usb_manager.git
git@gitee.com:openharmony/usb_usb_manager.git
openharmony
usb_usb_manager
usb_usb_manager
master

搜索帮助