Exactly. I have not yet looked at them side-by-side, but it might make
sense to keep 323 in sync with SenML for interoperability. I will
complete a more thorough review soon.
On 11/9/16 1:16 PM, Joachim Lindborg wrote:
Have seen senML before but not that specific IETF
version just reading
it now and it's seem to have the same ideas in them.
XEP323
<message from='device(a)example.org <mailto:device@example.org>'
to='client(a)example.org/amr
<http://client@example.org/amr>'>
<fields xmlns='urn:xmpp:iot:sensordata' seqnr='1'
done='true'>
<node nodeId='Device01'>
<timestamp value='2013-03-07T16:24:30'>
<numeric name='Temperature' momentary='true'
automaticReadout='true' value='23.4' unit='°C'/>
</timestamp>
<timestamp value='2013-03-07T16:24:31'>
<numeric name='Temperature' momentary='true'
automaticReadout='true' value='23.4' unit='°C'/>
</timestamp>
</node>
</fields>
</message>
SenMl
[
{"n":"urn:dev:ow:10e2073a01080063","u":"Cel","t":1.276020076e+09,
"v":23.5},
{"n":"urn:dev:ow:10e2073a01080063","u":"Cel","t":1.276020091e+09,
"v":23.6}
]
Written by Joachim Lindborg on a device running on solar energy
from
watt-s.com <http://watt-s.com/>
CTO, systems architect
Sustainable Innovation SUST.se <http://SUST.se> ,Tel +46
706-442270, linkedin <http://www.linkedin.com/in/joachimlindborg>
Barnhusgatan 3 111 23 Stockholm
2016-11-09 20:20 GMT+01:00 Peter Saint-Andre - Filament
<peter(a)filament.com <mailto:peter@filament.com>>:
Is anyone on the list looking at or using the sensor markup spec
being worked on at the IETF?
https://tools.ietf.org/html/draft-ietf-core-senml-04
<https://tools.ietf.org/html/draft-ietf-core-senml-04>
It seems to overlap somewhat with XEP-0323:
http://xmpp.org/extensions/xep-0323.html
<http://xmpp.org/extensions/xep-0323.html>
Peter
--
Peter Saint-Andre
https://filament.com/
_______________________________________________
IOT mailing list
IOT(a)xmpp.org <mailto:IOT@xmpp.org>
https://mail.jabber.org/mailman/listinfo/iot
<https://mail.jabber.org/mailman/listinfo/iot>