firedog1024 / arduino-uno-wifi-iotc Goto Github PK
View Code? Open in Web Editor NEWHow to get an Arduino Uno WiFi Rev2 board to talk to Azure IoT Central
How to get an Arduino Uno WiFi Rev2 board to talk to Azure IoT Central
The mqtt_client doesn't connect.
I am constantly getting mqtt failed, rc=-1
Can you please verify that it still works with IoT Central as you describe?
Hello,
I am porting this project to work on the Arduino Uno connected to the esp8266, which is used as wifi module. Because of the Uno's limited memory, I am only uploading telemetry to IoT central.
I am trying to connect to IoT central but with no success. I am really confused as to how I connect to this service. I found out that using dps_keygen to generate the connection string, as used in this project, is a deprecated feature as of January 31st 2020 (https://github.com/Azure/dps-keygen#usage). The way they suggest is to use dps_keygen to generate the device SAS key right away. However this is different from the shared access key from the connection string.
I am confused as to how to get the host name, how to generate the SAS token and how to connect to IoT central. I can't find a complete guide.
Any up-to-date help appreciated!
Hello,
I tried using this example recently and I get an error saying "mqtt connection failed, rc = -2". I tried generating the SAS key using the new azure tools and the instructions provided here and tried using the new api in the user-id as well and it still didn't work.
I tried updating the firmware of my arduino uno wifi rev2 as well.
Hi,
I get
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.
By breaking the code into pieces and trying, I found out that the problem is in setup, at lines:
mqtt_client->setCallback(callback);
and
String sasToken = createIotHubSASToken(devKey, url, expire);
Can you give any help on this? Maybe I need the right version of a library to get this to work?
I am using an arduino uno wifi rev2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.