• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2023 Huawei Device Co., Ltd.
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  */
15 
16 #ifndef GSM_PDU_HEX_VALUE_H
17 #define GSM_PDU_HEX_VALUE_H
18 
19 #include <cstdint>
20 
21 namespace OHOS {
22 namespace Telephony {
23 namespace {
24 static constexpr uint8_t HEX_VALUE_01 = 0x01;
25 static constexpr uint8_t HEX_VALUE_02 = 0x02;
26 static constexpr uint8_t HEX_VALUE_03 = 0x03;
27 static constexpr uint8_t HEX_VALUE_04 = 0x04;
28 static constexpr uint8_t HEX_VALUE_05 = 0x05;
29 static constexpr uint8_t HEX_VALUE_06 = 0x06;
30 static constexpr uint8_t HEX_VALUE_07 = 0x07;
31 static constexpr uint8_t HEX_VALUE_08 = 0x08;
32 static constexpr uint8_t HEX_VALUE_09 = 0x09;
33 static constexpr uint8_t HEX_VALUE_10 = 0x10;
34 
35 static constexpr uint8_t HEX_VALUE_0A = 0x0A;
36 static constexpr uint8_t HEX_VALUE_0B = 0x0B;
37 static constexpr uint8_t HEX_VALUE_0C = 0x0C;
38 static constexpr uint8_t HEX_VALUE_0D = 0x0D;
39 static constexpr uint8_t HEX_VALUE_0E = 0x0E;
40 static constexpr uint8_t HEX_VALUE_0F = 0x0F;
41 static constexpr uint8_t HEX_VALUE_11 = 0x11;
42 static constexpr uint8_t HEX_VALUE_13 = 0x13;
43 static constexpr uint8_t HEX_VALUE_18 = 0x18;
44 static constexpr uint8_t HEX_VALUE_20 = 0x20;
45 
46 static constexpr uint8_t HEX_VALUE_3F = 0x3F;
47 static constexpr uint8_t HEX_VALUE_40 = 0x40;
48 static constexpr uint8_t HEX_VALUE_45 = 0x45;
49 static constexpr uint8_t HEX_VALUE_4E = 0x4E;
50 static constexpr uint8_t HEX_VALUE_70 = 0x70;
51 static constexpr uint8_t HEX_VALUE_7F = 0x7F;
52 static constexpr uint8_t HEX_VALUE_80 = 0x80;
53 static constexpr uint8_t HEX_VALUE_84 = 0x84;
54 static constexpr uint8_t HEX_VALUE_C0 = 0xC0;
55 static constexpr uint8_t HEX_VALUE_D0 = 0xD0;
56 static constexpr uint8_t HEX_VALUE_F0 = 0xF0;
57 static constexpr uint8_t HEX_VALUE_FE = 0xFE;
58 static constexpr uint16_t HEX_VALUE_00FF = 0x00FF;
59 static constexpr uint16_t HEX_VALUE_03FF = 0x03FF;
60 static constexpr uint16_t HEX_VALUE_FFF8 = 0xFFF8;
61 
62 } // namespace
63 } // namespace Telephony
64 } // namespace OHOS
65 #endif