Coverage for d7a/system_files/system_file_ids.py: 100%
50 statements
« prev ^ index » next coverage.py v7.5.0, created at 2024-05-24 08:03 +0200
« prev ^ index » next coverage.py v7.5.0, created at 2024-05-24 08:03 +0200
1#
2# Copyright (c) 2015-2021 University of Antwerp, Aloxy NV.
3#
4# This file is part of pyd7a.
5# See https://github.com/Sub-IoT/pyd7a for further info.
6#
7# Licensed under the Apache License, Version 2.0 (the "License");
8# you may not use this file except in compliance with the License.
9# You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS,
15# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16# See the License for the specific language governing permissions and
17# limitations under the License.
18#
19from enum import Enum
22class SystemFileIds(Enum):
23 UID = 0x00
24 FACTORY_SETTINGS = 0x01
25 FIRMWARE_VERSION = 0x02
26 DEVICE_CAPACITY = 0x03
27 DEVICE_STATUS = 0x04
28 ENGINEERING_MODE = 0x05
29 VID = 0x06
30 RFU_07 = 0x07
31 PHY_CONFIG = 0x08
32 PHY_STATUS = 0x09
33 DLL_CONFIG = 0x0A
34 DLL_STATUS = 0x0B
35 NWL_ROUTING = 0x0C
36 NWL_SECURITY = 0x0D
37 NWL_SECURITY_KEY = 0x0E
38 NWL_SSR = 0x0F
39 NWL_STATUS = 0x10
40 TRL_STATUS = 0x11
41 SEL_CONFIG = 0x12
42 FOF_STATUS = 0x13
43 RFU_14 = 0x14
44 RFU_15 = 0x15
45 RFU_16 = 0x16
46 LOCATION_DATA = 0x17
47 ALP_ROOT_AUTHENTICATION_KEY = 0x18
48 ALP_USER_AUTHENTICATION_KEY = 0x19
49 D7AALP_RFU_1A = 0x1A
50 D7AALP_RFU_1B = 0x1B
51 D7AALP_RFU_1C = 0x1C
52 D7AALP_RFU_1D = 0x1D
53 D7AALP_RFU_1E = 0x1E
54 D7AALP_RFU_1F = 0x1F
55 ACCESS_PROFILE_0 = 0x20
56 ACCESS_PROFILE_1 = 0x21
57 ACCESS_PROFILE_2 = 0x22
58 ACCESS_PROFILE_3 = 0x23
59 ACCESS_PROFILE_4 = 0x24
60 ACCESS_PROFILE_5 = 0x25
61 ACCESS_PROFILE_6 = 0x26
62 ACCESS_PROFILE_7 = 0x27
63 ACCESS_PROFILE_8 = 0x28
64 ACCESS_PROFILE_9 = 0x29
65 ACCESS_PROFILE_10 = 0x2A
66 ACCESS_PROFILE_11 = 0x2B
67 ACCESS_PROFILE_12 = 0x2C
68 ACCESS_PROFILE_13 = 0x2D
69 ACCESS_PROFILE_14 = 0x2E
70 RFU_2F = 0x2F