UDP Socket Wrapper for LwM2M NIDD Transport Switching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The Lightweight Machine-to-Machine (LwM2M) protocol cannot transparently switch between IP-based and non-IP-based (NIDD) transport modes for communication with the same server, limiting functionality and security modes, as standardization only defines unsecured communication over NIDD.
Innovation Solution
A UDP socket wrapper layer is introduced between the UDP and NIDD interfaces, enabling transparent connectivity by encapsulating data streams and inserting metadata for routing, allowing LwM2M clients to connect via both IP and NIDD-based connectivity using all security modes, including DTLS-based security modes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If LwM2M protocol uses NIDD-based transport, then communication can occur over non-IP channels, but security modes and full LwM2M functionality are not supported
Solution Approach 1:
A UDP socket wrapper layer is introduced as an intermediary between the NIDD transport and the LwM2M protocol stack. This wrapper translates NIDD communication into UDP-compatible formats, enabling security bindings (DTLS, PSK, RPK, X.509) and full LwM2M functionality to operate over NIDD channels as if they were IP-based, thereby resolving the contradiction between transport flexibility and security support
2Adaptability or versatility
If LwM2M client switches between IP and NIDD transport, then communication flexibility improves, but transparent switching with same security modes is not possible
Solution Approach 1:
The UDP socket wrapper is designed to handle multiple transport types (both IP-based UDP and NIDD) through a unified interface. It provides multi-functional capability to encapsulate and translate different transport protocols, allowing the LwM2M client to transparently switch between IP and NIDD transports while maintaining the same security modes and protocol operations, thus resolving the contradiction between transport switching flexibility and protocol complexity
Data Source
AI summary
Techniques are described herein for transparently connecting to the same light weight machine-to-machine (LwM2M) server using both Internet Protocol (IP)-based and non-IP data delivery (NIDD)-based connectivity using all LwM2M functionality and security modes. The techniques include establishing a connection over a NIDD socket to communicate with an application server using NIDD binding to deliver a datagram destined for a target server. The datagram may be encapsulated in a serialized envelope including an application-level protocol metadata, wherein the metadata representing information corresponding to the target server. The datagram is delivered to the target server over NIDD-based transport.


