4 ms·
For some reason the article doesn't mention it, but there is a few retracted XEPs for IoT (sensor data[0], provisioning[1], control[2], etc). I think it would b
by defanor 7y ago
For some reason the article doesn't mention it, but there is a few retracted XEPs for IoT (sensor data[0], provisioning[1], control[2], etc). I think it would be neat if they've incorporated Semantic Sensor Network Ontology[3] and were actually used. But it seems that in practice there are mostly custom and unspecified binary protocols, with inherent TOCTOU issues, awkward integrity checks, and with no security measures (anecdata, based on 7-8 years of dealing with various devices that can be classified as IoT).
Regarding the use of XMPP for it, as pointed in other comments, it indeed looks like unnecessary overhead, but I think it is quite similar to using HTTP for transfer of things other than hypertext: not a perfect fit, but already has good software support, standards, and additional features that are useful. And perhaps more importantly, no wheels to reinvent poorly and hide from customers.
[0] https://xmpp.org/extensions/xep-0323.html https://xmpp.org/extensions/xep-0323.html
[1] https://xmpp.org/extensions/xep-0324.html https://xmpp.org/extensions/xep-0324.html
[2] https://xmpp.org/extensions/xep-0325.html https://xmpp.org/extensions/xep-0325.html
[3] https://www.w3.org/TR/2017/REC-vocab-ssn-20171019/ https://www.w3.org/TR/2017/REC-vocab-ssn-20171019/