communication_wifi/wifi/hisysevent.yaml
lijianhua38 63f06bd414 Wifi-应用遍历测试-settings出现CPP_CRASH,HDI支持上下行查询
Signed-off-by: lijianhua38 <lijianhua38@huawei.com>
2023-05-09 14:57:12 +08:00

51 lines
2.0 KiB
YAML

# 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: COMMUNICATION
# Start or stop Wi-Fi switch
WIFI_STATE:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi enable or disable event}
TYPE: {type: STRING, desc: Service type}
OPER_TYPE: {type: INT32, desc: 0 is enable and 1 is disable}
# Connect or disconnect Wi-Fi
WIFI_CONNECTION:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi connection event}
TYPE: {type: INT32, desc: 0 is connect and 1 is disconnect}
PACKAGE_NAME: {type: STRING, desc: Package name}
# Scans Wi-Fi hotspots
WIFI_SCAN:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi scan event}
EXECUTE_RESULT: {type: INT32, desc: 0 is scan fail and 1 is scan success}
PACKAGE_NAME: {type: STRING, desc: Package name}
# Wi-Fi event received
WIFI_EVENT_RECEIVED:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi event}
EVENT_TYPE: {type: STRING, desc: Event type}
VALUE: {type: INT32, desc: Event value}
# Wi-Fi band event received
WIFI_BAND:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi band}
BAND: {type: INT32, desc: band info} # 1->2.4G, 2->5G, default 0 Auto
# Wi-Fi signal event received
WIFI_SIGNAL:
__BASE: {type: STATISTIC, level: MINOR, tag: PowerStats, desc: Wifi signal event}
DIRECTION: {type: INT32, desc: wifi signal data in or data out} # 0->UP,1->DOWN,2->UPDOWN,3->NONE
TXPACKETS: {type: INT32, desc: wifi signal tx packets}
RXPACKETS: {type: INT32, desc: wifi signal rx packets}