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
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,10 @@ The code will manage the LTE-M, GSM and WiFi connection(depending on currently u
16
16
| Arduino MKR 1500 NB | OK | OK | OK |
17
17
| Arduino MKR VIDOR 4000 | OK | OK*| - |
18
18
| Arduino Nano 33 IoT | OK | OK | - |
19
-
| ESP8266 Boards(Beta) | OK | - | - |
19
+
| ESP8266 Boards | OK | - | - |
20
+
| ESP32 Boards | OK | OK | - |
21
+
| Adafruit Feather M0 WiFi| OK | OK | - |
22
+
| Adafruit Feather 32u4 | OK | - | OK |
20
23
21
24
## Prerequisites/dependecies ##
22
25
This code needs 2 ~~3~~ external libraries to run, that you can install using the built-in [Library Manager](https://www.arduino.cc/en/guide/libraries) of the Arduino IDE.
@@ -31,11 +34,11 @@ This code needs 2 ~~3~~ external libraries to run, that you can install using th
31
34
32
35
\* currently integrated into this SDK, until https://github.com/arduino-libraries/ArduinoMqttClient/pull/44 fix will be merged
33
36
34
-
#### Library For ESP8266 boards
37
+
#### Library for ESP8266 and ESP32 boards
35
38
-[PubSubClient](https://pubsubclient.knolleary.net/) library provides a client for doing simple publish/subscribe messaging with a server that supports MQTT
36
39
37
40
#### Library developed by Benoît Blanchon*
38
-
*mandatory for both Arduinoand ESP boards
41
+
*mandatory for both Arduino, ESP and Adafruit boards
39
42
-[ArduinoJson](https://arduinojson.org/), a powerful library used to parse, store and handle JSON easily
40
43
41
44
#### SAMD21 Arduino core
@@ -48,7 +51,13 @@ This code needs 2 ~~3~~ external libraries to run, that you can install using th
48
51
3. Clone or download the directory from Github.
49
52
4. In the **'src/arduino_secrets.h'** file :
50
53
- Paste it as initialization value for the `SECRET_LIVEOBJECTS_API_KEY` variable in the 'arduino_secrets.h' file -keep the double quotes!
54
+
55
+
In case of feather 32u4 you have to change type of this variable to char* from String
51
56
- Fill in the connection(WIFI or GSM) credentials if needed (pin code, APN information, etc). In case of GSM connection, most of the time, APN will set up automatically. Your SIM card may have a default pin code (like "0000"), unless you deactivated it using the [Pin management](https://github.com/arduino-libraries/MKRNB/blob/master/examples/Tools/PinManagement/PinManagement.ino) sketch, provided with the MKRNB library.
57
+
58
+
In case of feather32u4 you have to change APN in library file LiveObjectsFona.cpp
59
+
60
+
Line ~165 - m_Fona.setGPRSNetworkSettings(F("APN"), F(""), F(""));
52
61
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*
0 commit comments