Skip to content

Commit 13675d0

Browse files
authored
Merge pull request #1 from arduino-libraries/master
Update repo
2 parents 5bdc209 + f4d07c8 commit 13675d0

11 files changed

+1740
-49
lines changed

.github/workflows/compile-examples.yml

+19-9
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ jobs:
2121
UNIVERSAL_LIBRARIES: |
2222
# Install the ArduinoIoTCloud library from the repository
2323
- source-path: ./
24-
- source-url: https://github.com/arduino-libraries/Arduino_ConnectionHandler.git
25-
version: latest
24+
- name: Arduino_ConnectionHandler
2625
- name: Arduino_DebugUtils
2726
- name: ArduinoMqttClient
2827
# sketch paths to compile (recursive) for all boards
@@ -35,9 +34,9 @@ jobs:
3534

3635
matrix:
3736
board: [
38-
{"fqbn": "arduino:samd:mkr1000", "type": "wifi"},
39-
{"fqbn": "arduino:samd:mkrwifi1010", "type": "wifi"},
40-
{"fqbn": "arduino:samd:nano_33_iot", "type": "wifi"},
37+
{"fqbn": "arduino:samd:mkr1000", "type": "mkr1000"},
38+
{"fqbn": "arduino:samd:mkrwifi1010", "type": "nina"},
39+
{"fqbn": "arduino:samd:nano_33_iot", "type": "nina"},
4140
{"fqbn": "arduino:samd:mkrwan1300", "type": "wan"},
4241
{"fqbn": "arduino:samd:mkrgsm1400", "type": "gsm"},
4342
{"fqbn": "arduino:samd:mkrnb1500", "type": "nb"},
@@ -48,19 +47,30 @@ jobs:
4847

4948
# make board type-specific customizations to the matrix jobs
5049
include:
51-
# WiFi boards
50+
# MKR 1000
5251
- board:
53-
type: "wifi"
52+
type: "mkr1000"
5453
platforms: |
5554
# Install Arduino SAMD Boards via Boards Manager for the toolchain
5655
- name: arduino:samd
5756
libraries: |
5857
- name: ArduinoECCX08
5958
- name: RTCZero
6059
- name: WiFi101
61-
- source-url: https://github.com/arduino-libraries/WiFiNINA.git
62-
- name: Arduino_MKRMEM
6360
sketch-paths: '"examples/utility/Provisioning"'
61+
# MKR WiFi 1010, Nano 33 IoT
62+
- board:
63+
type: "nina"
64+
platforms: |
65+
# Install Arduino SAMD Boards via Boards Manager for the toolchain
66+
- name: arduino:samd
67+
libraries: |
68+
- name: ArduinoECCX08
69+
- name: RTCZero
70+
- name: WiFiNINA
71+
- name: Arduino_JSON
72+
- name: ArduinoBearSSL
73+
sketch-paths: '"examples/utility/Provisioning" "examples/utility/SelfProvisioning"'
6474
# LoRaWAN boards
6575
- board:
6676
type: "wan"

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `ArduinoIoTCloud` library is the central element of the firmware enabling ce
1414
* **LoRa**: [`MKR WAN 1300/1310`](https://store.arduino.cc/mkr-wan-1310)
1515

1616
### How?
17-
1) Register your Arduino IoT Cloud capable board via [Device Manager](https://create.arduino.cc/devices).
17+
1) Register your Arduino IoT Cloud capable board via [Arduino IoT Cloud](https://create.arduino.cc/iot) (Devices Section).
1818
2) Create a new logical representation known as a [Thing](https://create.arduino.cc/iot/things).
1919

2020
### Arduino IoT Cloud Components
@@ -64,3 +64,10 @@ void onLedChange() {
6464
digitalWrite(LED_BUILTIN, led);
6565
}
6666
```
67+
68+
### FAQ
69+
* Device can not subscribe to `THING_ID`
70+
```
71+
ArduinoIoTCloudTCP::handle_SubscribeMqttTopics could not subscribe to /a/t/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/e/i
72+
```
73+
In this case either the device has not been associated with the thing within the Arduino IoT Cloud GUI configuration or there's a typo in the thing id.

0 commit comments

Comments
 (0)