Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Use case: I want to be able to write an Edgent device application that connects to the IBM Watson IoT Platform and publishes device events using its HTTP based protocol. That would eliminate the need for my Edgent device to have an MQTT client installed.
The current Watson IoT Platform connector, IotpDevice supports the MQTT based protocol.
Adding support for an HTTP-based WIoTP connector would likely involve creating a class like "IotpHttpDevice implements IotDevice". The IotDevice "events()" methods would use WIoTP HTTP publishing mechanism. WIoTP does not support subscribing to device commands using HTTP so the IotDevice "commands()" method would be documented to throw UnsupportedOperationException.