-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Websocket Support for Context Broker #1181
Comments
+1 (and congrats, Orion is becoming a really important piece of IoT infrastructure) |
CC: @fortizc We are going to start this work in November 2015 sprint. Let's see how it goes... :) |
Olé!! 👍 |
A first proof of concept will be done, based on the following encoding:
(Responses will be encoded in a similar way) That way, it could be relatively easy to "link" the fields in the above JSON envelop with the current CB logic (ConnectionInfo mainly). I would like to stress that this would be a first proof of concept. Once we achieve this step, evolutions and optimization of it would be done (anybody is welcome to suggest! please use the comments to this issue). |
+1 This is woulde me a must, actually Orion's subscription needs an external url to receive messages It would be a must Orion had a subscribe mechanism in the way Faye makes it : a client that has internet access subscribes to a channel on the server & stays connected using a socket. Wish you the Best |
+1 This could be very interesting in the context of working with actuators, for instance, operating a motorized robot remotely |
A first proof of concept prototype has been developed (soon to be landed in the feature/1181_websockets so interested people may test and provide feedback). In order to complete the implementation so this code may land in develop branch some pending task should be completed:
|
Hello, |
Current status involves two branches:
Taking into account the implementation is pretty old and that CB has evolved a lot during last year, probably it doesn't make much sense to complete the sub-issues for feature/1181_websocket to merge it into master. However, it can be very useful to guide a new implementaiton in a fresh branch. That's the point with proof-of-concepts: they allow to test and learn before the definitive implementation :) Unfortunatelly, websockets are not currently a priority for us so we are not puting effort into this at the present moment. |
Websocket Support for Context Broker:
In order to make the device and backend communication efficient it is desired by the Orion Context broker to support Websocket transport protocol.
The text was updated successfully, but these errors were encountered: