Skip to content

Commit 88dd491

Browse files
committed
Example fix params order for GSMConnectionHandler and CatM1ConnectionHandler
1 parent 5022993 commit 88dd491

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ConnectionHandlerDemo/ConnectionHandlerDemo.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ EthernetConnectionHandler conMan(SECRET_IP, SECRET_DNS, SECRET_GATEWAY, SECRET_N
3636
#elif defined(BOARD_HAS_WIFI)
3737
WiFiConnectionHandler conMan(SECRET_SSID, SECRET_PASS);
3838
#elif defined(BOARD_HAS_GSM)
39-
GSMConnectionHandler conMan(SECRET_APN, SECRET_PIN, SECRET_GSM_USER, SECRET_GSM_PASS);
39+
GSMConnectionHandler conMan(SECRET_PIN, SECRET_APN, SECRET_GSM_USER, SECRET_GSM_PASS);
4040
#elif defined(BOARD_HAS_NB)
4141
NBConnectionHandler conMan(SECRET_PIN);
4242
#elif defined(BOARD_HAS_LORA)
4343
LoRaConnectionHandler conMan(SECRET_APP_EUI, SECRET_APP_KEY);
4444
#elif defined(BOARD_HAS_CATM1_NBIOT)
45-
CatM1ConnectionHandler conMan(SECRET_APN, SECRET_PIN, SECRET_GSM_USER, SECRET_GSM_PASS);
45+
CatM1ConnectionHandler conMan(SECRET_PIN, SECRET_APN, SECRET_GSM_USER, SECRET_GSM_PASS);
4646
#endif
4747

4848
void setup() {

0 commit comments

Comments
 (0)