Azure-Samples / iot-hub-c-raspberrypi-client-app

Application collects weather data from a BME280 sensor and sends it to IoT hub, also take actions according to cloud-to-device message, device management.
https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-raspberry-pi-kit-c-get-started
MIT License
36 stars 34 forks source link

Added a script to get parson files #30

Closed Alberto-Vega closed 5 years ago

Alberto-Vega commented 5 years ago

Addressing issues due to missing parson.h and parson.c files MicrosoftDocs/azure-docs#23151 MicrosoftDocs/azure-docs#22810 https://github.com/MicrosoftDocs/azure-docs/issues/24308

Apparently Parson it is not available in the SDK anymore it was hidden in this PR Hide parson library in .so. Version and install .so files properly more detail on this issue here Azure/azure-iot-sdk-c#490 https://github.com/Azure-Samples/iot-hub-c-raspberrypi-client-app/issues/27 https://github.com/Azure-Samples/iot-hub-c-raspberrypi-client-app/issues/25

Note this only fixes the parson error. Once resolved there is another ongoing issue with missing xlogging.h see https://github.com/Azure-Samples/iot-hub-c-raspberrypi-client-app/issues/22

yzhong94 commented 5 years ago

Trying this now. @massand @jebrando as fyi

yzhong94 commented 5 years ago

Confirming that adding parson works. @shizn I don't have the right to merge this, can you take a look at it and merge it?

We will also review this sample fully, but I'd like to unblock customers first.