You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,9 @@
4
4
5
5
This code wraps all the functions necessary to make your object work with Live Objects.
6
6
7
-
You can declare parameters, which you can later update OTA from Live objects. You can also create commands to trigger actions remotely.
8
-
The code will manage the LTE-M, GSM and WiFi connection(depending on currently used board), as well MQTT and SMS exchanges with Live objects under the hood to keep your parameters up to date or execute the commands received without you having to take care of them (apart from writing the code of these commands, of course).
7
+
You can declare parameters, which you can later update OTA from Live objects. You can also create commands to trigger actions remotely.
8
+
9
+
The code will manage the LTE-M, GSM and WiFi connection (depending on currently used board), as well MQTT(S) and SMS exchanges with Live objects under the hood to keep your parameters up to date or execute the commands received without you having to take care of them (apart from writing the code of these commands, of course).
9
10
10
11
## Compatibility ##
11
12
| Board | MQTT | MQTTS | SMS |
@@ -16,7 +17,7 @@ The code will manage the LTE-M, GSM and WiFi connection(depending on currently u
16
17
| Arduino MKR 1500 NB | OK | OK | OK |
17
18
| Arduino MKR VIDOR 4000 | OK | OK*| - |
18
19
| Arduino Nano 33 IoT | OK | OK | - |
19
-
| ESP8266 Boards | OK |-| - |
20
+
| ESP8266 Boards | OK |OK**| - |
20
21
| ESP32 Boards | OK | OK | - |
21
22
| Adafruit Feather M0 WiFi| OK | OK | - |
22
23
| Adafruit Feather 32u4 | OK | - | OK |
@@ -60,6 +61,26 @@ This code needs 2 ~~3~~ external libraries to run, that you can install using th
60
61
Line ~165 - m_Fona.setGPRSNetworkSettings(F("APN"), F(""), F(""));
61
62
5. Import library into the Arduino IDE, to do this select: *Sketch-> Include Library-> Add .ZIP Library* and select folder which you cloned in the previous step(actually it doesn't need to be .ZIP-ed to be imported). After successful import you should see example sketches in *File->Examples->LiveObjectsSDK*
62
63
64
+
6. Modules MKR 1010 WiFi, MKR VIDOR 4000, Nano 33 IoT should work "out of the box" using MQTTS. If not, you need to upgrade theirs firmwares and certificates using embedded updater in Arduino IDE:
65
+
*Tools -> WiFi101/WiFiNINA Firmware Updater*.
66
+
67
+
**Optionally for ESP8266 for getting MQTTS:
68
+
69
+
ESP8266 can use MQTT as default. If you want to use MQTTS, you need to do below steps.
70
+
71
+
Install [**ESP8266 updater**](https://github.com/esp8266/arduino-esp8266fs-plugin) plugin for Arduino IDE.
72
+
73
+
File `certs.ar` containing necessary certificates is included in this repository.
74
+
75
+
Below procedure run once, puts file containing certificates in ESP8266 filesystem:
76
+
- run Arduino IDE,
77
+
- create a new (empty) sketch (eg. ***ESP8266fs.ino***),
78
+
- save it in some folder (eg. ***certificates***),
79
+
- create subfolder ***data*** in prepared folder ***certificates***,
80
+
- put file `certs.ar` (please do not change name because it is called by SDK) into ***data*** subfolder,
81
+
- open sketch ***ESP8266fs.ino*** (if necessary),
82
+
- close Serial Monitor (if opened),
83
+
- use tool to upload : *Tools -> ESP8266 Sketch Data Upload*.
0 commit comments