Reputation:
I am Using Azure IoT Hub, which is Connected with Rasberry Pi. Rasberry Pi device sending data to my AzureIoT hub.
My Question is , How to access the Azure IoT hub data in to my Cordova Project ?. here , I am using AngularJs , Cordova, Ionic Framework for implement Hybrid Mobile Apps for IOS and Android. I have found the C# SDK, JavaSdk and Objective-C SDK. Please remember i am not using native development.
Thanks,
Upvotes: 0
Views: 615
Reputation: 10831
My Question is , How to access the Azure IoT hub data in to my Cordova Project?
The fastest way to achieve that is to consume the Iot Hub Rest API in your cordova project using HttpWebRequest(Ajax).
AngularJS has a great wrapper $http for Ajax. You can leverage it.
Upvotes: 1