theengsdecoder 1.8.3__tar.gz

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 (554) hide show
  1. theengsdecoder-1.8.3/CMakeLists.txt +18 -0
  2. theengsdecoder-1.8.3/PKG-INFO +33 -0
  3. theengsdecoder-1.8.3/README.md +25 -0
  4. theengsdecoder-1.8.3/TheengsDecoder/__init__.py +3 -0
  5. theengsdecoder-1.8.3/TheengsDecoder/_decoder.cpp +107 -0
  6. theengsdecoder-1.8.3/pyproject.toml +2 -0
  7. theengsdecoder-1.8.3/setup.cfg +4 -0
  8. theengsdecoder-1.8.3/setup.py +32 -0
  9. theengsdecoder-1.8.3/src/arduino_json/.clang-format +10 -0
  10. theengsdecoder-1.8.3/src/arduino_json/.devcontainer/Dockerfile +43 -0
  11. theengsdecoder-1.8.3/src/arduino_json/.devcontainer/devcontainer.json +24 -0
  12. theengsdecoder-1.8.3/src/arduino_json/.git +1 -0
  13. theengsdecoder-1.8.3/src/arduino_json/.gitattributes +1 -0
  14. theengsdecoder-1.8.3/src/arduino_json/.github/FUNDING.yml +4 -0
  15. theengsdecoder-1.8.3/src/arduino_json/.github/ISSUE_TEMPLATE.md +14 -0
  16. theengsdecoder-1.8.3/src/arduino_json/.github/workflows/ci.yml +484 -0
  17. theengsdecoder-1.8.3/src/arduino_json/.github/workflows/lock.yml +14 -0
  18. theengsdecoder-1.8.3/src/arduino_json/.github/workflows/release.yml +51 -0
  19. theengsdecoder-1.8.3/src/arduino_json/.gitignore +16 -0
  20. theengsdecoder-1.8.3/src/arduino_json/.mbedignore +3 -0
  21. theengsdecoder-1.8.3/src/arduino_json/.prettierignore +1 -0
  22. theengsdecoder-1.8.3/src/arduino_json/.vscode/settings.json +8 -0
  23. theengsdecoder-1.8.3/src/arduino_json/ArduinoJson.h +5 -0
  24. theengsdecoder-1.8.3/src/arduino_json/CHANGELOG.md +1140 -0
  25. theengsdecoder-1.8.3/src/arduino_json/CMakeLists.txt +26 -0
  26. theengsdecoder-1.8.3/src/arduino_json/CONTRIBUTING.md +10 -0
  27. theengsdecoder-1.8.3/src/arduino_json/LICENSE.md +10 -0
  28. theengsdecoder-1.8.3/src/arduino_json/README.md +144 -0
  29. theengsdecoder-1.8.3/src/arduino_json/SUPPORT.md +27 -0
  30. theengsdecoder-1.8.3/src/arduino_json/appveyor.yml +22 -0
  31. theengsdecoder-1.8.3/src/arduino_json/banner.svg +367 -0
  32. theengsdecoder-1.8.3/src/arduino_json/component.mk +1 -0
  33. theengsdecoder-1.8.3/src/arduino_json/examples/JsonConfigFile/JsonConfigFile.ino +160 -0
  34. theengsdecoder-1.8.3/src/arduino_json/examples/JsonFilterExample/JsonFilterExample.ino +63 -0
  35. theengsdecoder-1.8.3/src/arduino_json/examples/JsonGeneratorExample/JsonGeneratorExample.ino +77 -0
  36. theengsdecoder-1.8.3/src/arduino_json/examples/JsonHttpClient/JsonHttpClient.ino +126 -0
  37. theengsdecoder-1.8.3/src/arduino_json/examples/JsonParserExample/JsonParserExample.ino +80 -0
  38. theengsdecoder-1.8.3/src/arduino_json/examples/JsonServer/JsonServer.ino +117 -0
  39. theengsdecoder-1.8.3/src/arduino_json/examples/JsonUdpBeacon/JsonUdpBeacon.ino +106 -0
  40. theengsdecoder-1.8.3/src/arduino_json/examples/MsgPackParser/MsgPackParser.ino +75 -0
  41. theengsdecoder-1.8.3/src/arduino_json/examples/ProgmemExample/ProgmemExample.ino +72 -0
  42. theengsdecoder-1.8.3/src/arduino_json/examples/StringExample/StringExample.ino +77 -0
  43. theengsdecoder-1.8.3/src/arduino_json/extras/ArduinoJsonConfig.cmake.in +4 -0
  44. theengsdecoder-1.8.3/src/arduino_json/extras/CompileOptions.cmake +94 -0
  45. theengsdecoder-1.8.3/src/arduino_json/extras/ci/arduino.sh +20 -0
  46. theengsdecoder-1.8.3/src/arduino_json/extras/ci/espidf/CMakeLists.txt +8 -0
  47. theengsdecoder-1.8.3/src/arduino_json/extras/ci/espidf/main/CMakeLists.txt +6 -0
  48. theengsdecoder-1.8.3/src/arduino_json/extras/ci/espidf/main/component.mk +4 -0
  49. theengsdecoder-1.8.3/src/arduino_json/extras/ci/espidf/main/main.cpp +16 -0
  50. theengsdecoder-1.8.3/src/arduino_json/extras/ci/particle.sh +10 -0
  51. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/CMakeLists.txt +59 -0
  52. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/Makefile +22 -0
  53. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_corpus/.gitignore +2 -0
  54. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_fuzzer.cpp +11 -0
  55. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/Comments.json +10 -0
  56. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/EmptyArray.json +1 -0
  57. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/EmptyObject.json +1 -0
  58. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/ExcessiveNesting.json +1 -0
  59. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/IntegerOverflow.json +1 -0
  60. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/Numbers.json +24 -0
  61. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/OpenWeatherMap.json +53 -0
  62. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/Strings.json +8 -0
  63. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/json_seed_corpus/WeatherUnderground.json +90 -0
  64. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_corpus/.gitignore +2 -0
  65. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_fuzzer.cpp +11 -0
  66. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/array16 +0 -0
  67. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/array32 +0 -0
  68. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/false +1 -0
  69. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/fixarray +1 -0
  70. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/fixint_negative +1 -0
  71. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/fixint_positive +1 -0
  72. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/fixmap +1 -0
  73. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/fixstr +1 -0
  74. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/float32 +1 -0
  75. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/float64 +1 -0
  76. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/int16 +1 -0
  77. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/int32 +1 -0
  78. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/int64 +1 -0
  79. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/int8 +1 -0
  80. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/map16 +0 -0
  81. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/map32 +0 -0
  82. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/nil +1 -0
  83. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/str16 +0 -0
  84. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/str32 +0 -0
  85. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/str8 +1 -0
  86. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/true +1 -0
  87. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/uint16 +1 -0
  88. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/uint32 +1 -0
  89. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/uint64 +1 -0
  90. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/msgpack_seed_corpus/uint8 +1 -0
  91. theengsdecoder-1.8.3/src/arduino_json/extras/fuzzing/reproducer.cpp +50 -0
  92. theengsdecoder-1.8.3/src/arduino_json/extras/particle/project.properties +1 -0
  93. theengsdecoder-1.8.3/src/arduino_json/extras/particle/src/smocktest.ino +5 -0
  94. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/build-arduino-package.sh +23 -0
  95. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/build-single-header.sh +64 -0
  96. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/get-release-body.sh +14 -0
  97. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/get-release-page.sh +18 -0
  98. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/publish-particle-library.sh +18 -0
  99. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/publish.sh +68 -0
  100. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/wandbox/JsonGeneratorExample.cpp +60 -0
  101. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/wandbox/JsonParserExample.cpp +59 -0
  102. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/wandbox/MsgPackParserExample.cpp +68 -0
  103. theengsdecoder-1.8.3/src/arduino_json/extras/scripts/wandbox/publish.sh +29 -0
  104. theengsdecoder-1.8.3/src/arduino_json/extras/tests/.clang-tidy +1 -0
  105. theengsdecoder-1.8.3/src/arduino_json/extras/tests/CMakeLists.txt +29 -0
  106. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp11/CMakeLists.txt +32 -0
  107. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp11/issue1120.cpp +58 -0
  108. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp11/nullptr.cpp +39 -0
  109. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp11/use_long_long_0.cpp +16 -0
  110. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp11/use_long_long_1.cpp +17 -0
  111. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp17/CMakeLists.txt +29 -0
  112. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Cpp17/string_view.cpp +89 -0
  113. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/CMakeLists.txt +48 -0
  114. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/Issue1189.cpp +13 -0
  115. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/Issue978.cpp +13 -0
  116. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/assign_char.cpp +12 -0
  117. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/delete_jsondocument.cpp +12 -0
  118. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/read_long_long.cpp +20 -0
  119. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/variant_as_char.cpp +12 -0
  120. theengsdecoder-1.8.3/src/arduino_json/extras/tests/FailingBuilds/write_long_long.cpp +19 -0
  121. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/Arduino.h +9 -0
  122. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/CustomReader.hpp +26 -0
  123. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/api/Print.h +33 -0
  124. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/api/Stream.h +14 -0
  125. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/api/String.h +58 -0
  126. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Helpers/progmem_emulation.hpp +42 -0
  127. theengsdecoder-1.8.3/src/arduino_json/extras/tests/IntegrationTests/CMakeLists.txt +24 -0
  128. theengsdecoder-1.8.3/src/arduino_json/extras/tests/IntegrationTests/gbathree.cpp +210 -0
  129. theengsdecoder-1.8.3/src/arduino_json/extras/tests/IntegrationTests/issue772.cpp +28 -0
  130. theengsdecoder-1.8.3/src/arduino_json/extras/tests/IntegrationTests/openweathermap.cpp +68 -0
  131. theengsdecoder-1.8.3/src/arduino_json/extras/tests/IntegrationTests/round_trip.cpp +82 -0
  132. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/CMakeLists.txt +28 -0
  133. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/add.cpp +138 -0
  134. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/clear.cpp +25 -0
  135. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/copyArray.cpp +279 -0
  136. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/createNested.cpp +21 -0
  137. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/equals.cpp +69 -0
  138. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/get.cpp +16 -0
  139. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/isNull.cpp +58 -0
  140. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/iterator.cpp +52 -0
  141. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/memoryUsage.cpp +42 -0
  142. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/nesting.cpp +35 -0
  143. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/remove.cpp +79 -0
  144. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/size.cpp +31 -0
  145. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/std_string.cpp +31 -0
  146. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/subscript.cpp +174 -0
  147. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonArray/undefined.cpp +35 -0
  148. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/CMakeLists.txt +28 -0
  149. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/DeserializationError.cpp +130 -0
  150. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/array.cpp +253 -0
  151. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/array_static.cpp +89 -0
  152. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/filter.cpp +750 -0
  153. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/incomplete_input.cpp +29 -0
  154. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/input_types.cpp +198 -0
  155. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/invalid_input.cpp +42 -0
  156. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/misc.cpp +117 -0
  157. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/nestingLimit.cpp +101 -0
  158. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/number.cpp +133 -0
  159. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/object.cpp +299 -0
  160. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/object_static.cpp +64 -0
  161. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDeserializer/string.cpp +89 -0
  162. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/BasicJsonDocument.cpp +157 -0
  163. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/CMakeLists.txt +29 -0
  164. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/DynamicJsonDocument.cpp +209 -0
  165. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/ElementProxy.cpp +206 -0
  166. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/MemberProxy.cpp +247 -0
  167. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/StaticJsonDocument.cpp +224 -0
  168. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/add.cpp +22 -0
  169. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/compare.cpp +77 -0
  170. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/containsKey.cpp +44 -0
  171. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/createNested.cpp +66 -0
  172. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/isNull.cpp +39 -0
  173. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/nesting.cpp +30 -0
  174. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/overflowed.cpp +79 -0
  175. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/remove.cpp +52 -0
  176. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/shrinkToFit.cpp +154 -0
  177. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/size.cpp +28 -0
  178. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonDocument/subscript.cpp +53 -0
  179. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/CMakeLists.txt +28 -0
  180. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/clear.cpp +25 -0
  181. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/containsKey.cpp +39 -0
  182. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/copy.cpp +115 -0
  183. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/createNestedArray.cpp +27 -0
  184. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/createNestedObject.cpp +25 -0
  185. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/equals.cpp +67 -0
  186. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/invalid.cpp +35 -0
  187. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/isNull.cpp +58 -0
  188. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/iterator.cpp +73 -0
  189. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/memoryUsage.cpp +43 -0
  190. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/nesting.cpp +35 -0
  191. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/remove.cpp +77 -0
  192. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/size.cpp +39 -0
  193. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/std_string.cpp +109 -0
  194. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonObject/subscript.cpp +233 -0
  195. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/CMakeLists.txt +22 -0
  196. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/CustomWriter.cpp +52 -0
  197. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/JsonArray.cpp +129 -0
  198. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/JsonArrayPretty.cpp +75 -0
  199. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/JsonObject.cpp +119 -0
  200. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/JsonObjectPretty.cpp +77 -0
  201. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/JsonVariant.cpp +117 -0
  202. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/misc.cpp +36 -0
  203. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/std_stream.cpp +66 -0
  204. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonSerializer/std_string.cpp +47 -0
  205. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/CMakeLists.txt +33 -0
  206. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/add.cpp +30 -0
  207. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/as.cpp +249 -0
  208. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/clear.cpp +26 -0
  209. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/compare.cpp +280 -0
  210. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/containsKey.cpp +44 -0
  211. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/converters.cpp +142 -0
  212. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/copy.cpp +86 -0
  213. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/createNested.cpp +86 -0
  214. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/is.cpp +304 -0
  215. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/isnull.cpp +80 -0
  216. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/memoryUsage.cpp +39 -0
  217. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/misc.cpp +50 -0
  218. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/nesting.cpp +31 -0
  219. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/or.cpp +159 -0
  220. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/overflow.cpp +72 -0
  221. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/remove.cpp +42 -0
  222. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/set.cpp +172 -0
  223. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/subscript.cpp +195 -0
  224. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/types.cpp +163 -0
  225. theengsdecoder-1.8.3/src/arduino_json/extras/tests/JsonVariant/undefined.cpp +96 -0
  226. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/CMakeLists.txt +18 -0
  227. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/StringCopier.cpp +84 -0
  228. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/allocVariant.cpp +50 -0
  229. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/clear.cpp +32 -0
  230. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/saveString.cpp +81 -0
  231. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MemoryPool/size.cpp +35 -0
  232. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/CMakeLists.txt +29 -0
  233. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/FloatParts.cpp +44 -0
  234. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/JsonString.cpp +60 -0
  235. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/Readers.cpp +225 -0
  236. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/StringAdapters.cpp +144 -0
  237. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/StringWriter.cpp +161 -0
  238. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/TypeTraits.cpp +212 -0
  239. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/Utf16.cpp +68 -0
  240. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/Utf8.cpp +61 -0
  241. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/arithmeticCompare.cpp +103 -0
  242. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/conflicts.cpp +56 -0
  243. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/custom_string.hpp +12 -0
  244. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/deprecated.cpp +115 -0
  245. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/printable.cpp +142 -0
  246. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/unsigned_char.cpp +271 -0
  247. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/version.cpp +18 -0
  248. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Misc/weird_strcmp.hpp +23 -0
  249. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/CMakeLists.txt +30 -0
  250. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/decode_unicode_0.cpp +12 -0
  251. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/decode_unicode_1.cpp +11 -0
  252. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_alignment_0.cpp +41 -0
  253. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_alignment_1.cpp +40 -0
  254. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_comments_0.cpp +54 -0
  255. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_comments_1.cpp +411 -0
  256. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_infinity_0.cpp +35 -0
  257. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_infinity_1.cpp +39 -0
  258. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_nan_0.cpp +25 -0
  259. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_nan_1.cpp +31 -0
  260. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_progmem_1.cpp +185 -0
  261. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_string_deduplication_0.cpp +125 -0
  262. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/enable_string_deduplication_1.cpp +124 -0
  263. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/use_double_0.cpp +17 -0
  264. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MixedConfiguration/use_double_1.cpp +17 -0
  265. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/CMakeLists.txt +24 -0
  266. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/deserializeArray.cpp +83 -0
  267. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/deserializeObject.cpp +130 -0
  268. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/deserializeStaticVariant.cpp +152 -0
  269. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/deserializeVariant.cpp +147 -0
  270. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/doubleToFloat.cpp +25 -0
  271. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/filter.cpp +1119 -0
  272. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/incompleteInput.cpp +158 -0
  273. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/input_types.cpp +95 -0
  274. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/misc.cpp +24 -0
  275. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/nestingLimit.cpp +85 -0
  276. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackDeserializer/notSupported.cpp +82 -0
  277. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/CMakeLists.txt +19 -0
  278. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/destination_types.cpp +59 -0
  279. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/measure.cpp +14 -0
  280. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/misc.cpp +46 -0
  281. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/serializeArray.cpp +58 -0
  282. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/serializeObject.cpp +83 -0
  283. theengsdecoder-1.8.3/src/arduino_json/extras/tests/MsgPackSerializer/serializeVariant.cpp +147 -0
  284. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/CMakeLists.txt +19 -0
  285. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/convertNumber.cpp +78 -0
  286. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/parseDouble.cpp +96 -0
  287. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/parseFloat.cpp +101 -0
  288. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/parseInteger.cpp +68 -0
  289. theengsdecoder-1.8.3/src/arduino_json/extras/tests/Numbers/parseNumber.cpp +57 -0
  290. theengsdecoder-1.8.3/src/arduino_json/extras/tests/TextFormatter/CMakeLists.txt +18 -0
  291. theengsdecoder-1.8.3/src/arduino_json/extras/tests/TextFormatter/writeFloat.cpp +119 -0
  292. theengsdecoder-1.8.3/src/arduino_json/extras/tests/TextFormatter/writeInteger.cpp +55 -0
  293. theengsdecoder-1.8.3/src/arduino_json/extras/tests/TextFormatter/writeString.cpp +57 -0
  294. theengsdecoder-1.8.3/src/arduino_json/extras/tests/catch/.clang-format +2 -0
  295. theengsdecoder-1.8.3/src/arduino_json/extras/tests/catch/CMakeLists.txt +18 -0
  296. theengsdecoder-1.8.3/src/arduino_json/extras/tests/catch/catch.cpp +6 -0
  297. theengsdecoder-1.8.3/src/arduino_json/extras/tests/catch/catch.hpp +11689 -0
  298. theengsdecoder-1.8.3/src/arduino_json/keywords.txt +40 -0
  299. theengsdecoder-1.8.3/src/arduino_json/library.json +24 -0
  300. theengsdecoder-1.8.3/src/arduino_json/library.properties +11 -0
  301. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ArrayFunctions.hpp +31 -0
  302. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ArrayImpl.hpp +28 -0
  303. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ArrayIterator.hpp +121 -0
  304. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ArrayRef.hpp +213 -0
  305. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ArrayShortcuts.hpp +49 -0
  306. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/ElementProxy.hpp +193 -0
  307. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Array/Utilities.hpp +133 -0
  308. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Collection/CollectionData.hpp +88 -0
  309. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Collection/CollectionImpl.hpp +234 -0
  310. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Configuration.hpp +273 -0
  311. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/DeserializationError.hpp +122 -0
  312. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Filter.hpp +66 -0
  313. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/NestingLimit.hpp +29 -0
  314. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Reader.hpp +56 -0
  315. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp +31 -0
  316. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp +17 -0
  317. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/FlashReader.hpp +53 -0
  318. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/IteratorReader.hpp +43 -0
  319. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/RamReader.hpp +50 -0
  320. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/StdStreamReader.hpp +29 -0
  321. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/Readers/VariantReader.hpp +34 -0
  322. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Deserialization/deserialize.hpp +71 -0
  323. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Document/BasicJsonDocument.hpp +164 -0
  324. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Document/DynamicJsonDocument.hpp +29 -0
  325. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Document/JsonDocument.hpp +344 -0
  326. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Document/StaticJsonDocument.hpp +56 -0
  327. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/EscapeSequence.hpp +39 -0
  328. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/JsonDeserializer.hpp +740 -0
  329. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/JsonSerializer.hpp +137 -0
  330. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/Latch.hpp +56 -0
  331. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/PrettyJsonSerializer.hpp +89 -0
  332. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/TextFormatter.hpp +162 -0
  333. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/Utf16.hpp +67 -0
  334. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Json/Utf8.hpp +46 -0
  335. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Memory/Alignment.hpp +60 -0
  336. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Memory/MemoryPool.hpp +209 -0
  337. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Misc/SerializedValue.hpp +68 -0
  338. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Misc/Visitable.hpp +21 -0
  339. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/MsgPack/MsgPackDeserializer.hpp +596 -0
  340. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/MsgPack/MsgPackSerializer.hpp +212 -0
  341. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/MsgPack/endianess.hpp +41 -0
  342. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/MsgPack/ieee754.hpp +18 -0
  343. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Namespace.hpp +26 -0
  344. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/Float.hpp +17 -0
  345. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/FloatParts.hpp +87 -0
  346. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/FloatTraits.hpp +201 -0
  347. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/Integer.hpp +32 -0
  348. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/arithmeticCompare.hpp +121 -0
  349. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/convertNumber.hpp +121 -0
  350. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Numbers/parseNumber.hpp +153 -0
  351. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/MemberProxy.hpp +202 -0
  352. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/ObjectFunctions.hpp +51 -0
  353. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/ObjectImpl.hpp +69 -0
  354. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/ObjectIterator.hpp +123 -0
  355. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/ObjectRef.hpp +280 -0
  356. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/ObjectShortcuts.hpp +73 -0
  357. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Object/Pair.hpp +55 -0
  358. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/alias_cast.hpp +29 -0
  359. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/assert.hpp +14 -0
  360. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/attributes.hpp +54 -0
  361. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/ctype.hpp +20 -0
  362. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/integer.hpp +30 -0
  363. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/limits.hpp +45 -0
  364. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/math.hpp +27 -0
  365. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/mpl/max.hpp +26 -0
  366. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/pgmspace.hpp +79 -0
  367. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/pgmspace_generic.hpp +32 -0
  368. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/preprocessor.hpp +35 -0
  369. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/safe_strcmp.hpp +32 -0
  370. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/static_array.hpp +34 -0
  371. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/conditional.hpp +20 -0
  372. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/declval.hpp +14 -0
  373. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/enable_if.hpp +19 -0
  374. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/integral_constant.hpp +19 -0
  375. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_array.hpp +21 -0
  376. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_base_of.hpp +26 -0
  377. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_class.hpp +26 -0
  378. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_const.hpp +17 -0
  379. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_convertible.hpp +47 -0
  380. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_enum.hpp +22 -0
  381. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_floating_point.hpp +20 -0
  382. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_integral.hpp +37 -0
  383. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_pointer.hpp +16 -0
  384. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_same.hpp +17 -0
  385. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_signed.hpp +30 -0
  386. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/is_unsigned.hpp +28 -0
  387. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/make_unsigned.hpp +49 -0
  388. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/make_void.hpp +14 -0
  389. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/remove_const.hpp +20 -0
  390. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/remove_cv.hpp +27 -0
  391. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/remove_reference.hpp +20 -0
  392. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits/type_identity.hpp +15 -0
  393. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/type_traits.hpp +25 -0
  394. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Polyfills/utility.hpp +28 -0
  395. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/CountingDecorator.hpp +33 -0
  396. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writer.hpp +47 -0
  397. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/ArduinoStringWriter.hpp +53 -0
  398. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/DummyWriter.hpp +21 -0
  399. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/PrintWriter.hpp +28 -0
  400. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/StaticStringWriter.hpp +35 -0
  401. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/StdStreamWriter.hpp +32 -0
  402. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/Writers/StdStringWriter.hpp +40 -0
  403. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/measure.hpp +18 -0
  404. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Serialization/serialize.hpp +54 -0
  405. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/StringStorage/StringCopier.hpp +66 -0
  406. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/StringStorage/StringMover.hpp +42 -0
  407. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/StringStorage/StringStorage.hpp +23 -0
  408. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/ArduinoStringAdapter.hpp +52 -0
  409. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/ConstRamStringAdapter.hpp +51 -0
  410. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/FlashStringAdapter.hpp +48 -0
  411. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/JsonStringAdapter.hpp +27 -0
  412. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/RamStringAdapter.hpp +29 -0
  413. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/SizedFlashStringAdapter.hpp +48 -0
  414. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/SizedRamStringAdapter.hpp +43 -0
  415. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/StdStringAdapter.hpp +46 -0
  416. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/Adapters/StringViewAdapter.hpp +44 -0
  417. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/IsWriteableString.hpp +37 -0
  418. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/StoragePolicy.hpp +15 -0
  419. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/String.hpp +52 -0
  420. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/StringAdapter.hpp +32 -0
  421. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Strings/StringAdapters.hpp +27 -0
  422. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/Converter.hpp +17 -0
  423. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/ConverterImpl.hpp +273 -0
  424. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/SlotFunctions.hpp +60 -0
  425. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantCompare.hpp +208 -0
  426. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantContent.hpp +59 -0
  427. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantData.hpp +369 -0
  428. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantFunctions.hpp +104 -0
  429. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantImpl.hpp +148 -0
  430. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantOperators.hpp +180 -0
  431. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantRef.hpp +381 -0
  432. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantShortcuts.hpp +23 -0
  433. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantSlot.hpp +116 -0
  434. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantTag.hpp +16 -0
  435. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/VariantTo.hpp +32 -0
  436. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/Variant/Visitor.hpp +54 -0
  437. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/compatibility.hpp +23 -0
  438. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson/version.hpp +10 -0
  439. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson.h +17 -0
  440. theengsdecoder-1.8.3/src/arduino_json/src/ArduinoJson.hpp +73 -0
  441. theengsdecoder-1.8.3/src/arduino_json/src/CMakeLists.txt +90 -0
  442. theengsdecoder-1.8.3/src/decoder.cpp +1048 -0
  443. theengsdecoder-1.8.3/src/decoder.h +197 -0
  444. theengsdecoder-1.8.3/src/decoder_c.cpp +68 -0
  445. theengsdecoder-1.8.3/src/devices/ABN03_json.h +55 -0
  446. theengsdecoder-1.8.3/src/devices/ABN07_json.h +52 -0
  447. theengsdecoder-1.8.3/src/devices/ABTemp_json.h +68 -0
  448. theengsdecoder-1.8.3/src/devices/APPLEAIRPODS_json.h +116 -0
  449. theengsdecoder-1.8.3/src/devices/APPLEDEVICE_json.h +30 -0
  450. theengsdecoder-1.8.3/src/devices/APPLEWATCH_json.h +30 -0
  451. theengsdecoder-1.8.3/src/devices/APPLE_json.h +40 -0
  452. theengsdecoder-1.8.3/src/devices/ARANET4_json.h +56 -0
  453. theengsdecoder-1.8.3/src/devices/Amphiro_json.h +55 -0
  454. theengsdecoder-1.8.3/src/devices/BC08_json.h +59 -0
  455. theengsdecoder-1.8.3/src/devices/BM1IN1_json.h +33 -0
  456. theengsdecoder-1.8.3/src/devices/BM2_json.h +33 -0
  457. theengsdecoder-1.8.3/src/devices/BM3IN1_json.h +49 -0
  458. theengsdecoder-1.8.3/src/devices/BM4IN1_json.h +49 -0
  459. theengsdecoder-1.8.3/src/devices/BM6_json.h +32 -0
  460. theengsdecoder-1.8.3/src/devices/BPARASITE_json.h +72 -0
  461. theengsdecoder-1.8.3/src/devices/BWBSDOO_json.h +32 -0
  462. theengsdecoder-1.8.3/src/devices/CGD1_json.h +31 -0
  463. theengsdecoder-1.8.3/src/devices/CGDK2_json.h +90 -0
  464. theengsdecoder-1.8.3/src/devices/CGDN1_json.h +55 -0
  465. theengsdecoder-1.8.3/src/devices/CGG1_json.h +125 -0
  466. theengsdecoder-1.8.3/src/devices/CGH1_json.h +37 -0
  467. theengsdecoder-1.8.3/src/devices/CGP1W_json.h +57 -0
  468. theengsdecoder-1.8.3/src/devices/CGP23W_json.h +57 -0
  469. theengsdecoder-1.8.3/src/devices/CGPR1_json.h +58 -0
  470. theengsdecoder-1.8.3/src/devices/FEASY_json.h +65 -0
  471. theengsdecoder-1.8.3/src/devices/GAEN_json.h +33 -0
  472. theengsdecoder-1.8.3/src/devices/H5055_json.h +74 -0
  473. theengsdecoder-1.8.3/src/devices/H5072_json.h +33 -0
  474. theengsdecoder-1.8.3/src/devices/H5074_json.h +26 -0
  475. theengsdecoder-1.8.3/src/devices/H5102_json.h +34 -0
  476. theengsdecoder-1.8.3/src/devices/H5106_json.h +52 -0
  477. theengsdecoder-1.8.3/src/devices/H5179_json.h +26 -0
  478. theengsdecoder-1.8.3/src/devices/HHCCJCY01HHCC_json.h +58 -0
  479. theengsdecoder-1.8.3/src/devices/HHCCJCY10_json.h +54 -0
  480. theengsdecoder-1.8.3/src/devices/HHCCPOT002_json.h +41 -0
  481. theengsdecoder-1.8.3/src/devices/HOBOMX2001_json.h +26 -0
  482. theengsdecoder-1.8.3/src/devices/IBS_THBP01B_json.h +55 -0
  483. theengsdecoder-1.8.3/src/devices/IBT_2X_json.h +70 -0
  484. theengsdecoder-1.8.3/src/devices/IBT_4XS_json.h +62 -0
  485. theengsdecoder-1.8.3/src/devices/IBT_6XS_SOLIS6_json.h +80 -0
  486. theengsdecoder-1.8.3/src/devices/JAALEE_json.h +26 -0
  487. theengsdecoder-1.8.3/src/devices/JQJCY01YM_json.h +60 -0
  488. theengsdecoder-1.8.3/src/devices/KKM_K6P_json.h +50 -0
  489. theengsdecoder-1.8.3/src/devices/KKM_K9_json.h +74 -0
  490. theengsdecoder-1.8.3/src/devices/LYWSD02_json.h +32 -0
  491. theengsdecoder-1.8.3/src/devices/LYWSD03MMC_ENCR_json.h +39 -0
  492. theengsdecoder-1.8.3/src/devices/LYWSD03MMC_json.h +85 -0
  493. theengsdecoder-1.8.3/src/devices/LYWSDCGQ_json.h +37 -0
  494. theengsdecoder-1.8.3/src/devices/MBXPRO_json.h +82 -0
  495. theengsdecoder-1.8.3/src/devices/MS_CDP_json.h +25 -0
  496. theengsdecoder-1.8.3/src/devices/MUE4094RT_json.h +43 -0
  497. theengsdecoder-1.8.3/src/devices/Miband_json.h +49 -0
  498. theengsdecoder-1.8.3/src/devices/Mikrotik_json.h +107 -0
  499. theengsdecoder-1.8.3/src/devices/Mokobeacon_json.h +49 -0
  500. theengsdecoder-1.8.3/src/devices/Mopeka_json.h +91 -0
  501. theengsdecoder-1.8.3/src/devices/NODONNIU_json.h +59 -0
  502. theengsdecoder-1.8.3/src/devices/OTOD_json.h +53 -0
  503. theengsdecoder-1.8.3/src/devices/OralB_json.h +78 -0
  504. theengsdecoder-1.8.3/src/devices/Oras_json.h +33 -0
  505. theengsdecoder-1.8.3/src/devices/PH10_json.h +25 -0
  506. theengsdecoder-1.8.3/src/devices/RDL52832_json.h +154 -0
  507. theengsdecoder-1.8.3/src/devices/RuuviTag_RAWv1_json.h +73 -0
  508. theengsdecoder-1.8.3/src/devices/RuuviTag_RAWv2_json.h +103 -0
  509. theengsdecoder-1.8.3/src/devices/SBBT_002C_ENCR_json.h +47 -0
  510. theengsdecoder-1.8.3/src/devices/SBBT_002C_json.h +56 -0
  511. theengsdecoder-1.8.3/src/devices/SBBT_004CEU_US_json.h +98 -0
  512. theengsdecoder-1.8.3/src/devices/SBBT_json.h +70 -0
  513. theengsdecoder-1.8.3/src/devices/SBCS_json.h +82 -0
  514. theengsdecoder-1.8.3/src/devices/SBCU_json.h +55 -0
  515. theengsdecoder-1.8.3/src/devices/SBDW_002C_ENCR_json.h +47 -0
  516. theengsdecoder-1.8.3/src/devices/SBDW_002C_json.h +68 -0
  517. theengsdecoder-1.8.3/src/devices/SBHT_003C_ENCR_json.h +62 -0
  518. theengsdecoder-1.8.3/src/devices/SBHT_003C_json.h +74 -0
  519. theengsdecoder-1.8.3/src/devices/SBMO_003Z_ENCR_json.h +47 -0
  520. theengsdecoder-1.8.3/src/devices/SBMO_003Z_json.h +59 -0
  521. theengsdecoder-1.8.3/src/devices/SBMP_json.h +68 -0
  522. theengsdecoder-1.8.3/src/devices/SBMS_json.h +70 -0
  523. theengsdecoder-1.8.3/src/devices/SBMT_json.h +70 -0
  524. theengsdecoder-1.8.3/src/devices/SBOT_json.h +89 -0
  525. theengsdecoder-1.8.3/src/devices/SBS1_json.h +40 -0
  526. theengsdecoder-1.8.3/src/devices/SCD4X_json.h +43 -0
  527. theengsdecoder-1.8.3/src/devices/SE_MAG_json.h +40 -0
  528. theengsdecoder-1.8.3/src/devices/SE_RHT_json.h +30 -0
  529. theengsdecoder-1.8.3/src/devices/SE_TEMP_json.h +38 -0
  530. theengsdecoder-1.8.3/src/devices/SE_TPROBE_json.h +37 -0
  531. theengsdecoder-1.8.3/src/devices/SHT4X_json.h +24 -0
  532. theengsdecoder-1.8.3/src/devices/ServiceData_json.h +25 -0
  533. theengsdecoder-1.8.3/src/devices/Skale_json.h +26 -0
  534. theengsdecoder-1.8.3/src/devices/SmartDry_json.h +54 -0
  535. theengsdecoder-1.8.3/src/devices/T201_json.h +29 -0
  536. theengsdecoder-1.8.3/src/devices/T301_json.h +29 -0
  537. theengsdecoder-1.8.3/src/devices/TILT_json.h +57 -0
  538. theengsdecoder-1.8.3/src/devices/TPMS_json.h +64 -0
  539. theengsdecoder-1.8.3/src/devices/TPTH_json.h +48 -0
  540. theengsdecoder-1.8.3/src/devices/ThermoBeacon_json.h +94 -0
  541. theengsdecoder-1.8.3/src/devices/XMTZC04HMKG_json.h +40 -0
  542. theengsdecoder-1.8.3/src/devices/XMTZC04HMLB_json.h +40 -0
  543. theengsdecoder-1.8.3/src/devices/XMTZC05HMKG_json.h +48 -0
  544. theengsdecoder-1.8.3/src/devices/XMTZC05HMLB_json.h +48 -0
  545. theengsdecoder-1.8.3/src/devices/XOSSX2_json.h +33 -0
  546. theengsdecoder-1.8.3/src/devices/common_props.h +90 -0
  547. theengsdecoder-1.8.3/src/devices/iBeacon_json.h +64 -0
  548. theengsdecoder-1.8.3/src/devices/iNodeEM_json.h +71 -0
  549. theengsdecoder-1.8.3/src/devices/tracker_json.h +190 -0
  550. theengsdecoder-1.8.3/src/devices.h +256 -0
  551. theengsdecoder-1.8.3/theengsdecoder.egg-info/PKG-INFO +33 -0
  552. theengsdecoder-1.8.3/theengsdecoder.egg-info/SOURCES.txt +552 -0
  553. theengsdecoder-1.8.3/theengsdecoder.egg-info/dependency_links.txt +1 -0
  554. theengsdecoder-1.8.3/theengsdecoder.egg-info/top_level.txt +1 -0
@@ -0,0 +1,18 @@
1
+ cmake_minimum_required(VERSION 3.3)
2
+
3
+ project(decoder VERSION 1.8.3)
4
+ find_package(PythonExtensions REQUIRED)
5
+
6
+ add_library(_decoder MODULE TheengsDecoder/_decoder.cpp src/decoder.cpp)
7
+ python_extension_module(_decoder)
8
+
9
+ target_include_directories(_decoder
10
+ PUBLIC
11
+ $<INSTALL_INTERFACE:../arduino_json>
12
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/arduino_json/src>
13
+ ${CMAKE_CURRENT_SOURCE_DIR}/src
14
+ )
15
+
16
+ target_compile_features(_decoder PRIVATE cxx_std_11)
17
+
18
+ install(TARGETS _decoder LIBRARY DESTINATION TheengsDecoder)
@@ -0,0 +1,33 @@
1
+ Metadata-Version: 2.1
2
+ Name: theengsdecoder
3
+ Version: 1.8.3
4
+ Summary: A message decoder for the Internet of Things
5
+ Author: Theengs
6
+ License: GPL-3.0 License
7
+ Description-Content-Type: text/markdown
8
+
9
+ # Theengs Decoder
10
+
11
+ ## dependencies
12
+ Building this module it requires scikit-build and cmake, if not already installed you will need to open a terminal and execute:
13
+ ```
14
+ pip install scikit-build
15
+ apt-get install cmake
16
+ ```
17
+
18
+ ## installation
19
+
20
+ From a terminal cd to this folder and execute:
21
+ ```
22
+ python setup.py install --user
23
+ ```
24
+
25
+ ## using
26
+
27
+ `import TheengsDecoder`
28
+
29
+ ## methods
30
+
31
+ - `decodeBLE(string)` Returns a new string with the decoded data in json format or None.
32
+ - `getProperties('model_id string')` Returns the properties (string) of the given model ID or None
33
+ - `getAttribute('model_id string', 'attribute string')` Return the value (string) of named attrubte of the model ID or None.
@@ -0,0 +1,25 @@
1
+ # Theengs Decoder
2
+
3
+ ## dependencies
4
+ Building this module it requires scikit-build and cmake, if not already installed you will need to open a terminal and execute:
5
+ ```
6
+ pip install scikit-build
7
+ apt-get install cmake
8
+ ```
9
+
10
+ ## installation
11
+
12
+ From a terminal cd to this folder and execute:
13
+ ```
14
+ python setup.py install --user
15
+ ```
16
+
17
+ ## using
18
+
19
+ `import TheengsDecoder`
20
+
21
+ ## methods
22
+
23
+ - `decodeBLE(string)` Returns a new string with the decoded data in json format or None.
24
+ - `getProperties('model_id string')` Returns the properties (string) of the given model ID or None
25
+ - `getAttribute('model_id string', 'attribute string')` Return the value (string) of named attrubte of the model ID or None.
@@ -0,0 +1,3 @@
1
+ from ._decoder import decodeBLE # noqa: F401
2
+ from ._decoder import getAttribute # noqa: F401
3
+ from ._decoder import getProperties # noqa: F401
@@ -0,0 +1,107 @@
1
+ // Python includes
2
+ #include <Python.h>
3
+
4
+ #include "decoder.h"
5
+
6
+ // STD includes
7
+ #include <stdio.h>
8
+
9
+ //-----------------------------------------------------------------------------
10
+ static PyObject *decode_BLE(PyObject *self, PyObject *args)
11
+ {
12
+ // Unpack a string from the arguments
13
+ const char *strArg;
14
+ if (!PyArg_ParseTuple(args, "s", &strArg))
15
+ return NULL;
16
+
17
+ StaticJsonDocument<1024> doc;
18
+ DeserializationError err = deserializeJson(doc, strArg);
19
+ if (!err) {
20
+ TheengsDecoder decoder;
21
+ JsonObject bleObject;
22
+ bleObject = doc.as<JsonObject>();
23
+
24
+ if (decoder.decodeBLEJson(bleObject) >= 0) {
25
+ std::string buf;
26
+ serializeJson(bleObject, buf);
27
+ return Py_BuildValue("s", buf.c_str());
28
+ }
29
+ }
30
+
31
+ Py_RETURN_NONE;
32
+ }
33
+
34
+ static PyObject *decode_getTheengProperties(PyObject *self, PyObject *args)
35
+ {
36
+ const char *strArg;
37
+ if (!PyArg_ParseTuple(args, "s", &strArg))
38
+ return NULL;
39
+
40
+ TheengsDecoder decoder;
41
+ std::string prop = decoder.getTheengProperties(strArg);
42
+ if (!prop.empty()) {
43
+ return Py_BuildValue("s", prop.c_str());
44
+ }
45
+
46
+ Py_RETURN_NONE;
47
+ }
48
+
49
+ static PyObject *decode_getTheengAttribute(PyObject *self, PyObject *args)
50
+ {
51
+ const char *model;
52
+ const char *att;
53
+ if (!PyArg_ParseTuple(args, "ss", &model, &att))
54
+ return NULL;
55
+
56
+ TheengsDecoder decoder;
57
+ std::string prop = decoder.getTheengAttribute(model, att);
58
+ if (!prop.empty()) {
59
+ return Py_BuildValue("s", prop.c_str());
60
+ }
61
+
62
+ Py_RETURN_NONE;
63
+ }
64
+
65
+ //-----------------------------------------------------------------------------
66
+ static PyMethodDef decoder_methods[] = {
67
+ {
68
+ "decodeBLE",
69
+ decode_BLE,
70
+ METH_VARARGS,
71
+ "Decodes a BLE advertisement packet into JSON data."
72
+ },
73
+ {
74
+ "getAttribute",
75
+ decode_getTheengAttribute,
76
+ METH_VARARGS,
77
+ "Decodes a BLE advertisement packet into JSON data."
78
+ },
79
+ {
80
+ "getProperties",
81
+ decode_getTheengProperties,
82
+ METH_VARARGS,
83
+ "Decodes a BLE advertisement packet into JSON data."
84
+ },
85
+ {NULL, NULL, 0, NULL} /* Sentinel */
86
+ };
87
+
88
+ //-----------------------------------------------------------------------------
89
+ #if PY_MAJOR_VERSION < 3
90
+ PyMODINIT_FUNC init_decoder(void)
91
+ {
92
+ (void) Py_InitModule("_decoder", decoder_methods);
93
+ }
94
+ #else /* PY_MAJOR_VERSION >= 3 */
95
+ static struct PyModuleDef decoder_module_def = {
96
+ PyModuleDef_HEAD_INIT,
97
+ "_decoder",
98
+ "Internal \"_decoder\" module",
99
+ -1,
100
+ decoder_methods
101
+ };
102
+
103
+ PyMODINIT_FUNC PyInit__decoder(void)
104
+ {
105
+ return PyModule_Create(&decoder_module_def);
106
+ }
107
+ #endif /* PY_MAJOR_VERSION >= 3 */
@@ -0,0 +1,2 @@
1
+ [build-system]
2
+ requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,32 @@
1
+ # read the contents of your README file
2
+ from pathlib import Path
3
+
4
+
5
+ from packaging import version
6
+ from skbuild import setup
7
+ from skbuild.cmaker import get_cmake_version
8
+ from skbuild.exceptions import SKBuildError
9
+
10
+ this_directory = Path(__file__).parent
11
+ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
12
+ setup_requires = ["setuptools_scm"]
13
+ # Add CMake as a build requirement if cmake is not installed
14
+ # or is too low a version
15
+ try:
16
+ if version.parse(get_cmake_version()) < version.parse("3.4"):
17
+ setup_requires.append("cmake")
18
+ except SKBuildError:
19
+ setup_requires.append("cmake")
20
+
21
+ setup(
22
+ name="theengsdecoder",
23
+ long_description=long_description,
24
+ long_description_content_type="text/markdown",
25
+ description="A message decoder for the Internet of Things",
26
+ author='Theengs',
27
+ license=" GPL-3.0 License",
28
+ packages=['TheengsDecoder'],
29
+ use_scm_version={"root": "..", "version_scheme": "no-guess-dev"},
30
+ setup_requires=setup_requires,
31
+ include_package_data=True,
32
+ )
@@ -0,0 +1,10 @@
1
+ # http://clang.llvm.org/docs/ClangFormatStyleOptions.html
2
+
3
+ BasedOnStyle: Google
4
+ Standard: Cpp03
5
+ AllowShortFunctionsOnASingleLine: Empty
6
+ IncludeBlocks: Preserve
7
+ IndentPPDirectives: AfterHash
8
+
9
+ # Always break after if to get accurate coverage
10
+ AllowShortIfStatementsOnASingleLine: false
@@ -0,0 +1,43 @@
1
+ FROM ubuntu:20.04
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y software-properties-common curl && \
5
+ apt-get upgrade -y
6
+ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 15CF4D18AF4F7421
7
+ RUN add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ trusty main' && \
8
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ trusty universe' && \
9
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ xenial main' && \
10
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ xenial universe' && \
11
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ bionic main' && \
12
+ add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ bionic universe' && \
13
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-6.0 main' && \
14
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main' && \
15
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main' && \
16
+ add-apt-repository -yn 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
17
+
18
+ RUN apt-get update && apt-get -y install \
19
+ cmake \
20
+ ninja-build \
21
+ git \
22
+ clang-format \
23
+ g++-4.4 \
24
+ g++-4.6 \
25
+ g++-4.7 \
26
+ g++-4.8 \
27
+ g++-4.9 \
28
+ g++-5 \
29
+ g++-7 \
30
+ g++-8 \
31
+ g++-9 \
32
+ g++-10 \
33
+ clang-3.5 \
34
+ clang-3.6 \
35
+ clang-3.7 \
36
+ clang-3.8 \
37
+ clang-3.9 \
38
+ clang-6.0 \
39
+ clang-7 \
40
+ clang-8 \
41
+ clang-9 \
42
+ clang-10 \
43
+ clang-11
@@ -0,0 +1,24 @@
1
+ // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
2
+ // https://github.com/microsoft/vscode-dev-containers/tree/v0.183.0/containers/ubuntu
3
+ {
4
+ "name": "Ubuntu",
5
+ "build": {
6
+ "dockerfile": "Dockerfile"
7
+ },
8
+
9
+ // Set *default* container specific settings.json values on container create.
10
+ "settings": {},
11
+
12
+ // Add the IDs of extensions you want installed when the container is created.
13
+ "extensions": [
14
+ "ms-vscode.cmake-tools",
15
+ "ms-vscode.cpptools",
16
+ "xaver.clang-format"
17
+ ],
18
+
19
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
20
+ // "forwardPorts": [],
21
+
22
+ // Use 'postCreateCommand' to run commands after the container is created.
23
+ // "postCreateCommand": "uname -a",
24
+ }
@@ -0,0 +1 @@
1
+ gitdir: ../../.git/modules/src/arduino_json
@@ -0,0 +1 @@
1
+ *.sh text eol=lf
@@ -0,0 +1,4 @@
1
+ github: bblanchon
2
+ custom:
3
+ - https://arduinojson.org/book/
4
+ - https://donate.benoitblanchon.fr/
@@ -0,0 +1,14 @@
1
+ <!--
2
+ Before opening an issue, please read the FAQ:
3
+ https://arduinojson.org/faq/
4
+
5
+ Please provide all the relevant information:
6
+ * good title
7
+ * short description of the problem
8
+ * target platform
9
+ * compiler model and version
10
+ * MVCE (https://stackoverflow.com/help/mcve)
11
+ * compiler output
12
+
13
+ Good questions get fast answers!
14
+ -->