Converter M-Bus-2 Receives Packets Of The Following Types; Real-Time Clock Adjustment; Packet With Request Of Settings; Packet With Settings Is Identical To Such Packet From Device - Vega Absolute M-BUS-2 User Manual

Hide thumbs Also See for M-BUS-2:
Table of Contents

Advertisement

M-BUS-2 / User Manual

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
1 byte
Packet type, this packet = 255
8 bytes
The value in seconds for which you need to adjust the time.
Can be positive or negative

2. Packet with request of settings

Sent by application on LoRaWAN port 3
Size in bytes
Field description
1 byte
Packet type, this packet == 1
Answering that packet, the device sends the packet with settings.

3. Packet with settings is identical to such packet from device

Size in bytes
1 byte
2 bytes
1 byte
len bytes
2 bytes
1 byte
len bytes
...
2 bytes
1 byte
len bytes
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
Description
parameter
4
Confirmed uplinks
5
ADR (Adaptive Data Rate)
8
Uplinks number of transmissions
16
Communication period
Revision 09- 06 July 2021
Field description
Packet type, this packet == 00
ID of parameter
Data length (len)
Parameter value
ID of parameter
Data length (len)
Parameter value
...
ID of parameter
Data length (len)
Parameter value
Data
Possible values
length
1 byte
1 – confirmed
2 – unconfirmed
1 байт
1 – enabled
2 – disabled
1 byte
from 1 to 15
1 byte
1 – 1 hour
Data type
uint8
int64
Data type
uint8
Data type
uint8
uint16
uint8
-----
uint16
uint8
-----
...
uint16
uint8
-----
31

Advertisement

Table of Contents
loading

Table of Contents