CMi4160
– LoRaWAN
®
Module
13
02/2021
Compact
Figure 6 illustrates the structure for message format
Compact
. For a detailed description of the
payload, see Table 6.
Figure 6: Structure, message format Compact
DIB
Field
Size
Data type
Description
0
Message
format
identifier
1 byte
-
0x1F (Compact)
1
Energy
6-7 bytes
INT32
Energy consumption (Wh, J, Cal)
0403xxxxxxxx = xxxxxxxx Wh
0404xxxxxxxx = xxxxxxxx * 10 Wh
0405xxxxxxxx = xxxxxxxx * 100 Wh
0406xxxxxxxx = xxxxxxxx kWh
0407xxxxxxxx = xxxxxxxx * 10 kWh
040Exxxxxxxx = xxxxxxxx MJ
040Fxxxxxxxx = xxxxxxxx * 10 MJ
04FB0Dxxxxxxxx = xxxxxxxx MCal
04FB0Exxxxxxxx = xxxxxxxx * 10 MCal
04FB0Fxxxxxxxx = xxxxxxxx * 100 MCal
2
Meter address 10 bytes
According to
M-Bus
EN13757-3
identification
field
Meter address
Byte 0-1 = DIF/VIF code
Byte 2-5 = Meter ID (BCD8, lsByte ->
msByte)
Byte 6-7 = Meter manufacturer (lsByte -
> msByte)
Byte 8 = Meter version
Byte 9 = Device type
3
Error flags
4 bytes
INT8
Error and warning flags
01FD17xx
For further information about Error
flags please refer to the meter’s user
guide
Table 6: Payload, message format Compact
JSON
For message format
JSON
, the data is presented in a plain text format. Table 7 provides a description
of all fields included in the telegram.
Field
Description
Message format
identifier
20 (Message format
JSON
)
Energy
Energy consumption
Unit
Unit of energy consumption (Wh, kWh, MWh, GWh,
J, kJ, MJ, GJ, Cal, kCal, MCal or GCal)
Meter ID
Identification number of the meter in which the
module is mounted.
Table 7: Fields, message format JSON