Comments (10)
Hey Richard, are you using the m0 sample (this repo) with the Huzzah, or the Huzzah sample/instructions?
https://github.com/Azure-Samples/iot-hub-c-huzzah-getstartedkit
from iot-hub-c-m0wifi-getstartedkit.
I'm using the https://github.com/Azure-Samples/iot-hub-c-huzzah-getstartedkit sample and instructions.
from iot-hub-c-m0wifi-getstartedkit.
Great. Also verify you have the Huzzah selected from the board selection UI in your Arduino IDE - that is the most likely reason it would try to use the incorrect headers as they are selected in httpsclient.h based on the type of board you are compiling for.
from iot-hub-c-m0wifi-getstartedkit.
Oh - Sorry Richard, I suspect these instructions were incorrect and led you to install the Azure IoT Library from the Arduino UI - this version looks to be not refreshed with the latest for the Huzzah yet. You should remove the existing AzureIoT library with the library manager, and download the library from https://github.com/stefangordon/AzureIoT by cloning the repo, or just downloading it as zip from https://github.com/stefangordon/AzureIoT/archive/master.zip and placing the AzureIot folder in C:\Program Files (x86)\Arduino\libraries
and restarting the IDE.
I have just updated the readme at https://github.com/stefangordon/AzureIoT.
ETA for the library to be available from the Arduino UI is end of day Monday.
from iot-hub-c-m0wifi-getstartedkit.
The library manager doesn't appear to allow the uninstall of the AzureIoT library that's already there so I have copied the new AzureIoT folder into Program Files (x86)\Arduino\libraries and there are a load of compile errors starting with;
C:\Program Files (x86)\Arduino\libraries\AzureIoT\src\esp8266\libc_esp.c: In function 'fprintf':
C:\Program Files (x86)\Arduino\libraries\AzureIoT\src\esp8266\libc_esp.c:19:5: error: incompatible type for argument 2 of 'ets_vprintf'
ret = ets_vprintf(format, arglist);
It ends by saying;
Multiple libraries were found for "AzureIoT.h"
Used: C:\Program Files (x86)\Arduino\libraries\AzureIoT
Not used: C:\Users\Documents\Arduino\libraries\AzureIoT
Unless you have any other suggestions I'll remove Arduino IDE and start again when I have time.
from iot-hub-c-m0wifi-getstartedkit.
Ack - I've gotten to the bottom of it now. You caught us between versions trying to catch up with some breaking changes in the ESP8266 board libraries. I apologize for all the trouble - I have reproduced the error you got and confirmed the fix.
If you'll switch over to the official library now it is compatible with the ESP8266 2.2.0 board you have installed.
This means downloading from the official rather than my fork
https://github.com/arduino-libraries/AzureIoT/archive/master.zip
and replacing the bits you put in your Arduino\libraries with it.
We'll have all this straightened out within a day or so - thanks for raising the issue so we can get it cleaned up.
from iot-hub-c-m0wifi-getstartedkit.
Next issue you might run into is the DHT22 remote monitoring sample in those instructions being outdated - I'm verifying that now.
from iot-hub-c-m0wifi-getstartedkit.
Instructions and remote monitoring sample are updated in the quick start at https://github.com/Azure-Samples/iot-hub-c-huzzah-getstartedkit to reflect using the latest library and some tweaks to the .ino to be compatible.
from iot-hub-c-m0wifi-getstartedkit.
I've updated the files and its all working fine now and I can see data from the sensors being displayed in the Azure IoT Suite dashboard! Huzzah! Thank you Stefan.
from iot-hub-c-m0wifi-getstartedkit.
Perfect, thanks Richard.
from iot-hub-c-m0wifi-getstartedkit.
Related Issues (20)
- bower is depends on git command line HOT 1
- config.json needs to be explained HOT 2
- Duplicate instructions on how to add arduino libraries HOT 1
- Folder name that contains command-center.ino should match filename
- default value of storageTable in config.json causes error HOT 1
- Turn On / Turn Off - What is it in the webpage?
- ASA can't access IoT hub
- Stream Analytics Query Relies on Missing Fields
- Device in server.js consumes all C2D messages HOT 2
- How do you "stop solution" HOT 2
- Provisioning failed due to Bing Maps HOT 1
- Unclear reference to "Device Connection String" HOT 1
- Issues with arduino-libraries/AzureIoT zip HOT 1
- Cannot compile: fatal error: Adafruit_Sensor.h: No such file or directory HOT 3
- Remote Monitoring Sample: unable to HTTPAPIEX_ExecuteRequest after a while HOT 1
- TLS failed to start the connection process. HOT 23
- Receive commands only once, and only one HOT 2
- Broken Link
- Automatic stopping of Azure resources.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-hub-c-m0wifi-getstartedkit.