M-BUS-2 / User Manual
25
Revision 07 - 14 September 2020
CONVERTER M-BUS-2 RECEIVES PACKETS OF THE FOLLOWING TYPES
1.
Real-time clock adjustment – send by application on LoRaWAN port 4
Size in bytes
Field description
Data type
1 byte
Packet type, this packet = 255
uint8
8 bytes
The value in seconds for which you need to adjust the time.
Can be positive or negative
int64
2.
Packet with request of settings – sent by application on LoRaWAN port 3
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 1
uint8
Answering that packet, the device sends the packet with settings.
3.
Packet with settings is identical to such packet from device
Size in bytes
Field description
Data type
1 byte
Packet type, this packet == 00
uint8
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----
…
…
…
2 bytes
ID of parameter
uint16
1 byte
Data length (len)
uint8
len bytes
Parameter value
-----
The package with settings sent to the device may not contain all the settings supported
by the device, but only the part that needs to be changed.
Table of ID of M-BUS-2 parameters and these possible values
ID of
parameter
Description
Data
length
Possible values
4
Confirmed uplinks
1 byte
1 – confirmed
2 – unconfirmed
5
ADR (Adaptive Data Rate)
1 байт
1 – enabled
2 – disabled
8
Uplinks number of transmissions
1 byte
from 1 to 15
16
Communication period
1 byte
1 – 1 hour
2 – 6 hours
3 – 12 hours
4 – 24 hours