Skip to content

Commit 3ac5c05

Browse files
committed
Examples: add Cellular support
1 parent 353fd25 commit 3ac5c05

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/compile-examples.yml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- name: MKRGSM
3535
- name: MKRNB
3636
- name: MKRWAN
37+
- name: Arduino_Cellular
3738
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
3839
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
3940
SKETCHES_REPORTS_PATH: sketches-reports

examples/ConnectionHandlerDemo/ConnectionHandlerDemo.ino

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ NBConnectionHandler conMan(SECRET_PIN);
4343
LoRaConnectionHandler conMan(SECRET_APP_EUI, SECRET_APP_KEY);
4444
#elif defined(BOARD_HAS_CATM1_NBIOT)
4545
CatM1ConnectionHandler conMan(SECRET_APN, SECRET_PIN, SECRET_GSM_USER, SECRET_GSM_PASS);
46+
#elif defined(BOARD_HAS_CELLULAR)
47+
CellularConnectionHandler conMan(SECRET_PIN, SECRET_APN, SECRET_GSM_USER, SECRET_GSM_PASS);
4648
#endif
4749

4850
void setup() {

0 commit comments

Comments
 (0)