Azure / azure-iot-arduino

Azure IoT library for the Arduino
Other
167 stars 96 forks source link

Arduino MKR WIFI 1010 Support #134

Open mgungorchamp opened 2 years ago

mgungorchamp commented 2 years ago

I have Arduino MKR WiFi 1010 - which is better than the WiFI 1000 since it has also a Bluetooth module.

But MKR WIFI 1010 uses WiFiNINA.h instead of WiFi101.h

I added these lines where appropriate.

elif ARDUINO_SAMD_MKRWIFI1010

include

but it still did not cooperate, silently did not connect always give me connection errors.

If you can add this support that would be a great addition.

Thank you

I got help from this rep, I always get "Failure creating Iothub device. Hint: Check your connection string."

Ref: https://github.com/microsoft/IoT-For-Beginners/blob/main/2-farm/lessons/4-migrate-your-plant-to-the-cloud/wio-terminal-connect-hub.md