M-BUS-1 / User Manual
28
Revision 10 - 27 May 2019
"Values of basic settings" bit field decoding
Bits
Field description
0 bit
Activation type 0 - OTAA, 1
–
ABP
1 bit
Query for packet confirmation 0
–
off, 1
–
on
2,3 bit
Communication period:
|2==0|3==0| - 1 hour
|2==1 |3==0| - 6 hours
|2==0|3==1 | - 12 hours
|2==1 |3==1 | - 24 hours
4 bit
Input type
–
security (1 for that device)
5 bit
Input type
–
security (1 for that device)
6 bit
Reserve (always 0)
7 bit
Reserve (always 0)
2.
Packet with data from connected M-BUS device (transparent mode)
Size in bytes
Field description
1 byte
Packet type, this packet == 3
2 bytes
Total size of the received data by the interface
1 byte
Size of that packet
1 byte
That packet serial number
1 byte
Total number of packets
array
Data
3.
External power information packet, sent in case of change external power status
Size in bytes
Field description
1 byte
Packet type, this packet == 4
1 byte
Battery charge, %
1 byte
Values of basic settings (bit field)
1 byte
External power state (0
–
off, 1 - on)
4.
«
Alarm
»
packet, sent when security input is closed
Size in bytes
Field description
1 byte
Packet type, this packet == 5
1 byte
Battery charge, %
1 byte
Values of basic settings (bit field)
1 byte
Input number on which “Alarm” is
noticed (1 or 2)
1 byte
Input 1 state
(«0»
- unlocking
, «1»
- closure)
1 byte
Input 2 state
(«0»
- unlocking
, «1»
- closure)