-
Notifications
You must be signed in to change notification settings - Fork 95
AzureIoTSocket_WiFi library is missing #102
Comments
It seems like the repo isn't available any more, but there is a copy of the library at https://github.com/Azure/azure-iot-pal-arduino/tree/master/build_all/base-libraries/AzureIoTSocket_WiFi I'm pretty sure this is just an issue with the ESP32 platform, since the ESP8266 and SAMD code in the AzureIoTUtility library (which fails to compile here) doesn't reference it - probably because it only acts as an include for the platform appropriate wifi library. |
Yes, the current process to obtain this library is to do so manually, by running the make_sdk.py to build the libraries and add them to your Arduino libraries folder. Instructions are here: https://github.com/Azure/azure-iot-pal-arduino/blob/master/build_all/base-libraries/AzureIoTHub/README.md#prerequisites |
Thanks guys |
@jbobotek Can we make the libraries available through the library manager? It is an extra hassle to go though building them manually :-( |
Hi, would you please be able to assist with a step by step description on how to build the library? I have downloaded the repo, went into build_all as described in the Prerequisites, however there is no make_sdk.py file so I am a little stuck. Thank you for your help. |
Did you git clone the pal-Arduino repo linked above? |
Hi jbobotek, I did git clone the pal-arduino now. While trying to build I got the following error: File "make_sdk.py", line 196, in I presume I need to git clone the entire sdk at some specific location? As I said first time doing this, so not that experienced. |
Yes. Call git submodule update --init --recursive. |
or git clone --recursive <this-repo.git> |
Hi jbobotek, I am maybe one step further but still not there. After using git clone --recursive https://github.com/Azure/azure-iot-pal-arduino.git, I have now a combination of the repo here above and the sdk. However when I run python make_sdk.py -o C:\Users\xxxxx\Documents\Arduino\Azure-iot-arduino, I still get the following error, since there is no such "inc" dir in the iothub_client. |
This means that the submodules weren't actually downloaded. The folder exists: https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/inc Try the other command while in the git repo. |
After cloning a second time, the "inc" directory appeared and I could compile the library. Thank you so much for your help, I learned a lot. Now my code is breaking but one thing at the time ;-). I will try the example and get started again from there. Thx. |
Hi guys
I was trying to connect my esp32 to azure iot hub.
but when installing AzureIoTSocket_WiFi from the library manger in arduino i couldn't find it
as this guid said https://github.com/azure/azure-iot-arduino
and on compiling of course this error pops up "fatal error: AzureIoTSocket_WiFi.h: No such file or directory".
i tried to search for the missing library but i had no luck finding it.
The text was updated successfully, but these errors were encountered: