Git Product home page Git Product logo

Comments (3)

firedog1024 avatar firedog1024 commented on September 26, 2024

The code was designed to work against Azure IoT Central (https://azure.microsoft.com/en-us/services/iot-central/). The ScopeID is specific to IoT Central as we use the Device Provisioning Service to get the IoT Hub to connect to. To make this work with a regular Azure IoT Hub you will need to change the code so it works like a MKR1000 (due to technical issues we cannot get this device to work with DPS yet so it drops back to a connection string). Look at the code in mkr10x0_iotc.ino and change line 25 to be mkr_devices mkrdevice = MKR1000; Then paste in the device connection string into line 5 of configure.h and you should be good to go!

from mkr1000-iotc.

jpagliaccio avatar jpagliaccio commented on September 26, 2024

Hey FD: Thanks. That worked. I get:

Sending telemetry ...
{"temp": 62.12, "humidity": 67.22}
--> IoT Hub acknowledges successful receipt of twin property: 2

I am going to try to understand your code a little better and pull out some of the Central code. I am preparing for the MKR 1500 when it starts to ship.

Thanks again.

from mkr1000-iotc.

firedog1024 avatar firedog1024 commented on September 26, 2024

Excellent, glad I could help you out. Yes you can pull out the code specific to IoT Central and reduce the firmware size. We're also excited for the MKR1500 as it opens up low power communication to Azure IoT. If you run into any other problems feel free to ping me and I'll try and help out. For now I'm going to close this issue.

from mkr1000-iotc.

Related Issues (11)

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.