Is it possible to call an external API ( any simple API external to IOT edge gateway, eg : a hello world ping) from an IOT edge module?
Yes, you can. There is nothing stopping your module to call API's or set up external connections. As long as your host device allows it, you are good to go!
Related
Would a change in a reported property in a module on IoT Edge generate an event that can be 'observed' by an application via IoT Hub APIs?
You can use the IoT Hub Service API (REST) to "poll" the current state of your module twin.
If you want to be notified in real time, you can setup a route to have your twin change events be sent to Blob storage, Event Hub, Service bus…
Polling and setting up a route are definitively the 2 ways to go on the back-end side of things. You can also find more details on back-end operations in the docs.
I'm looking for a documentation/tutorial for OpenWRT 15.05 that would describe router web interface. My company is using OpenWRT for one of our IoT node, and it needs to have custom WiFi web interface where we would be able to choose the network the node connects, do the connection test to our server and few other features.
Checkout https://github.com/openwrt/luci/wiki
OpenWRT uses LUCI as web interface. It can be customised, but one should know LUA.
Is it possible to implement REST client ( not browser but ruby client works on arduino device ) to access resource if resource is available via publish subscribe strategy ? (for example: http server(rails application) informed client that resource is now available you can receive/download)
I want to build application for "communication directly between ruby client in arduino board to http server". I don't want to use middle layer like Rabbitmq, zeromq. If it is possible what can be the possible steps to follow ?
It is not possible to use HTTP for pub/sub.
If you don't want to use message queue(anyMQ), try using plain TCP/UDP sockets.
XMPP is not the best choice, it gives too much overhead.
I want to use Azure service bus in my iOS app to communicate with server i have went through the below link. its pointing to C#.Need suggestions to work on iOS.
http://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-relay/#next_steps
You may want to consider using WebHttpRelayBinding for your service so you can hit the Azure endpoint using HTTP / HTTPS.
WCF supports both RESTfull and classic SOAP style messaging but using lightweight json requests in a RESTfull service would be better from a mobile app.
read the following article for details. but you don't need to write custom autostarter if you are using IIS 7.5 or greater with appfabric, since it has autostart functionality in built.
http://msdn.microsoft.com/en-us/library/hh966775.aspx
if you don't need request-response messaging pattern then you can also consider service bus queues for persistence, and your on-premise process can pull and process the messages at its own pace.
I am building an iOS app that should communicate with a WCF Rest Service. They both will be on the same local network. While testing a have hardcoded the IP of the service, but that wont work when it will be deployed.
How can i get the service address, or connect to it in any way?
I was reading about WCF discovery but I don't know how I would implement this in iOS.
If it is of any help, im using WCF REST Service Template 40(CS)
Any help would be appreciated.
EDIT: How about using bonjour? Any thoughts?
WCF Discovery is an implementation of the WS-Discovery specification, which is an open standard. As such there are a few implementations of it, for example one in Java called java-ws-discovery, one in Python called python-ws-discovery and one in c sharp called WS Discovery proxy.
I haven't found an implementation in Objective-C but given those three are all open source you may be able to port one, or at least the part you need (depending on whether you are able to understand one of those languages).