Giter Site home page Giter Site logo

arduino-uno-wifi-iotc's Issues

MQTT connection error

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.

It doesn't compile

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.

Connecting to Azure IoT Central using Arduino Uno

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!

Can't get mqtt to connect

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.