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,18 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_PARAMETER/BRT": [
6
+ 500000,
7
+ 1,
8
+ 13,
9
+ 2
10
+ ],
11
+ "CAN2_PARAMETER/BRT": [
12
+ 250000,
13
+ 1,
14
+ 13,
15
+ 2
16
+ ]
17
+ }
18
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_MAPPING/M1": [
6
+ 1,
7
+ 0,
8
+ 291,
9
+ 0,
10
+ 801
11
+ ]
12
+ }
13
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CANCOM/BAUD_RATE": 115200,
6
+ "CANCOM/DATA_LEN": 8,
7
+ "CANCOM/PARITY": 0,
8
+ "CANCOM/STOP_LEN": 1
9
+ }
10
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CANCOM/MODE": 2,
6
+ "CANCOM/FORMAT_MODE_CRC": 1
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CANCOM/STREAM_GAP_TIME": 10,
6
+ "CANCOM/MSG_GAP_TIME": 20
7
+ }
8
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CANCOM/MODE": 0,
6
+ "CANCOM/DIRECTION": 0,
7
+ "CANCOM/CAN_PROTOCOL": 0,
8
+ "CANCOM/CAN_ID": 291
9
+ }
10
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_PARAMETER/BRT": [
6
+ 1000000,
7
+ 2,
8
+ 14,
9
+ 4
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_PARAMETER/BRT": [
6
+ 500000,
7
+ 2,
8
+ 15,
9
+ 3
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_PARAMETER/BRT_AUTO": 1
6
+ }
7
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_PARAMETER/MODE": 0,
6
+ "CAN1_PARAMETER/BRT_AUTO": 0,
7
+ "CAN1_PARAMETER/BRT": [
8
+ 500000,
9
+ 2,
10
+ 15,
11
+ 3
12
+ ],
13
+ "CAN2_PARAMETER/MODE": 0,
14
+ "CAN2_PARAMETER/BRT_AUTO": 0,
15
+ "CAN2_PARAMETER/BRT": [
16
+ 250000,
17
+ 2,
18
+ 15,
19
+ 3
20
+ ]
21
+ }
22
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "ADVANCED_OPTION/SILENT_AUTO_BTR_EN": 1
6
+ }
7
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "FILTER_MODE/BLACK_LIST": 1
6
+ }
7
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_FILTER/F1": [
6
+ 1,
7
+ 0,
8
+ 291,
9
+ 3758096383
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN1_FILTER/F1": [
6
+ 1,
7
+ 1,
8
+ 256,
9
+ 511
10
+ ]
11
+ }
12
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN3_PARAMETER/BRT": [
6
+ 500000,
7
+ 1,
8
+ 5,
9
+ 3,
10
+ 6
11
+ ]
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN_IN_FILTER/F1": [
6
+ 3,
7
+ 0,
8
+ 291,
9
+ 3758096383
10
+ ],
11
+ "ADVANCED_OPTION/IN_FILITER_EN": 1
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN3_PARAMETER/BRT": [
6
+ 500000,
7
+ 1,
8
+ 2,
9
+ 1,
10
+ 1
11
+ ]
12
+ }
13
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "CAN_MAPPING/M1": [
6
+ 1,
7
+ 291,
8
+ 801,
9
+ 3758096383,
10
+ 255,
11
+ 255,
12
+ 2
13
+ ],
14
+ "CAN_MAPPING/MS1": [
15
+ 0,
16
+ 0,
17
+ 0,
18
+ 0,
19
+ 0,
20
+ 0,
21
+ 0,
22
+ 0
23
+ ],
24
+ "CAN_MAPPING/MT1": [
25
+ 0,
26
+ 0,
27
+ 0,
28
+ 0,
29
+ 0,
30
+ 0,
31
+ 0,
32
+ 0
33
+ ],
34
+ "CAN_MAPPING/MM1": [
35
+ 0,
36
+ 0,
37
+ 0,
38
+ 0,
39
+ 0,
40
+ 0,
41
+ 0,
42
+ 0
43
+ ],
44
+ "ADVANCED_OPTION/MAPPING_EN": 1
45
+ }
46
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "schema_version": 1,
3
+ "device_uid": "0000-0000-0000-0000-0000-0000",
4
+ "changes": {
5
+ "ROUTING_TABLE/CAN1": 6,
6
+ "ADVANCED_OPTION/ROUTER_EN": 1
7
+ }
8
+ }
@@ -0,0 +1,55 @@
1
+ # Configuration examples (CANConfigConsole 2.3)
2
+
3
+ [简体中文](index.zh-CN.md) · [Command and parameter reference](../../references/operations.md)
4
+
5
+ Every example is a complete request containing schema_version, device_uid and changes. The all-zero UID is a placeholder; replace it with the actual UID of a confirmed target. Copy the file to a working directory, edit the intended fields, save UTF-8, then run apply --dry-run. Execute the same file only after the previewed scope is understood and authorized. Do not modify installed templates.
6
+
7
+ These are isolated fake-driver acceptance inputs. Passing them does not prove physical timing, bus communication or power-cycle persistence. Partial patches can inherit and write an entire section, so write_count may exceed the changed-field count. Counts and SAVE domains below are expected for the index.json fixture profiles; use the current device's actual preflight result for a real operation.
8
+
9
+ Types: 13=CANBridge/B_CC_A, 24=CANCOM, 26=CANFB-2F2C, 30=CANRPT-600, 35=CANHub-X6H, 36=CANHub-X6L. Different versions/channel counts require capability checks; do not copy timing, channel lists or expected counts blindly.
10
+
11
+ ## Positive examples (22)
12
+
13
+ | File / purpose | Prerequisite | Configuration writes / SAVE domains |
14
+ | --- | --- | --- |
15
+ | [CANFB CAN1: fixed 500 kbit/s](fb_500k.json) | All channels manual and fully readable; no DIP override. | 2 / SAVE/1/1 |
16
+ | [CANFB CAN1: fixed 1 Mbit/s](fb_1m.json) | All channels manual and fully readable; no DIP override. | 2 / SAVE/1/1 |
17
+ | [CANBridge: different rates on two channels](bridge_dual_rates.json) | All channels manual and fully readable; no DIP override. | 2 / SAVE/1/0 |
18
+ | [CANRPT-600: CAN3 silent mode](rpt_silent.json) | All channels manual and fully readable; no DIP override. | 6 / SAVE/1/0 |
19
+ | [CANHub-X6H: external CAN3 at 500 kbit/s](hub_h_external.json) | All channels manual and fully readable; no DIP override. | 6 / SAVE/1/1 |
20
+ | [CANHub-X6L: external CAN3 at 500 kbit/s](hub_l_external.json) | All channels manual and fully readable; no DIP override. | 6 / SAVE/1/1 |
21
+ | [CANFB: enable adaptive mode on CAN1](fb_adaptive_single.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/1/1 |
22
+ | [CANRPT-600: enable adaptive mode on all six channels](rpt_adaptive_all.json) | All channels manual and fully readable; no DIP override. | 6 / SAVE/1/0 |
23
+ | [CANFB: return both channels to explicit manual settings](fb_return_manual.json) | Adaptive state is allowed; explicitly authorize overwriting both channels with new manual values; no DIP override. | 2 / SAVE/1/1 |
24
+ | [CANBridge CAN1: mask filter for ID 0x123](filter_mask.json) | All channels manual and fully readable; no DIP override. | 32 / SAVE/1/0 |
25
+ | [CANBridge CAN1: range filter 0x100-0x1FF](filter_range.json) | All channels manual and fully readable; no DIP override. | 32 / SAVE/1/0 |
26
+ | [CANBridge: select blacklist mode](filter_blacklist.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/1/0 |
27
+ | [CANHub: enable an input filter on two channels](hub_input_filter.json) | All channels manual and fully readable; no DIP override. | 257 / SAVE/1/2, SAVE/1/5 |
28
+ | [CANBridge: map standard ID 0x123 to 0x321](bridge_mapping.json) | All channels manual and fully readable; no DIP override. | 128 / SAVE/5 |
29
+ | [CANHub: map and forward to CAN2](hub_mapping.json) | Hub firmware 01.16 or later (mapping_format=3); all channels manual and fully readable. | 257 / SAVE/1/3, SAVE/1/5 |
30
+ | [CANHub: route CAN1 to CAN2 and CAN3](hub_routing.json) | All channels manual and fully readable; no DIP override. | 2 / SAVE/1/4, SAVE/1/5 |
31
+ | [CANFB: silent adaptive option](fb_silent_adaptive_option.json) | CANFB 05.09/05.10 supports this bit; setting it does not enable BRT_AUTO. | 1 / SAVE/1/5 |
32
+ | [CANCOM: serial 115200 8N1](cancom_115200_8n1.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/4 |
33
+ | [CANCOM: bidirectional transparent conversion and standard ID](cancom_transparent_id.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/4 |
34
+ | [CANCOM: format conversion with CRC](cancom_format_crc.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/4 |
35
+ | [CANCOM: stream and message gaps](cancom_gap.json) | All channels manual and fully readable; no DIP override. | 1 / SAVE/4 |
36
+ | [Write the first 32-byte USER_DATA block](user_data.json) | All channels manual and fully readable; no DIP override. | 2 / No independent SAVE |
37
+
38
+ All positive previews expect exit_code=0 and zero effects counts. Mock execution expects exit_code=0 and readback=matched, except adaptive enable: adaptive_flags_matched with adaptive_result=not_verified. All cases retain power_cycle=not_verified. USER_DATA can succeed with save_acknowledged=0.
39
+
40
+ ## Negative examples (8; testing only)
41
+
42
+ | File / error | Standard schema | CLI exit / error code |
43
+ | --- | --- | --- |
44
+ | [Target UID mismatch](negative/wrong_uid.json) | Passes; device preflight rejects | 6 / uid_mismatch |
45
+ | [A string used for a numeric ID](negative/string_numeric_id.json) | Rejects | 7 / invalid_patch_value |
46
+ | [Unknown parameter name](negative/unknown_field.json) | Rejects | 7 / invalid_patch_field |
47
+ | [Adaptive enable mixed with another change](negative/adaptive_mixed.json) | Rejects | 7 / adaptive_enable_only |
48
+ | [Inheritance from adaptive readback](negative/restricted_inheritance.json) | Passes; device preflight rejects | 7 / readonly_parameters |
49
+ | [Adaptive enable on unsupported CANCOM](negative/unsupported_adaptive.json) | Passes; device preflight rejects | 5 / adaptive_not_supported |
50
+ | [Hub BRT missing PS](negative/hub_missing_ps.json) | Passes; device preflight rejects | 7 / invalid_configuration |
51
+ | [USER_DATA shorter than 32 bytes](negative/short_user_data.json) | Rejects | 7 / invalid_patch_value |
52
+
53
+ Negative CLI tests deliberately bypass external schema validation to exercise the parser/device checks. Both dry-run and execution must perform zero configuration SET/WRITE/SAVE operations. Some failures happen before a driver trace exists. The general schema allows profile unions, such as 4/5-item BRT arrays, but a Hub requires item 5 (PS) in device preflight. The wrong_uid fixture keeps its all-zero UID; other fixtures replace UID to reach the intended failure branch.
54
+
55
+ [index.json](index.json) is the shared machine index and process-test input. The index, schema and command result envelopes are not change requests. The same JSON request files are used by both language editions.