• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  * Description:  log module id define
15  * Author:
16  * Create:
17  */
18 
19 #ifndef LOG_MODULE_ID_H
20 #define LOG_MODULE_ID_H
21 
22 enum OML_LOG_MODULEID_ENUM {
23     LOG_WIFIMODULE      = 0,
24     LOG_BTMODULE        = 1,
25     LOG_GNSSMODULE      = 2,
26     LOG_DSPMODULE       = 3,
27     LOG_PFMODULE        = 4,
28     LOG_MEDIAMODULE     = 5,
29     LOG_NFCMODULE       = 6,
30     LOG_APPMODULE       = 7,
31     LOG_GPUMODULE       = 8,
32     LOG_GUIMODULE       = 9,
33     LOG_SLPMODULE       = 10,
34     LOG_BTHMODULE       = 11,
35     LOG_OHOSMODULE      = 12,
36     LOG_EXTMODULE       = 15,
37     MODULEID_BUTT       = 16
38 };
39 
40 enum OM_MSG_MODULEID {
41     OM_WIFI = 0x00,
42     OM_BT = 0x10,
43     OM_GNSS = 0x20,
44     OM_DSP = 0x30,
45     OM_PF = 0x40,
46     OM_NFC = 0x60,
47     OM_IR = 0x70,
48     OM_SLP = 0XA0,
49     OM_BTH = 0xB0,
50     OM_MODULEID_BUTT,
51 };
52 
53 #endif /* LOG_MODULE_ID_H */
54