Azure,Android,Raspberry pi

241 views Asked by At

As I am new to this profession, I wanted the LED on the raspberry pi to be controlled using the android phone through AZURE IOT hub. How can I connect both the hardware and android application to the single lot hub? which one should we use services bus or event hub?

1

There are 1 answers

1
Rita Han On

You can try the following two methods:

  1. Use service bus:

For Raspbian side, you can follow "Using Service Bus from Python with AMQP 1.0".

For Android side, you can follow "Using Service Bus / EventHub from Android devices"

  1. Use event hub:

For Raspbian side, you can follow "Microsoft Azure IoT SDKs and libraries for C".

For Android side, you can follow "Using the Azure IoT SDK in Android"