1# Copyright (C) 2023-2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13# Description: hisysevent 14# Author: wangxueshuang 15# Create: 2023-01-30 16 17domain: CAST_ENGINE 18 19CAST_ENGINE_ERR: 20 __BASE: {type: FAULT, level: CRITICAL, desc: projection error events} 21 SEQUENTIAL_ID: {type: STRING, desc: used to associate projection events} 22 CAST_SESSION_ID: {type: INT32, desc: projection session ID} 23 ERROR_CODE: {type: INT32, desc: error code} 24 SUB_ERR_CODE: {type: INT32, desc: sub error code} 25 EXT_ERR_INFO: {type: INT32, desc: extended error information} 26 ERR_MSG: {type: STRING, desc: error information sent from the sink during stream projection} 27 WIFI_INFO: {type: STRING, desc: wifi information when a projection error occurs} 28 BIZ_PACKAGE_NAME: {type: STRING, desc: package name} 29 REMOTE_BIZ_TRUNCATED_UDID: {type: STRING, desc: remote truncated UDID} 30 31NO_DEVICE_FOUND: 32 __BASE: {type: STATISTIC, level: MINOR, desc: statistics on undiscovered devices} 33 BT_SWITCH: {type: INT32, desc: bluetooth switch status} 34 WIFI_INFO: {type: STRING, desc: wifi information when the device is not discovered} 35 SCAN_TIME: {type: INT32, desc: scan time} 36 37CAST_ENGINE_EVE: 38 __BASE: {type: STATISTIC, level: MINOR, desc: projection event} 39 SEQUENTIAL_ID: {type: STRING, desc: used to associate projection events} 40 CAST_SESSION_ID: {type: INT32, desc: projection session ID} 41 ERROR_CODE: {type: INT32, desc: error code} 42 SUB_ERR_CODE: {type: INT32, desc: sub error code} 43 EXT_ERR_INFO: {type: INT32, desc: extended error information} 44 ERR_MSG: {type: STRING, desc: error information sent from the sink during stream projection} 45 LOCAL_DEVICE_INFO: {type: STRING, desc: local device information record} 46 REMOTE_DEVICE_INFO: {type: STRING, desc: remote device information record} 47 CONNECT_INFO: {type: STRING, desc: connect information record} 48 CAST_STREAM_INFO: {type: STRING, desc: stream information record} 49 50WIFI_INFO: 51 __BASE: {type: STATISTIC, level: MINOR, desc: wifi information} 52 FREQ: {type: INT32, desc: frequency band of the current wifi connection} 53 RSSI: {type: INT32, desc: signal strength of the current connection} 54 LINKSPEED: {type: INT32, desc: TX rate of the current connection} 55 RXLINKSPEED: {type: INT32, desc: RX rate of the current connection} 56 SNR: {type: INT32, desc: SNR of the current connection} 57 CHLOAD: {type: INT32, desc: channel loading of the current connected} 58 FREQ_P2P: {type: INT32, desc: frequency band of the current P2P wifi connection} 59 RSSI_P2P: {type: INT32, desc: signal strength of the current P2P connection} 60 LINKSPEED_P2P: {type: INT32, desc: TX rate of the current P2P connection} 61 RXLINKSPEED_P2P: {type: INT32, desc: RX rate of the current P2P connection} 62 SNR_P2P: {type: INT32, desc: SNR of the current P2P connection} 63 CHLOAD_P2P: {type: INT32, desc: channel loading of the current P2P connected} 64