LoRaWAN® Testbed with IPv6 for DLMS UA
TR011-1.0.0
©2022 LoRa Alliance® Page 9 of 12
The authors reserve the right to change
specifications without notice.
6 Testbed Implementation
This section defines the requirements and recommendations of the individual Testbed
components.
6.1 LoRaWAN Gateway
The LoRaWAN gateway SHALL support the appropriate Regional Parameters Channel Plan
specified in [RP002].
6.2 SCHC Gateway
The SCHC gateway SHALL:
● comply with the SCHC implementation defined by [TS010] and [DLMSBLUEBOOK]
● support IPv6 networking as defined in [RFC8724]
● support the sending and receiving of DLMS UDP/IPv6 messages to the DLMS UA CTT
● support the ability to edit the SCHC profile if required by the user of the Testbed
To correctly compress and decompress DLMS messages, the SCHC gateway SHALL be able
to parse, compress and decompress the DLMS, UDP and IPv6 fields as shown in Table 1.
In this table, the defined fields are represented as network order as specified in [RFC791]
Field IPv6
version
Ipv6
Diffserv
Ipv6 Flow
label
Ipv6
length
Ipv6 next
header
Ipv6 Hop
limit
Ipv6
DevPrefix
Ipv6
DevIID
Size (bits) 4 8 20 16 8 8 64 64
Field Ipv6
AppPrefix
Ipv6
AppIID
UDP
DevPort
UDP
AppPort
UDP
length
UDP
checksum
DLMS
Wrapper
Version
DLMS
Wrapper
SSAP
Size (bits) 64 64 16 16 16 16 16 16
Fields DLMS
Wrapper
CSAP
DLMS
Wrapper
Length
Size (bits) 64 64
Table 1: Fields to be parsed and compressed/decompressed by the SCHC gateway
SCHC fragmentation profiles SHALL follow the mechanisms described in [TS010].
Note: Ack-on-Error mechanism is used in uplink fragmentation and Ack-
Always mechanism is used in downlink fragmentation.