Releases: arduino-libraries/ArduinoIoTCloud
0.8.1
0.8.0
BREAKING CHANGES:
The code which handles WiFi and GSM connections as well as the code which handles the debug and status messages have until now been a part of the ArduinoIoTCloud
library. This is no longer the case. In order to simplify ArduinoIoTCloud
and allow the easy addition of new connection types the code responsible for connection handling has been put into a separate Arduino library Arduino_ConnectionHandler. Similiarly the code responsible for debug and status messages has been put into a separate Arduino library Arduino_DebugUtils.
Unfortunately those changes break compatibility with already existing sketches which is why you need to make the following adjustments to get your code to compile again:
- Modify
thingProperties.h
MKR1000/MKR WiFi 1010
-#include <GSMConnectionManager.h>
+#include <Arduino_ConnectionHandler.h>
...
-ConnectionManager * ArduinoIoTPreferredConnection = new WiFiConnectionManager(SSID, PASSWORD);
+WiFiConnectionHandler ArduinoIoTPreferredConnection(SSID, PASSWORD);
MKR GSM 1400
-#include <WiFiConnectionManager.h>
+#include <Arduino_ConnectionHandler.h>
...
-ConnectionManager * ArduinoIoTPreferredConnection = new GSMConnectionManager(SECRET_PIN, SECRET_APN, SECRET_LOGIN, SECRET_PASS);
+GSMConnectionHandler ArduinoIoTPreferredConnection(SECRET_PIN, SECRET_APN, SECRET_LOGIN, SECRET_PASS);
Also there is no longer a need for the cloud specific Arduino library ArduinoIoTCloudBearSSL. It is replaced with the general purpose Arduino port of BearSSL ArduinoBearSSL.
If you are compiling your sketches on the Arduino Create platform the new libraries Arduino_ConnectionHandler, Arduino_DebugUtils and ArduinoBearSSL have already been installed for you. If you are working on your PC those libraries need to be installed, e.g. via the library manager.
0.7.0
- add nano iot connection support [WIP]
0.6.1
- Multi-Value-Property sketch has been added to Travis CI build
arduino-cli
is used for CI build instead ofArduino IDE CLI
- Travis build is executed with stronger compile time checks (
arduino-cli compile --warnings all
) - Problems uncovered by stronger compile time checks have been fixed
- Dependencies for CI build are fetched directly from github instead of a download via library manager to reduce wait time when fixing issues in dependent libraries
- Reduction of the available signatures for
update
0.6.0
- Make CI code formatting check support spaces in path
- Multi value properties management
0.5.11
Refactoring source code and automatic coding style check for PRs via Travis and Astyle
0.5.10 Releasing v0.5.10
Improved debug module
- Reduce debug code within business logic by providing a debug function with variadic arguments
- Redirect the output stream to any output device derived from 'Stream'
Fix empty topic issue
- Changes to Device Shadow sync did not account for cases in which the MQTT topic was empty
- minor cosmetic changes
Travis CI Build for ArduinoIoTCloud
- Adding example used in conjunction with Travis CI to verify that no user facing API changes have been made
- Enable compilation of examples for both WiFi and GSM enabled boards
- Adding .travis.yml for automatic CI build of ArduinoIoTCloud
- Adding build badge to README