Arduino MKR1500

Hello there!
I have problems bringing an Arduino MKR 1500 and Cayenne MQT together.
I modified the Cayenne Sample “GSM.ino” (see attached file)
Console output is like this:
RS232 Ready
Sara reset done…
[7642] Initializing modem
[7643] ### TinyGSM Version: 0.7.9
[7660] ### Modem: u-blox SARA-R410M-02B
[7664] Waiting for network
[51462] Connecting to GPRS
[51513] Connected to GPRS
[51520] IP: XXXX
[51520] Connecting to mqtt.mydevices.com:1883
[126545] Network connect failed

So it seems like GPS connection is working but I can’t get a MQTT connection.

I have already done/checked:

  • provider is https://1nce.com/ => I can see that device is online / Arduino console IP is matching
  • double check Cayenne authenticat ion
  • delete an create a new device in dashboard

Thanks for your Support!

CayenneMKR1500.txt (2.9 KB)

the CayenneMQTTGSM is based on GitHub - vshymanskyy/TinyGSM: A small Arduino library for GSM modules, that just works library, so all supported device by tiny gsm are supported by cayenne.