This will simplify implementations and diffusion.
2) While creating an interface for publishing messages is easy, the core
issue is on reading them.
For example, ActiveMQ uses a DELETE to read a message, which can timeout
if no message is published in a given period of time. This approach is not
really web-compatible, so QEST adopt a standard GET approach, exposing to
the web every published message (here you can find is my home temperature:
http://qest.me/topics/temp). Every message is stored on a Redis database.
However, exposing the last message on the web is extremely similar to the
retained message behavior. In QEST, I did assimilate the two concepts
stating that every message is retained, even on MQTT.
At the moment, I am revising this decision to be MQTT-compliant. Still,
the web behavior needs to be clear. One possible solution is to expose on
the web only retained messages, or ignore the 'retained' flag at the web
level and expose everything.
3) An History interface has to be provided. The best work done in that
area is Cosm.
However, a standard representation of message meta-data has to be defined.
5) There is much discussion on how to expose M2M and IoT to end users.
Exposing it to the web is a key point, and doing it a safe way for both
users and devices is extremely important.
In particular, both the provisioning of devices and the pairing between
users and devices must be addressed.
This will necessarily lead to a paring protocol on top of both MQTT and
HTTP, and might include an OAuth step.
Have you got some suggestions on these topics?
Cheers,
Matteo_______________________________________________
m2m-iwg mailing list