Hi @Anonymous Thank you for your response and providing more details. The error message you see indicates that the code has a dependency on blob.h header file which seems to be missing. The header file on the repo is located in the internal/blob.h path.
I would like to know if you can verify the code successfully using Arduino IDE without any errors. This will indicate if the code has any missing dependencies. If the code compiles without any issues, you will see an output similar to below in the output monitor of the Arduino IDE.
May I also know if there is any specific reason why you are trying to connect ESP8266 device to Azure IoT Hub through a gateway device? ESP8266 does support Wi-Fi comunication and there is a compatible SDK available for Arduino through which you can communicate with Azure IoT Hub directly from ESP8266 device. Here is the link to instructions on how to set up and use ESP8266 azure-sdk-for-c-arduino I want to check with you and see if you are aware of this direct approach. I have tested this approach and could send the data from ESP8266 device to my Azure IoT Hub without any issues. Please let me know if this is an approach you might be interested in.
Kindly let us know if you still encounter any issues after testing the code by including the missing dependencies. We would be glad to work with you on this.