Azure / azure-iot-arduino

Azure IoT library for the Arduino
Other
167 stars 96 forks source link

blob.h is missing #123

Open rezaneam opened 3 years ago

rezaneam commented 3 years ago

In iothub_client_ll_uploadtoblob.c we are including #include "internal/blob.h" while the header file doesn't exist.

peter-bloomfield commented 3 years ago

You may need to configure the board library. Instructions are in the readme for this repo. Follow step 5 or 6 under "Simple Sample Instructions" for ESP8266 or ESP32.

ghost commented 3 years ago

hello @peter-bloomfield, I'm facing the same issue as @rezaneam C:\ ............ \Arduino\libraries\AzureIoTHub\src\iothub_client_ll_uploadtoblob.c:26:27: fatal error: internal/blob.h: No such file or directory

I checked out this same issue ( opened ) so I rechecked all Instructions as asked in the readMe but Yaa still error is the same.

@rezaneam if you solved out then point out here what we are missing

rezaneam commented 3 years ago

@SS-iot-devoted I am using PlatformIO, I just add this line in the ini file then it works fine.

build_flags = -DDONT_USE_UPLOADTOBLOB -DUSE_BALTIMORE_CERT -DUSE_MBEDTLS

ghost commented 3 years ago

In which file you add these flags ?? in platform.local.txt or in platform.txt

rezaneam commented 3 years ago

@SS-iot-devoted As I mentioned I am using PlatformIO. So I can configure the build in the platformio.ini file.