Commit 0a0ea98a authored by Peter Waher's avatar Peter Waher

Describing sensor data.

parent f2ee9e76
@startuml
Node o-- Timestamp
Timestamp o-- Field
Timestamp o-- Error
Field <|-- PhysicalQuantity
Field <|-- String
Field <|-- Boolean
Field <|-- Date
Field <|-- DateTime
Field <|-- Duration
Field <|-- Enumeration
Field <|-- Int32
Field <|-- Int64
Field <|-- Time
@enduml
......@@ -3,11 +3,19 @@ IEEE XMPP IoT Interfaces Working Group
This repository contains IEEE XMPP interfaces for the Internet of Things. These interfaces are worked on by the [IEEE XMPPI - XMPP Interface Working Group](https://standards.ieee.org/develop/wg/XMPPI.html), outside of the scope of the [XMPP Standards Foundation (XSF)](https://xmpp.org/about/xmpp-standards-foundation.html).
Interfaces
-------------
Representation
-----------------
* [Sensor Data](SensorData.md)
Communication Patterns
----------------------------
* [Request/Response](RequestResponse.md)
Schemas
-------------
[Sensor Data](SensorData.xsd)
[SensorData.xsd](SensorData.xsd)
Request/Response communication pattern
=============================================
Sensor Data
==================
The XML representation of Sensor Data used by the IEEE XMPP IoT interfaces are defined as follows:
| Sensor Data ||
| ------------|----------------------------------|
| Namespace: | urn:ieee:iot:sensordata |
| Schema: | [SensorData.xsd](SensorData.xsd) |
Differences:
IEEE namespace
shorted names
Separation XML representation / communication pattern
Annotated schema
no historical periods
customization of fields
id instead of sequence number
nodes optional
Simplified localization
Easier to respond for small/quick devices
Errors reported in response, with fields, not in separate stanza.
more instead of done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment