Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: arduino-libraries/ArduinoIoTCloud
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.5.1
Choose a base ref
...
head repository: arduino-libraries/ArduinoIoTCloud
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on May 19, 2016

  1. ArduinoCloud base

    Gilberto Conti committed May 19, 2016
    Copy the full SHA
    d74745e View commit details

Commits on Jul 1, 2016

  1. Correct typos

    facchinm authored Jul 1, 2016
    Copy the full SHA
    4b16668 View commit details

Commits on Jul 21, 2016

  1. Copy the full SHA
    f6af0a6 View commit details
  2. removed debug prints

    lorenzo committed Jul 21, 2016
    Copy the full SHA
    ffafb20 View commit details
  3. wrong comment

    lorenzo committed Jul 21, 2016
    Copy the full SHA
    7720f97 View commit details

Commits on Jul 22, 2016

  1. modified example and removed useless delay

    lorenzo committed Jul 22, 2016
    Copy the full SHA
    189592c View commit details

Commits on Jul 27, 2016

  1. Merge pull request #2 from facchinm/typos

    Correct typos
    lorenzoromagnoli authored Jul 27, 2016
    Copy the full SHA
    2d73d59 View commit details

Commits on Jan 25, 2018

  1. Copy the full SHA
    6b6ccec View commit details

Commits on Jan 26, 2018

  1. Almost working on SAMD

    facchinm committed Jan 26, 2018
    Copy the full SHA
    af18ef1 View commit details
  2. bundle dependencies

    facchinm committed Jan 26, 2018
    Copy the full SHA
    00cca22 View commit details
  3. Change CBOR library (this one uses maps)

    decode() needs to be rewritten
    facchinm committed Jan 26, 2018
    Copy the full SHA
    2c41a33 View commit details

Commits on Feb 16, 2018

  1. Copy the full SHA
    86f53b7 View commit details
  2. Fix encoding

    facchinm committed Feb 16, 2018
    Copy the full SHA
    e388049 View commit details
  3. Copy the full SHA
    ebaa1ab View commit details
  4. Copy the full SHA
    ea5aefe View commit details
  5. make decode() public

    facchinm committed Feb 16, 2018
    Copy the full SHA
    3797b91 View commit details

Commits on Feb 21, 2018

  1. Copy the full SHA
    32e8d8d View commit details

Commits on Feb 22, 2018

  1. Fix write-only properties

    facchinm committed Feb 22, 2018
    Copy the full SHA
    e18c499 View commit details

Commits on May 30, 2018

  1. Copy the full SHA
    5e92f67 View commit details
  2. Improve stringification

    facchinm committed May 30, 2018
    Copy the full SHA
    fccc594 View commit details

Commits on Jun 27, 2018

  1. Copy the full SHA
    4f31436 View commit details
  2. Merge pull request #1 from bcmi-labs/hotfix/memoryleak

    Fixed memory leak in CborArray, fixed ssize_t, #define CBOR_INT_T int
    facchinm authored Jun 27, 2018
    Copy the full SHA
    4f04358 View commit details
  3. Remove evil NAME_OF macro

    facchinm committed Jun 27, 2018
    Copy the full SHA
    cd341c6 View commit details
  4. Add printinfo debug function

    facchinm committed Jun 27, 2018
    Copy the full SHA
    2cf58e5 View commit details
  5. Copy the full SHA
    57d63fd View commit details
  6. Copy the full SHA
    c226bde View commit details

Commits on Jul 3, 2018

  1. Proposal: add minimumDelta API

    Accepts a pointer to the actual value
    facchinm committed Jul 3, 2018
    Copy the full SHA
    b60bafc View commit details

Commits on Aug 21, 2018

  1. Copy the full SHA
    71ed28e View commit details
  2. Squash #2 and fixup String and types handling

    TOTALLY UNTESTED
    facchinm committed Aug 21, 2018
    Copy the full SHA
    d94fb00 View commit details

Commits on Aug 24, 2018

  1. Restore "v" as key for value

    facchinm committed Aug 24, 2018
    Copy the full SHA
    9d7cd84 View commit details
  2. Copy the full SHA
    fe468ab View commit details
  3. Start adding unit tests

    facchinm committed Aug 24, 2018
    Copy the full SHA
    f4c0ef3 View commit details
  4. add writeOnly test

    facchinm committed Aug 24, 2018
    Copy the full SHA
    3f8cfbc View commit details
  5. Fix delta stuff

    facchinm committed Aug 24, 2018
    Copy the full SHA
    dd14625 View commit details

Commits on Aug 27, 2018

  1. Proposal: fix map and array length

    No functional change, some tests need to be modified
    facchinm committed Aug 27, 2018
    Copy the full SHA
    188e4f9 View commit details

Commits on Sep 3, 2018

  1. Remove composition APIs

    facchinm committed Sep 3, 2018
    Copy the full SHA
    89b8f07 View commit details

Commits on Sep 7, 2018

  1. Copy the full SHA
    c3df6f4 View commit details
  2. Copy the full SHA
    d5edc24 View commit details
  3. Revert "overload addProperty(float...double)"

    This reverts commit 236422433e6ebd70fadf6327d2e2328bd9f05538.
    facchinm committed Sep 7, 2018
    Copy the full SHA
    f646f9c View commit details
  4. Copy the full SHA
    c79748b View commit details

Commits on Sep 10, 2018

  1. Handle errors in cbor_value_advance

    Fixes infinite loops on input like
    
      unsigned char buf[] = {0x81, 0xff, 0xA2, 0x61, 0x6E, 0x64, 0x74, 0x65, 0x73, 0x74, 0x61, 0x76, 0x7, 0x0};
      thing.decode((uint8_t*)buf, sizeof(buf));
    facchinm committed Sep 10, 2018
    Copy the full SHA
    d6e90f5 View commit details

Commits on Sep 11, 2018

  1. restored CBOR decode function

    Sid23 committed Sep 11, 2018
    Copy the full SHA
    1d504ca View commit details
  2. Updated the ArduinoCloudThing library: added getType method for prope…

    …rty and fixed property encoding, cbor library refactoring
    Sid23 committed Sep 11, 2018
    Copy the full SHA
    873f91d View commit details
  3. Copy the full SHA
    5080d9d View commit details
  4. Updated int shadow_property assignment, modified test (all passed), b…

    …ecause CBOR map has to be declared of infinite length
    Sid23 committed Sep 11, 2018
    Copy the full SHA
    892861a View commit details

Commits on Sep 12, 2018

  1. Copy the full SHA
    0d1f285 View commit details
  2. Added some decode tests

    Sid23 committed Sep 12, 2018
    Copy the full SHA
    b5c6a5f View commit details

Commits on Sep 25, 2018

  1. fix integer type into a double

    Fabrizio Mirabito authored and mattiabertorello committed Sep 25, 2018
    Copy the full SHA
    8c4dd38 View commit details

Commits on Oct 26, 2018

  1. Copy the full SHA
    0a6ff99 View commit details
  2. Copy the full SHA
    862fdd7 View commit details
Showing with 23,253 additions and 2,848 deletions.
  1. +7 −0 .codespellrc
  2. +13 −0 .github/dependabot.yml
  3. +27 −0 .github/workflows/check-arduino.yml
  4. +386 −0 .github/workflows/compile-examples.yml
  5. +24 −0 .github/workflows/report-size-deltas.yml
  6. +16 −0 .github/workflows/spell-check.yml
  7. +138 −0 .github/workflows/sync-labels.yml
  8. +56 −0 .github/workflows/unit-tests.yml
  9. +22 −0 .gitignore
  10. +0 −14 LICENSE
  11. +94 −70 README.md
  12. +504 −0 docs/api.md
  13. +36 −0 docs/readme.md
  14. +151 −0 examples/ArduinoIoTCloud-AWS-Basic/ArduinoIoTCloud-AWS-Basic.ino
  15. +2 −0 examples/ArduinoIoTCloud-AWS-Basic/arduino_secrets.h
  16. +10 −0 examples/ArduinoIoTCloud-AWS-Basic/aws_secrets.h
  17. +21 −0 examples/ArduinoIoTCloud-AWS-Basic/thingProperties.h
  18. +68 −0 examples/ArduinoIoTCloud-Advanced/ArduinoIoTCloud-Advanced.ino
  19. +38 −0 examples/ArduinoIoTCloud-Advanced/arduino_secrets.h
  20. +60 −0 examples/ArduinoIoTCloud-Advanced/thingProperties.h
  21. +62 −0 examples/ArduinoIoTCloud-Basic/ArduinoIoTCloud-Basic.ino
  22. +38 −0 examples/ArduinoIoTCloud-Basic/arduino_secrets.h
  23. +59 −0 examples/ArduinoIoTCloud-Basic/thingProperties.h
  24. +97 −0 examples/ArduinoIoTCloud-BlockForOTA/ArduinoIoTCloud-BlockForOTA.ino
  25. +38 −0 examples/ArduinoIoTCloud-BlockForOTA/arduino_secrets.h
  26. +59 −0 examples/ArduinoIoTCloud-BlockForOTA/thingProperties.h
  27. +81 −0 examples/ArduinoIoTCloud-Callbacks/ArduinoIoTCloud-Callbacks.ino
  28. +38 −0 examples/ArduinoIoTCloud-Callbacks/arduino_secrets.h
  29. +45 −0 examples/ArduinoIoTCloud-Callbacks/thingProperties.h
  30. +96 −0 examples/ArduinoIoTCloud-DeferredOTA/ArduinoIoTCloud-DeferredOTA.ino
  31. +22 −0 examples/ArduinoIoTCloud-DeferredOTA/arduino_secrets.h
  32. +34 −0 examples/ArduinoIoTCloud-DeferredOTA/thingProperties.h
  33. +62 −0 examples/ArduinoIoTCloud-NetConfig/ArduinoIoTCloud-NetConfig.ino
  34. +49 −0 examples/ArduinoIoTCloud-NetConfig/thingProperties.h
  35. +73 −0 examples/ArduinoIoTCloud-Notecard/ArduinoIoTCloud-Notecard.ino
  36. +78 −0 examples/ArduinoIoTCloud-Notecard/README.md
  37. +7 −0 examples/ArduinoIoTCloud-Notecard/arduino_secrets.h
  38. +36 −0 examples/ArduinoIoTCloud-Notecard/thingProperties.h
  39. +230 −0 examples/ArduinoIoTCloud-Schedule/ArduinoIoTCloud-Schedule.ino
  40. +32 −0 examples/ArduinoIoTCloud-Schedule/arduino_secrets.h
  41. +57 −0 examples/ArduinoIoTCloud-Schedule/thingProperties.h
  42. +0 −59 examples/ArduinoIoTCloud_LED_switch/ArduinoIoTCloud_LED_switch.ino
  43. +0 −15 examples/ArduinoIoTCloud_LED_switch/arduino_secrets.h
  44. +0 −32 examples/ArduinoIoTCloud_LED_switch/thingProperties.h
  45. +50 −0 examples/utility/ArduinoIoTCloud_Travis_CI/ArduinoIoTCloud_Travis_CI.ino
  46. +38 −0 examples/utility/ArduinoIoTCloud_Travis_CI/arduino_secrets.h
  47. +150 −0 examples/utility/ArduinoIoTCloud_Travis_CI/thingProperties.h
  48. +135 −70 examples/utility/Provisioning/Provisioning.ino
  49. +428 −0 examples/utility/Provisioning_2.0/CSRHandler.cpp
  50. +74 −0 examples/utility/Provisioning_2.0/CSRHandler.h
  51. +226 −0 examples/utility/Provisioning_2.0/ClaimingHandler.cpp
  52. +54 −0 examples/utility/Provisioning_2.0/ClaimingHandler.h
  53. +228 −0 examples/utility/Provisioning_2.0/Provisioning_2.0.ino
  54. +20 −0 examples/utility/Provisioning_2.0/SecretsHelper.h
  55. +32 −0 examples/utility/Provisioning_2.0/thingProperties.h
  56. +578 −0 examples/utility/SelfProvisioning/SelfProvisioning.ino
  57. +4 −0 examples/utility/SelfProvisioning/arduino_secrets.h
  58. +169 −0 extras/test/CMakeLists.txt
  59. +35 −0 extras/test/include/Arduino.h
  60. +14 −0 extras/test/include/Arduino_ConnectionHandler.h
  61. +13 −0 extras/test/include/IPAddress.h
  62. +36 −0 extras/test/include/util/CBORTestUtil.h
  63. +14 −0 extras/test/include/util/PropertyTestUtil.h
  64. +29 −0 extras/test/src/Arduino.cpp
  65. +115 −0 extras/test/src/test_CloudColor.cpp
  66. +112 −0 extras/test/src/test_CloudFloat.cpp
  67. +119 −0 extras/test/src/test_CloudLocation.cpp
  68. +515 −0 extras/test/src/test_CloudSchedule.cpp
  69. +118 −0 extras/test/src/test_CloudWrapperFloat.cpp
  70. +84 −0 extras/test/src/test_addPropertyReal.cpp
  71. +346 −0 extras/test/src/test_callback.cpp
  72. +902 −0 extras/test/src/test_command_decode.cpp
  73. +1,392 −0 extras/test/src/test_command_encode.cpp
  74. +654 −0 extras/test/src/test_decode.cpp
  75. +519 −0 extras/test/src/test_encode.cpp
  76. +10 −0 extras/test/src/test_main.cpp
  77. +57 −0 extras/test/src/test_publishEvery.cpp
  78. +43 −0 extras/test/src/test_publishOnChange.cpp
  79. +61 −0 extras/test/src/test_publishOnChangeRateLimit.cpp
  80. +33 −0 extras/test/src/test_readOnly.cpp
  81. +33 −0 extras/test/src/test_writeOnChange.cpp
  82. +38 −0 extras/test/src/test_writeOnDemand.cpp
  83. +28 −0 extras/test/src/test_writeOnly.cpp
  84. +58 −0 extras/test/src/util/CBORTestUtil.cpp
  85. +20 −0 extras/test/src/util/PropertyTestUtil.cpp
  86. +4 −0 extras/tools/.gitignore
  87. +49 −0 extras/tools/README.md
  88. +63 −0 extras/tools/bin2ota.py
  89. +186 −0 extras/tools/lzss.c
  90. BIN extras/tools/lzss.dylib
  91. +31 −0 extras/tools/lzss.py
  92. BIN extras/tools/lzss.so
  93. +70 −0 keywords.txt
  94. +5 −4 library.properties
  95. +196 −0 src/AIoTC_Config.h
  96. +34 −0 src/AIoTC_Const.h
  97. +61 −0 src/ArduinoBearSSLConfig.h
  98. +27 −0 src/ArduinoECCX08Config.h
  99. +157 −309 src/ArduinoIoTCloud.cpp
  100. +166 −137 src/ArduinoIoTCloud.h
  101. +162 −0 src/ArduinoIoTCloudDevice.cpp
  102. +79 −0 src/ArduinoIoTCloudDevice.h
  103. +179 −0 src/ArduinoIoTCloudLPWAN.cpp
  104. +87 −0 src/ArduinoIoTCloudLPWAN.h
  105. +484 −0 src/ArduinoIoTCloudNotecard.cpp
  106. +134 −0 src/ArduinoIoTCloudNotecard.h
  107. +731 −0 src/ArduinoIoTCloudTCP.cpp
  108. +207 −0 src/ArduinoIoTCloudTCP.h
  109. +183 −0 src/ArduinoIoTCloudThing.cpp
  110. +69 −0 src/ArduinoIoTCloudThing.h
  111. +0 −100 src/CloudSerial.cpp
  112. +0 −59 src/CloudSerial.h
  113. +0 −102 src/ConnectionManager.h
  114. +0 −187 src/EthernetConnectionManager.h
  115. +0 −194 src/GSMConnectionManager.h
  116. +0 −189 src/WiFiConnectionManager.h
  117. +39 −0 src/cbor/CBOR.h
  118. +384 −0 src/cbor/CBORDecoder.cpp
  119. +86 −0 src/cbor/CBORDecoder.h
  120. +207 −0 src/cbor/CBOREncoder.cpp
  121. +91 −0 src/cbor/CBOREncoder.h
  122. +188 −0 src/cbor/IoTCloudMessageDecoder.cpp
  123. +74 −0 src/cbor/IoTCloudMessageDecoder.h
  124. +361 −0 src/cbor/IoTCloudMessageEncoder.cpp
  125. +115 −0 src/cbor/IoTCloudMessageEncoder.h
  126. +56 −0 src/interfaces/CloudProcess.h
  127. +40 −0 src/interfaces/MessageStream.h
  128. +163 −0 src/message/Commands.h
  129. +59 −0 src/ota/OTA.h
  130. +47 −0 src/ota/OTAConfig.h
  131. +78 −0 src/ota/OTATypes.h
  132. +118 −0 src/ota/implementation/OTAEsp32.cpp
  133. +43 −0 src/ota/implementation/OTAEsp32.h
  134. +142 −0 src/ota/implementation/OTANanoRP2040.cpp
  135. +51 −0 src/ota/implementation/OTANanoRP2040.h
  136. +203 −0 src/ota/implementation/OTASTM32H7.cpp
  137. +77 −0 src/ota/implementation/OTASTM32H7.h
  138. +97 −0 src/ota/implementation/OTASamd.cpp
  139. +52 −0 src/ota/implementation/OTASamd.h
  140. +208 −0 src/ota/implementation/OTAUnoR4.cpp
  141. +57 −0 src/ota/implementation/OTAUnoR4.h
  142. +237 −0 src/ota/interface/OTAInterface.cpp
  143. +190 −0 src/ota/interface/OTAInterface.h
  144. +303 −0 src/ota/interface/OTAInterfaceDefault.cpp
  145. +97 −0 src/ota/interface/OTAInterfaceDefault.h
  146. +410 −0 src/property/Property.cpp
  147. +271 −0 src/property/Property.h
  148. +164 −0 src/property/PropertyContainer.cpp
  149. +117 −0 src/property/PropertyContainer.h
  150. +29 −0 src/property/math_utils.h
  151. +78 −0 src/property/types/CloudBool.h
  152. +204 −0 src/property/types/CloudColor.h
  153. +188 −0 src/property/types/CloudFloat.h
  154. +222 −0 src/property/types/CloudInt.h
  155. +103 −0 src/property/types/CloudLocation.h
  156. +434 −0 src/property/types/CloudSchedule.h
  157. +92 −0 src/property/types/CloudString.h
  158. +222 −0 src/property/types/CloudUnsignedInt.h
  159. +38 −0 src/property/types/CloudWrapperBase.h
  160. +63 −0 src/property/types/CloudWrapperBool.h
  161. +66 −0 src/property/types/CloudWrapperFloat.h
  162. +63 −0 src/property/types/CloudWrapperInt.h
  163. +67 −0 src/property/types/CloudWrapperString.h
  164. +63 −0 src/property/types/CloudWrapperUnsignedInt.h
  165. +136 −0 src/property/types/automation/CloudColoredLight.h
  166. +47 −0 src/property/types/automation/CloudContactSensor.h
  167. +113 −0 src/property/types/automation/CloudDimmedLight.h
  168. +47 −0 src/property/types/automation/CloudLight.h
  169. +47 −0 src/property/types/automation/CloudMotionSensor.h
  170. +47 −0 src/property/types/automation/CloudSmartPlug.h
  171. +47 −0 src/property/types/automation/CloudSwitch.h
  172. +241 −0 src/property/types/automation/CloudTelevision.h
  173. +42 −0 src/property/types/automation/CloudTemperatureSensor.h
  174. +62 −0 src/tls/AIoTCSSCert.h
  175. +168 −0 src/tls/AIoTCUPCert.h
  176. +106 −0 src/tls/BearSSLClientProfile.c
  177. +40 −0 src/tls/BearSSLClientProfile.h
  178. +111 −0 src/tls/BearSSLTrustAnchors.h
  179. +80 −0 src/tls/utility/TLSClientMqtt.cpp
  180. +78 −0 src/tls/utility/TLSClientMqtt.h
  181. +64 −0 src/tls/utility/TLSClientOta.cpp
  182. +103 −0 src/tls/utility/TLSClientOta.h
  183. +0 −970 src/utility/ECCX08Cert.cpp
  184. +0 −135 src/utility/ECCX08Cert.h
  185. +0 −105 src/utility/ECCX08TLSConfig.h
  186. +0 −74 src/utility/NTPUtils.cpp
  187. +0 −23 src/utility/NTPUtils.h
  188. +112 −0 src/utility/time/NTPUtils.cpp
  189. +64 −0 src/utility/time/NTPUtils.h
  190. +64 −0 src/utility/time/RTCMillis.cpp
  191. +50 −0 src/utility/time/RTCMillis.h
  192. +429 −0 src/utility/time/TimeService.cpp
  193. +82 −0 src/utility/time/TimeService.h
  194. +165 −0 src/utility/watchdog/Watchdog.cpp
  195. +37 −0 src/utility/watchdog/Watchdog.h
7 changes: 7 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# See: https://github.com/codespell-project/codespell#using-a-config-file
[codespell]
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
ignore-words-list = alocation,bu,wan
check-filenames =
check-hidden =
skip = ./.git,./extras/test/external,./src/cbor/lib/tinycbor,./src/tls/bearssl
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See: https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#about-the-dependabotyml-file
version: 2

updates:
# Configure check for outdated GitHub Actions actions in workflows.
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/dependabot/README.md
# See: https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
- package-ecosystem: github-actions
directory: /.github/workflows/
schedule:
interval: daily
labels:
- "topic: infrastructure"
27 changes: 27 additions & 0 deletions .github/workflows/check-arduino.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Check Arduino

# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on:
push:
pull_request:
schedule:
# Run every Tuesday at 8 AM UTC to catch breakage caused by new rules added to Arduino Lint.
- cron: "0 8 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: Arduino Lint
uses: arduino/arduino-lint-action@v2
with:
compliance: specification
library-manager: update
# Always use this setting for official repositories. Remove for 3rd party projects.
official: true
Loading