Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 29182-5 defines the interfaces between entities in the Sensor Network Reference Architecture. Interfaces are the contract points where entities interact, exchanging data, control commands, and management information. The standard identifies several categories of interfaces: sensor interfaces (between physical sensors and processing elements), network interfaces (between communication entities), service interfaces (between middleware components), and application interfaces (between applications and the sensor network platform).
Each interface in the SNRA is defined by its syntax (message format, encoding, protocol), its semantics (the meaning of exchanged information), and its non-functional characteristics (latency, reliability, throughput). The standard emphasises the importance of semantic interoperability: two entities may use the same protocol syntax but interpret the data differently if the semantics are not standardised.
The Sensor Interface category covers the connection between physical sensing elements and the processing subsystem. This includes analog-to-digital conversion parameters, sampling rates, calibration data exchange, and trigger mechanisms. The Service Interface category defines how service-layer entities interact — for example, how a service registry communicates with a service consumer, including discovery messages, subscription requests, and notification delivery.
| Interface Category | Entities Involved | Key Specifications | Typical Protocol |
|---|---|---|---|
| Sensor Interface (SI) | Sensor element → Sensor node processor | Signal type, sampling rate, resolution, calibration | I2C, SPI, UART, analogue voltage |
| Network Interface (NI) | Sensor node → Router/Gateway | MAC protocol, addressing, QoS marking, security | IEEE 802.15.4, LoRaWAN, BLE, Wi-Fi |
| Service Interface (SvI) | Service registry ↔ Service consumer | Discovery, subscription, notification, security token exchange | REST/HTTP, CoAP, MQTT, OPC UA |
| Application Interface (AI) | Application ↔ Service platform | Data query, command injection, event subscription, data format | REST API, WebSocket, gRPC, GraphQL |
| Management Interface (MI) | Management entity ↔ Managed entity | Configuration, status monitoring, fault reporting, software update | NETCONF, SNMP, LwM2M, TR-069 |
The standard advocates for several design patterns in interface specification. The “Layered Interface Pattern” separates interfaces into technology-dependent and technology-independent layers, allowing the core service interface to remain stable even when the underlying communication technology changes. The “Callback Pattern” enables asynchronous notification delivery, which is essential for event-driven sensor applications. The “Proxy Pattern” allows an intermediary entity to translate between different interface protocols, enabling legacy device integration.
Interface versioning is another critical aspect covered in Part 5. The standard recommends semantic versioning (major.minor.patch) for all interfaces, with clear rules for backward compatibility. A major version change indicates breaking changes that require coordinated upgrades across all dependent entities, while minor versions add functionality without breaking existing consumers.