CANConfigPython 0.1.0a1__py3-none-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. canconfigpython/__init__.py +7 -0
  2. canconfigpython/__main__.py +3 -0
  3. canconfigpython/cli.py +111 -0
  4. canconfigpython/client.py +243 -0
  5. canconfigpython/commands.py +57 -0
  6. canconfigpython/errors.py +19 -0
  7. canconfigpython/resources/docs/native-source.tar.gz +0 -0
  8. canconfigpython/resources/docs/user-guide.en.md +274 -0
  9. canconfigpython/resources/docs/user-guide.zh-CN.md +265 -0
  10. canconfigpython/resources/skill/canconfig-python/SKILL.md +71 -0
  11. canconfigpython/resources/skill/canconfig-python/agents/openai.yaml +4 -0
  12. canconfigpython/resources/skill/canconfig-python/assets/changes.schema.json +832 -0
  13. canconfigpython/resources/skill/canconfig-python/assets/examples/bridge_dual_rates.json +18 -0
  14. canconfigpython/resources/skill/canconfig-python/assets/examples/bridge_mapping.json +13 -0
  15. canconfigpython/resources/skill/canconfig-python/assets/examples/cancom_115200_8n1.json +10 -0
  16. canconfigpython/resources/skill/canconfig-python/assets/examples/cancom_format_crc.json +8 -0
  17. canconfigpython/resources/skill/canconfig-python/assets/examples/cancom_gap.json +8 -0
  18. canconfigpython/resources/skill/canconfig-python/assets/examples/cancom_transparent_id.json +10 -0
  19. canconfigpython/resources/skill/canconfig-python/assets/examples/fb_1m.json +12 -0
  20. canconfigpython/resources/skill/canconfig-python/assets/examples/fb_500k.json +12 -0
  21. canconfigpython/resources/skill/canconfig-python/assets/examples/fb_adaptive_single.json +7 -0
  22. canconfigpython/resources/skill/canconfig-python/assets/examples/fb_return_manual.json +22 -0
  23. canconfigpython/resources/skill/canconfig-python/assets/examples/fb_silent_adaptive_option.json +7 -0
  24. canconfigpython/resources/skill/canconfig-python/assets/examples/filter_blacklist.json +7 -0
  25. canconfigpython/resources/skill/canconfig-python/assets/examples/filter_mask.json +12 -0
  26. canconfigpython/resources/skill/canconfig-python/assets/examples/filter_range.json +12 -0
  27. canconfigpython/resources/skill/canconfig-python/assets/examples/hub_h_external.json +13 -0
  28. canconfigpython/resources/skill/canconfig-python/assets/examples/hub_input_filter.json +13 -0
  29. canconfigpython/resources/skill/canconfig-python/assets/examples/hub_l_external.json +13 -0
  30. canconfigpython/resources/skill/canconfig-python/assets/examples/hub_mapping.json +46 -0
  31. canconfigpython/resources/skill/canconfig-python/assets/examples/hub_routing.json +8 -0
  32. canconfigpython/resources/skill/canconfig-python/assets/examples/index.en.md +55 -0
  33. canconfigpython/resources/skill/canconfig-python/assets/examples/index.json +661 -0
  34. canconfigpython/resources/skill/canconfig-python/assets/examples/index.zh-CN.md +55 -0
  35. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/adaptive_mixed.json +8 -0
  36. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/hub_missing_ps.json +12 -0
  37. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/restricted_inheritance.json +12 -0
  38. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/short_user_data.json +7 -0
  39. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/string_numeric_id.json +7 -0
  40. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/unknown_field.json +7 -0
  41. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/unsupported_adaptive.json +7 -0
  42. canconfigpython/resources/skill/canconfig-python/assets/examples/negative/wrong_uid.json +7 -0
  43. canconfigpython/resources/skill/canconfig-python/assets/examples/rpt_adaptive_all.json +12 -0
  44. canconfigpython/resources/skill/canconfig-python/assets/examples/rpt_silent.json +7 -0
  45. canconfigpython/resources/skill/canconfig-python/assets/examples/user_data.json +7 -0
  46. canconfigpython/resources/skill/canconfig-python/references/operations.md +68 -0
  47. canconfigpython/resources.py +17 -0
  48. canconfigpython/runtime/Qt5Core.dll +0 -0
  49. canconfigpython/runtime/Qt5Network.dll +0 -0
  50. canconfigpython/runtime/Qt5SerialPort.dll +0 -0
  51. canconfigpython/runtime/WIICAN.dll +0 -0
  52. canconfigpython/runtime/canconfigconsole.exe +0 -0
  53. canconfigpython/runtime/libgcc_s_dw2-1.dll +0 -0
  54. canconfigpython/runtime/libstdc++-6.dll +0 -0
  55. canconfigpython/runtime/libwinpthread-1.dll +0 -0
  56. canconfigpython/runtime/manifest.json +19 -0
  57. canconfigpython/runtime.py +61 -0
  58. canconfigpython-0.1.0a1.dist-info/GPL-3.0.txt +674 -0
  59. canconfigpython-0.1.0a1.dist-info/LICENSE +21 -0
  60. canconfigpython-0.1.0a1.dist-info/METADATA +197 -0
  61. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-LICENSE.txt +866 -0
  62. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.FDL.txt +450 -0
  63. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.GPL2.txt +339 -0
  64. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.GPL3-EXCEPT.txt +704 -0
  65. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.GPL3.txt +674 -0
  66. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.GPLv3.txt +686 -0
  67. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.LGPL3.txt +165 -0
  68. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.LGPLv21.txt +514 -0
  69. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.LGPLv3.txt +175 -0
  70. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-LICENSE.PREVIEW.COMMERCIAL.txt +626 -0
  71. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__LICENSE.txt +32 -0
  72. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__libANGLE__renderer__d3d__d3d11__dxgi_support_data.json.txt +1164 -0
  73. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__libANGLE__renderer__d3d__d3d11__load_functions_data.json.txt +1116 -0
  74. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__libANGLE__renderer__d3d__d3d11__swizzle_format_data.json.txt +77 -0
  75. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__libANGLE__renderer__d3d__d3d11__texture_format_data.json.txt +692 -0
  76. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__third_party__compiler__LICENSE.txt +22 -0
  77. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__angle__src__third_party__murmurhash__LICENSE.txt +2 -0
  78. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__double-conversion__LICENSE.txt +26 -0
  79. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__easing__easing.cpp.txt +670 -0
  80. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__easing__legal.qdoc.txt +35 -0
  81. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__forkfd__forkfd.c.txt +875 -0
  82. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__forkfd__forkfd.h.txt +66 -0
  83. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__forkfd__forkfd_gcc.h.txt +63 -0
  84. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freebsd__0001-Patch-the-FreeBSD-strto-u-ll-functions-to-work-insid.patch.txt +151 -0
  85. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freebsd__strtoll.c.txt +134 -0
  86. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freebsd__strtoull.c.txt +112 -0
  87. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freetype__docs__LICENSE.TXT.txt +37 -0
  88. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freetype__src__tools__no-copyright.txt +61 -0
  89. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freetype__src__tools__update-copyright-year.txt +135 -0
  90. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__freetype__src__tools__update-copyright.txt +14 -0
  91. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__harfbuzz-ng__COPYING.txt +36 -0
  92. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__harfbuzz__COPYING.txt +24 -0
  93. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__libpng__LICENSE.txt +112 -0
  94. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__md4__md4.cpp.txt +265 -0
  95. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__md4__md4.h.txt +31 -0
  96. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__md5__md5.cpp.txt +247 -0
  97. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__md5__md5.h.txt +48 -0
  98. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__pcre__COPYING.txt +5 -0
  99. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__pcre__LICENCE.txt +93 -0
  100. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__rfc6234__patches__0001-Fix-compilation-MSVC-warning-in-3rdparty-rfc6234.patch.txt +86 -0
  101. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__rfc6234__sha-private.h.txt +28 -0
  102. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__rfc6234__sha.h.txt +357 -0
  103. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__rfc6234__sha224-256.c.txt +583 -0
  104. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__rfc6234__sha384-512.c.txt +1034 -0
  105. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha1__sha1.cpp.txt +261 -0
  106. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-32-rvk.macros.txt +555 -0
  107. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-32.macros.txt +26 -0
  108. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-64.macros.txt +728 -0
  109. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-int-set.h.txt +6 -0
  110. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-interface.h.txt +46 -0
  111. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-opt32-settings.h.txt +4 -0
  112. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-opt32.c.txt +524 -0
  113. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-opt64-settings.h.txt +7 -0
  114. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-opt64.c.txt +512 -0
  115. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakF-1600-unrolling.macros.txt +124 -0
  116. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakNISTInterface.c.txt +82 -0
  117. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakNISTInterface.h.txt +70 -0
  118. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakSponge.c.txt +266 -0
  119. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__KeccakSponge.h.txt +80 -0
  120. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__sha3__brg_endian.h.txt +142 -0
  121. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtbase-src__3rdparty__xkbcommon__COPYING.txt +188 -0
  122. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.FDL.txt +450 -0
  123. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.GPL2.txt +339 -0
  124. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.GPL3-EXCEPT.txt +704 -0
  125. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.GPL3.txt +674 -0
  126. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.GPLv2.txt +292 -0
  127. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.GPLv3.txt +686 -0
  128. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.LGPL3.txt +165 -0
  129. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.LGPLv21.txt +514 -0
  130. canconfigpython-0.1.0a1.dist-info/Qt-5.7.1-qtserialport-LICENSE.LGPLv3.txt +175 -0
  131. canconfigpython-0.1.0a1.dist-info/RECORD +165 -0
  132. canconfigpython-0.1.0a1.dist-info/THIRD_PARTY_NOTICES.md +69 -0
  133. canconfigpython-0.1.0a1.dist-info/WHEEL +5 -0
  134. canconfigpython-0.1.0a1.dist-info/entry_points.txt +3 -0
  135. canconfigpython-0.1.0a1.dist-info/gcc-COPYING.RUNTIME.txt +73 -0
  136. canconfigpython-0.1.0a1.dist-info/gcc-COPYING3.LIB.txt +165 -0
  137. canconfigpython-0.1.0a1.dist-info/gcc-COPYING3.txt +674 -0
  138. canconfigpython-0.1.0a1.dist-info/linux-libc6-copyright.txt +529 -0
  139. canconfigpython-0.1.0a1.dist-info/linux-libcap2-copyright.txt +112 -0
  140. canconfigpython-0.1.0a1.dist-info/linux-libcom-err2-copyright.txt +403 -0
  141. canconfigpython-0.1.0a1.dist-info/linux-libdouble-conversion3-copyright.txt +41 -0
  142. canconfigpython-0.1.0a1.dist-info/linux-libgcc-s1-copyright.txt +1532 -0
  143. canconfigpython-0.1.0a1.dist-info/linux-libglib2.0-0t64-copyright.txt +1250 -0
  144. canconfigpython-0.1.0a1.dist-info/linux-libgssapi-krb5-2-copyright.txt +1374 -0
  145. canconfigpython-0.1.0a1.dist-info/linux-libicu74-copyright.txt +49 -0
  146. canconfigpython-0.1.0a1.dist-info/linux-libk5crypto3-copyright.txt +1374 -0
  147. canconfigpython-0.1.0a1.dist-info/linux-libkeyutils1-copyright.txt +52 -0
  148. canconfigpython-0.1.0a1.dist-info/linux-libkrb5-3-copyright.txt +1374 -0
  149. canconfigpython-0.1.0a1.dist-info/linux-libkrb5support0-copyright.txt +1374 -0
  150. canconfigpython-0.1.0a1.dist-info/linux-libpcre2-16-0-copyright.txt +122 -0
  151. canconfigpython-0.1.0a1.dist-info/linux-libpcre2-8-0-copyright.txt +122 -0
  152. canconfigpython-0.1.0a1.dist-info/linux-libqt5core5t64-copyright.txt +2932 -0
  153. canconfigpython-0.1.0a1.dist-info/linux-libqt5network5t64-copyright.txt +2932 -0
  154. canconfigpython-0.1.0a1.dist-info/linux-libqt5serialport5-copyright.txt +134 -0
  155. canconfigpython-0.1.0a1.dist-info/linux-libstdc++6-copyright.txt +1532 -0
  156. canconfigpython-0.1.0a1.dist-info/linux-libudev1-copyright.txt +287 -0
  157. canconfigpython-0.1.0a1.dist-info/linux-libzstd1-copyright.txt +123 -0
  158. canconfigpython-0.1.0a1.dist-info/linux-packages.json +102 -0
  159. canconfigpython-0.1.0a1.dist-info/linux-zlib1g-copyright.txt +84 -0
  160. canconfigpython-0.1.0a1.dist-info/mingw-w64-COPYING.MinGW-w64-runtime.txt.txt +240 -0
  161. canconfigpython-0.1.0a1.dist-info/mingw-w64-COPYING.MinGW-w64.txt.txt +135 -0
  162. canconfigpython-0.1.0a1.dist-info/mingw-w64-COPYING.txt +43 -0
  163. canconfigpython-0.1.0a1.dist-info/qt-source-notices.json +278 -0
  164. canconfigpython-0.1.0a1.dist-info/top_level.txt +1 -0
  165. canconfigpython-0.1.0a1.dist-info/winpthreads-COPYING.txt +57 -0
@@ -0,0 +1,832 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "CANConfigConsole 2.3 changes",
4
+ "description": "Offline structure and shared ranges only. Device capability, identity, SAVE scope, timing profile and restricted readback require apply --dry-run. Do not put $schema into the request.",
5
+ "type": "object",
6
+ "required": [
7
+ "schema_version",
8
+ "device_uid",
9
+ "changes"
10
+ ],
11
+ "additionalProperties": false,
12
+ "properties": {
13
+ "schema_version": {
14
+ "const": 1
15
+ },
16
+ "device_uid": {
17
+ "type": "string",
18
+ "pattern": "^[0-9a-fA-F]{4}(-[0-9a-fA-F]{4}){5}$",
19
+ "minLength": 29,
20
+ "maxLength": 29
21
+ },
22
+ "changes": {
23
+ "type": "object",
24
+ "minProperties": 1,
25
+ "properties": {
26
+ "FILTER_MODE/BLACK_LIST": {
27
+ "type": "integer",
28
+ "minimum": 0,
29
+ "maximum": 1
30
+ },
31
+ "ADVANCED_OPTION/RAW": {
32
+ "type": "integer",
33
+ "minimum": 0,
34
+ "maximum": 255
35
+ },
36
+ "ADVANCED_OPTION/FILTER_MODE_EN": {
37
+ "type": "integer",
38
+ "minimum": 0,
39
+ "maximum": 1
40
+ },
41
+ "ADVANCED_OPTION/IN_FILITER_EN": {
42
+ "type": "integer",
43
+ "minimum": 0,
44
+ "maximum": 1
45
+ },
46
+ "ADVANCED_OPTION/OUT_FILITER_EN": {
47
+ "type": "integer",
48
+ "minimum": 0,
49
+ "maximum": 1
50
+ },
51
+ "ADVANCED_OPTION/ROUTER_EN": {
52
+ "type": "integer",
53
+ "minimum": 0,
54
+ "maximum": 1
55
+ },
56
+ "ADVANCED_OPTION/MAPPING_EN": {
57
+ "type": "integer",
58
+ "minimum": 0,
59
+ "maximum": 1
60
+ },
61
+ "ADVANCED_OPTION/CAN_ISO_EN": {
62
+ "type": "integer",
63
+ "minimum": 0,
64
+ "maximum": 1
65
+ },
66
+ "ADVANCED_OPTION/CAN_RING_EN": {
67
+ "type": "integer",
68
+ "minimum": 0,
69
+ "maximum": 1
70
+ },
71
+ "ADVANCED_OPTION/SILENT_AUTO_BTR_EN": {
72
+ "type": "integer",
73
+ "minimum": 0,
74
+ "maximum": 1
75
+ },
76
+ "CANCOM/MODE": {
77
+ "type": "integer",
78
+ "minimum": 0,
79
+ "maximum": 3
80
+ },
81
+ "CANCOM/DIRECTION": {
82
+ "type": "integer",
83
+ "minimum": 0,
84
+ "maximum": 2
85
+ },
86
+ "CANCOM/COM_TYPE": {
87
+ "type": "integer",
88
+ "minimum": 0,
89
+ "maximum": 2
90
+ },
91
+ "CANCOM/BAUD_RATE": {
92
+ "type": "integer",
93
+ "minimum": 1,
94
+ "maximum": 4294967295
95
+ },
96
+ "CANCOM/DATA_LEN": {
97
+ "type": "integer",
98
+ "minimum": 8,
99
+ "maximum": 9
100
+ },
101
+ "CANCOM/STOP_LEN": {
102
+ "type": "integer",
103
+ "minimum": 0,
104
+ "maximum": 3
105
+ },
106
+ "CANCOM/PARITY": {
107
+ "type": "integer",
108
+ "minimum": 0,
109
+ "maximum": 2
110
+ },
111
+ "CANCOM/CAN_ID_PASS": {
112
+ "type": "integer",
113
+ "minimum": 0,
114
+ "maximum": 1
115
+ },
116
+ "CANCOM/CAN_INFO_PASS": {
117
+ "type": "integer",
118
+ "minimum": 0,
119
+ "maximum": 1
120
+ },
121
+ "CANCOM/CAN_ID": {
122
+ "type": "integer",
123
+ "minimum": 0,
124
+ "maximum": 536870911
125
+ },
126
+ "CANCOM/CAN_PROTOCOL": {
127
+ "type": "integer",
128
+ "minimum": 0,
129
+ "maximum": 1
130
+ },
131
+ "CANCOM/CAN_ID_OFFSET": {
132
+ "type": "integer",
133
+ "minimum": 0,
134
+ "maximum": 7
135
+ },
136
+ "CANCOM/CAN_ID_LENGTH": {
137
+ "type": "integer",
138
+ "minimum": 1,
139
+ "maximum": 7
140
+ },
141
+ "CANCOM/STREAM_GAP_TIME": {
142
+ "type": "integer",
143
+ "minimum": 0,
144
+ "maximum": 255
145
+ },
146
+ "CANCOM/MSG_GAP_TIME": {
147
+ "type": "integer",
148
+ "minimum": 0,
149
+ "maximum": 255
150
+ },
151
+ "CANCOM/FORMAT_MODE_CRC": {
152
+ "type": "integer",
153
+ "minimum": 0,
154
+ "maximum": 1
155
+ }
156
+ },
157
+ "patternProperties": {
158
+ "^CAN[1-8]_PARAMETER/MODE$": {
159
+ "type": "integer",
160
+ "minimum": 0,
161
+ "maximum": 2
162
+ },
163
+ "^CAN[1-8]_PARAMETER/BRT_AUTO$": {
164
+ "type": "integer",
165
+ "minimum": 0,
166
+ "maximum": 1
167
+ },
168
+ "^CAN[1-8]_PARAMETER/BRT$": {
169
+ "oneOf": [
170
+ {
171
+ "type": "array",
172
+ "items": [
173
+ {
174
+ "type": "integer",
175
+ "minimum": 1,
176
+ "maximum": 1000000
177
+ },
178
+ {
179
+ "type": "integer",
180
+ "minimum": 0,
181
+ "maximum": 3
182
+ },
183
+ {
184
+ "type": "integer",
185
+ "minimum": 0,
186
+ "maximum": 15
187
+ },
188
+ {
189
+ "type": "integer",
190
+ "minimum": 0,
191
+ "maximum": 7
192
+ }
193
+ ],
194
+ "minItems": 4,
195
+ "maxItems": 4,
196
+ "additionalItems": false
197
+ },
198
+ {
199
+ "type": "array",
200
+ "items": [
201
+ {
202
+ "type": "integer",
203
+ "minimum": 1,
204
+ "maximum": 1000000
205
+ },
206
+ {
207
+ "type": "integer",
208
+ "minimum": 0,
209
+ "maximum": 3
210
+ },
211
+ {
212
+ "type": "integer",
213
+ "minimum": 0,
214
+ "maximum": 15
215
+ },
216
+ {
217
+ "type": "integer",
218
+ "minimum": 0,
219
+ "maximum": 7
220
+ },
221
+ {
222
+ "type": "integer",
223
+ "minimum": 0,
224
+ "maximum": 63
225
+ }
226
+ ],
227
+ "minItems": 5,
228
+ "maxItems": 5,
229
+ "additionalItems": false
230
+ }
231
+ ]
232
+ },
233
+ "^CAN[1-8]_FILTER/F(?:[1-9]|1[0-6])$": {
234
+ "type": "array",
235
+ "items": [
236
+ {
237
+ "type": "integer",
238
+ "minimum": 0,
239
+ "maximum": 1
240
+ },
241
+ {
242
+ "type": "integer",
243
+ "minimum": 0,
244
+ "maximum": 1
245
+ },
246
+ {
247
+ "anyOf": [
248
+ {
249
+ "type": "integer",
250
+ "minimum": 0,
251
+ "maximum": 536870911
252
+ },
253
+ {
254
+ "type": "integer",
255
+ "minimum": 1073741824,
256
+ "maximum": 1610612735
257
+ },
258
+ {
259
+ "type": "integer",
260
+ "minimum": 2147483648,
261
+ "maximum": 2684354559
262
+ },
263
+ {
264
+ "type": "integer",
265
+ "minimum": 3221225472,
266
+ "maximum": 3758096383
267
+ }
268
+ ]
269
+ },
270
+ {
271
+ "type": "integer",
272
+ "minimum": 0,
273
+ "maximum": 4294967295
274
+ }
275
+ ],
276
+ "minItems": 4,
277
+ "maxItems": 4,
278
+ "additionalItems": false
279
+ },
280
+ "^CAN_(?:IN|OUT)_FILTER/F(?:[1-9]|[1-9][0-9]|1[01][0-9]|12[0-8])$": {
281
+ "type": "array",
282
+ "items": [
283
+ {
284
+ "type": "integer",
285
+ "minimum": 0,
286
+ "maximum": 255
287
+ },
288
+ {
289
+ "type": "integer",
290
+ "minimum": 0,
291
+ "maximum": 1
292
+ },
293
+ {
294
+ "anyOf": [
295
+ {
296
+ "type": "integer",
297
+ "minimum": 0,
298
+ "maximum": 536870911
299
+ },
300
+ {
301
+ "type": "integer",
302
+ "minimum": 1073741824,
303
+ "maximum": 1610612735
304
+ },
305
+ {
306
+ "type": "integer",
307
+ "minimum": 2147483648,
308
+ "maximum": 2684354559
309
+ },
310
+ {
311
+ "type": "integer",
312
+ "minimum": 3221225472,
313
+ "maximum": 3758096383
314
+ }
315
+ ]
316
+ },
317
+ {
318
+ "type": "integer",
319
+ "minimum": 0,
320
+ "maximum": 4294967295
321
+ }
322
+ ],
323
+ "minItems": 4,
324
+ "maxItems": 4,
325
+ "additionalItems": false
326
+ },
327
+ "^CAN[12]_MAPPING/M(?:[1-9]|[1-5][0-9]|6[0-4])$": {
328
+ "type": "array",
329
+ "items": [
330
+ {
331
+ "type": "integer",
332
+ "minimum": 0,
333
+ "maximum": 1
334
+ },
335
+ {
336
+ "type": "integer",
337
+ "minimum": 0,
338
+ "maximum": 1
339
+ },
340
+ {
341
+ "type": "integer",
342
+ "minimum": 0,
343
+ "maximum": 536870911
344
+ },
345
+ {
346
+ "type": "integer",
347
+ "minimum": 0,
348
+ "maximum": 1
349
+ },
350
+ {
351
+ "type": "integer",
352
+ "minimum": 0,
353
+ "maximum": 536870911
354
+ }
355
+ ],
356
+ "minItems": 5,
357
+ "maxItems": 5,
358
+ "additionalItems": false,
359
+ "allOf": [
360
+ {
361
+ "if": {
362
+ "items": [
363
+ {},
364
+ {
365
+ "const": 0
366
+ }
367
+ ]
368
+ },
369
+ "then": {
370
+ "items": [
371
+ {},
372
+ {},
373
+ {
374
+ "type": "integer",
375
+ "minimum": 0,
376
+ "maximum": 2047
377
+ }
378
+ ]
379
+ }
380
+ },
381
+ {
382
+ "if": {
383
+ "items": [
384
+ {},
385
+ {},
386
+ {},
387
+ {
388
+ "const": 0
389
+ }
390
+ ]
391
+ },
392
+ "then": {
393
+ "items": [
394
+ {},
395
+ {},
396
+ {},
397
+ {},
398
+ {
399
+ "type": "integer",
400
+ "minimum": 0,
401
+ "maximum": 2047
402
+ }
403
+ ]
404
+ }
405
+ }
406
+ ]
407
+ },
408
+ "^CAN_MAPPING/M(?:[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-6])$": {
409
+ "oneOf": [
410
+ {
411
+ "type": "array",
412
+ "items": [
413
+ {
414
+ "type": "integer",
415
+ "minimum": 0,
416
+ "maximum": 255
417
+ },
418
+ {
419
+ "type": "integer",
420
+ "minimum": 0,
421
+ "maximum": 4294967295
422
+ },
423
+ {
424
+ "type": "integer",
425
+ "minimum": 0,
426
+ "maximum": 4294967295
427
+ },
428
+ {
429
+ "type": "integer",
430
+ "minimum": 0,
431
+ "maximum": 4294967295
432
+ },
433
+ {
434
+ "enum": [
435
+ 255,
436
+ 0,
437
+ 16,
438
+ 17,
439
+ 32,
440
+ 33,
441
+ 34,
442
+ 48,
443
+ 49,
444
+ 50,
445
+ 51,
446
+ 64,
447
+ 65,
448
+ 66,
449
+ 67,
450
+ 68,
451
+ 80,
452
+ 81,
453
+ 82,
454
+ 83,
455
+ 84,
456
+ 85,
457
+ 96,
458
+ 97,
459
+ 98,
460
+ 99,
461
+ 100,
462
+ 101,
463
+ 102,
464
+ 112,
465
+ 113,
466
+ 114,
467
+ 115,
468
+ 116,
469
+ 117,
470
+ 118,
471
+ 119,
472
+ 128,
473
+ 129,
474
+ 130,
475
+ 131,
476
+ 132,
477
+ 133,
478
+ 134,
479
+ 135,
480
+ 136
481
+ ]
482
+ },
483
+ {
484
+ "enum": [
485
+ 0,
486
+ 1,
487
+ 2,
488
+ 3,
489
+ 4,
490
+ 5,
491
+ 6,
492
+ 7,
493
+ 8,
494
+ 255
495
+ ]
496
+ }
497
+ ],
498
+ "minItems": 6,
499
+ "maxItems": 6,
500
+ "additionalItems": false
501
+ },
502
+ {
503
+ "type": "array",
504
+ "items": [
505
+ {
506
+ "type": "integer",
507
+ "minimum": 0,
508
+ "maximum": 255
509
+ },
510
+ {
511
+ "type": "integer",
512
+ "minimum": 0,
513
+ "maximum": 4294967295
514
+ },
515
+ {
516
+ "type": "integer",
517
+ "minimum": 0,
518
+ "maximum": 4294967295
519
+ },
520
+ {
521
+ "type": "integer",
522
+ "minimum": 0,
523
+ "maximum": 4294967295
524
+ },
525
+ {
526
+ "enum": [
527
+ 255,
528
+ 0,
529
+ 16,
530
+ 17,
531
+ 32,
532
+ 33,
533
+ 34,
534
+ 48,
535
+ 49,
536
+ 50,
537
+ 51,
538
+ 64,
539
+ 65,
540
+ 66,
541
+ 67,
542
+ 68,
543
+ 80,
544
+ 81,
545
+ 82,
546
+ 83,
547
+ 84,
548
+ 85,
549
+ 96,
550
+ 97,
551
+ 98,
552
+ 99,
553
+ 100,
554
+ 101,
555
+ 102,
556
+ 112,
557
+ 113,
558
+ 114,
559
+ 115,
560
+ 116,
561
+ 117,
562
+ 118,
563
+ 119,
564
+ 128,
565
+ 129,
566
+ 130,
567
+ 131,
568
+ 132,
569
+ 133,
570
+ 134,
571
+ 135,
572
+ 136
573
+ ]
574
+ },
575
+ {
576
+ "enum": [
577
+ 0,
578
+ 1,
579
+ 2,
580
+ 3,
581
+ 4,
582
+ 5,
583
+ 6,
584
+ 7,
585
+ 8,
586
+ 255
587
+ ]
588
+ },
589
+ {
590
+ "type": "integer",
591
+ "minimum": 0,
592
+ "maximum": 65535
593
+ }
594
+ ],
595
+ "minItems": 7,
596
+ "maxItems": 7,
597
+ "additionalItems": false
598
+ }
599
+ ]
600
+ },
601
+ "^CAN_MAPPING/M[STM](?:[1-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-6])$": {
602
+ "type": "array",
603
+ "items": [
604
+ {
605
+ "type": "integer",
606
+ "minimum": 0,
607
+ "maximum": 255
608
+ },
609
+ {
610
+ "type": "integer",
611
+ "minimum": 0,
612
+ "maximum": 255
613
+ },
614
+ {
615
+ "type": "integer",
616
+ "minimum": 0,
617
+ "maximum": 255
618
+ },
619
+ {
620
+ "type": "integer",
621
+ "minimum": 0,
622
+ "maximum": 255
623
+ },
624
+ {
625
+ "type": "integer",
626
+ "minimum": 0,
627
+ "maximum": 255
628
+ },
629
+ {
630
+ "type": "integer",
631
+ "minimum": 0,
632
+ "maximum": 255
633
+ },
634
+ {
635
+ "type": "integer",
636
+ "minimum": 0,
637
+ "maximum": 255
638
+ },
639
+ {
640
+ "type": "integer",
641
+ "minimum": 0,
642
+ "maximum": 255
643
+ }
644
+ ],
645
+ "minItems": 8,
646
+ "maxItems": 8,
647
+ "additionalItems": false
648
+ },
649
+ "^ROUTING_TABLE/CAN[1-8]$": {
650
+ "type": "integer",
651
+ "minimum": 0,
652
+ "maximum": 255
653
+ },
654
+ "^USER_DATA/DATA[12]$": {
655
+ "type": "string",
656
+ "pattern": "^[0-9a-fA-F]{64}$",
657
+ "minLength": 64,
658
+ "maxLength": 64
659
+ },
660
+ "^CAN[3-8]_PARAMETER/BRT$": {
661
+ "if": {
662
+ "minItems": 5
663
+ },
664
+ "then": {
665
+ "items": [
666
+ {},
667
+ {},
668
+ {
669
+ "maximum": 7
670
+ },
671
+ {},
672
+ {
673
+ "maximum": 7
674
+ }
675
+ ]
676
+ }
677
+ }
678
+ },
679
+ "propertyNames": {
680
+ "not": {
681
+ "pattern": "[^A-Z0-9_/]"
682
+ }
683
+ },
684
+ "additionalProperties": false,
685
+ "allOf": [
686
+ {
687
+ "not": {
688
+ "required": [
689
+ "ADVANCED_OPTION/RAW"
690
+ ],
691
+ "anyOf": [
692
+ {
693
+ "required": [
694
+ "ADVANCED_OPTION/FILTER_MODE_EN"
695
+ ]
696
+ },
697
+ {
698
+ "required": [
699
+ "ADVANCED_OPTION/IN_FILITER_EN"
700
+ ]
701
+ },
702
+ {
703
+ "required": [
704
+ "ADVANCED_OPTION/OUT_FILITER_EN"
705
+ ]
706
+ },
707
+ {
708
+ "required": [
709
+ "ADVANCED_OPTION/ROUTER_EN"
710
+ ]
711
+ },
712
+ {
713
+ "required": [
714
+ "ADVANCED_OPTION/MAPPING_EN"
715
+ ]
716
+ },
717
+ {
718
+ "required": [
719
+ "ADVANCED_OPTION/CAN_ISO_EN"
720
+ ]
721
+ },
722
+ {
723
+ "required": [
724
+ "ADVANCED_OPTION/CAN_RING_EN"
725
+ ]
726
+ },
727
+ {
728
+ "required": [
729
+ "ADVANCED_OPTION/SILENT_AUTO_BTR_EN"
730
+ ]
731
+ }
732
+ ]
733
+ }
734
+ },
735
+ {
736
+ "if": {
737
+ "anyOf": [
738
+ {
739
+ "required": [
740
+ "CAN1_PARAMETER/BRT_AUTO"
741
+ ],
742
+ "properties": {
743
+ "CAN1_PARAMETER/BRT_AUTO": {
744
+ "const": 1
745
+ }
746
+ }
747
+ },
748
+ {
749
+ "required": [
750
+ "CAN2_PARAMETER/BRT_AUTO"
751
+ ],
752
+ "properties": {
753
+ "CAN2_PARAMETER/BRT_AUTO": {
754
+ "const": 1
755
+ }
756
+ }
757
+ },
758
+ {
759
+ "required": [
760
+ "CAN3_PARAMETER/BRT_AUTO"
761
+ ],
762
+ "properties": {
763
+ "CAN3_PARAMETER/BRT_AUTO": {
764
+ "const": 1
765
+ }
766
+ }
767
+ },
768
+ {
769
+ "required": [
770
+ "CAN4_PARAMETER/BRT_AUTO"
771
+ ],
772
+ "properties": {
773
+ "CAN4_PARAMETER/BRT_AUTO": {
774
+ "const": 1
775
+ }
776
+ }
777
+ },
778
+ {
779
+ "required": [
780
+ "CAN5_PARAMETER/BRT_AUTO"
781
+ ],
782
+ "properties": {
783
+ "CAN5_PARAMETER/BRT_AUTO": {
784
+ "const": 1
785
+ }
786
+ }
787
+ },
788
+ {
789
+ "required": [
790
+ "CAN6_PARAMETER/BRT_AUTO"
791
+ ],
792
+ "properties": {
793
+ "CAN6_PARAMETER/BRT_AUTO": {
794
+ "const": 1
795
+ }
796
+ }
797
+ },
798
+ {
799
+ "required": [
800
+ "CAN7_PARAMETER/BRT_AUTO"
801
+ ],
802
+ "properties": {
803
+ "CAN7_PARAMETER/BRT_AUTO": {
804
+ "const": 1
805
+ }
806
+ }
807
+ },
808
+ {
809
+ "required": [
810
+ "CAN8_PARAMETER/BRT_AUTO"
811
+ ],
812
+ "properties": {
813
+ "CAN8_PARAMETER/BRT_AUTO": {
814
+ "const": 1
815
+ }
816
+ }
817
+ }
818
+ ]
819
+ },
820
+ "then": {
821
+ "propertyNames": {
822
+ "pattern": "^CAN[1-8]_PARAMETER/BRT_AUTO$"
823
+ },
824
+ "additionalProperties": {
825
+ "const": 1
826
+ }
827
+ }
828
+ }
829
+ ]
830
+ }
831
+ }
832
+ }