question

altusbaard avatar image
0 Votes"
altusbaard asked SatishBoddu-MSFT commented

Using WiringPi on Azure IoT edge with VCpkg in a C module

Hey everyone,

So this is something that is clearly above my pay grade.

I would like to create a IoT module that I can deploy to a raspberry Pi running raspbian, but I need to make use of the Azure IoT C sdk as well as wiring pi so that I can reuse a previous C program that we have built.

Now I have been struggling with this for the last 2 weeks and I cant seem to get everything lined up. I am not sure if I need to create a docker image based on raspbian so that I have easy access to the wiring pi library, but then have issues with VCpkg for the IoT sdk, or if I should go with an ubuntu based image which allows easy access to VCpkg, but then I have to somehow manually add the wiringpi library.

If anyone could point me in the right direction, I would greatly appreciate it.

azure-iot-edge
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@altusbaard , Sorry for the delay in responding, Could you please let us know what documentation you have followed so far, it would help us better understand your issue and get started on this. We see that the same question is also posted on Stack Overflow


0 Votes 0 ·

Hi @altusbaard, Just checking back! please let us know if you are still stuck and we would be happy to help you on this issue.

0 Votes 0 ·

Hi @altusbaard, We did not heard back from you, could you please let us know if you need further help in this matter.

0 Votes 0 ·

Hello @altusbaard ,Could you please accept your response as 'Answer', which will be very helpful to others with similar question. So that we can close this thread.

0 Votes 0 ·
altusbaard avatar image
0 Votes"
altusbaard answered asergaz commented

I ended up using a python based module, as this allowed most of the capabilities out of the box for me

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for sharing your workaround @altusbaard can you please mark this as the answer? Happy coding :)!

0 Votes 0 ·
SatishBoddu-MSFT avatar image
1 Vote"
SatishBoddu-MSFT answered SatishBoddu-MSFT published

Hello @altusbaard, Could you please refer the documentation on Microsoft- Browse code samples- azure-iot-edge. This document will get you started with Microsoft developer tools and technologies. You can explore samples and discover the things you can build.

You can also visit Hackster.io for example project titled-- Azure IoT Edge "for Dummies" - Blink an LED and you can also search for other projects as well to get started.

Please let us know if you need further help in this matter, we are happy to help you get started!




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.