Radiocraft Wireless M-Bus extension module
1.00.00
|
STRUCT_BLOCK mbusFrame
Defines the data structure of the VPL STRUCT_BLOCK mbusFrame.
More...
Data Fields | |
int8 | control |
Control field. More... | |
int16 | manufacture |
Manufacture ID. Part of the device address. More... | |
int32 | id |
Identification number/serial number. Part of the device address. More... | |
int8 | version |
Version number. Part of the device address. More... | |
int8 | type |
Device Type. Part of the device address. More... | |
int16 | rssi |
The signal strength (RSSI), if enabled in mbusOpen(). More... | |
int16 | length |
The length of the additional data in the frame. More... | |
int8 | data [MBUS_DATA_LENGTH] |
The additional data received from the M-Bus module. Only the first [length] bytes are valid. More... | |
STRUCT_BLOCK mbusFrame
Defines the data structure of the VPL STRUCT_BLOCK mbusFrame.
This struct block is used by mbusReceive() for storing the received frame.
Definition at line 75 of file mod_mbus.c.
int8 mbus_frame::control |
int8 mbus_frame::data[MBUS_DATA_LENGTH] |
The additional data received from the M-Bus module. Only the first [length] bytes are valid.
Definition at line 86 of file mod_mbus.c.
Referenced by mbusCallReceive().
int32 mbus_frame::id |
Identification number/serial number. Part of the device address.
Definition at line 80 of file mod_mbus.c.
Referenced by mbusCallReceive().
int16 mbus_frame::length |
The length of the additional data in the frame.
Definition at line 85 of file mod_mbus.c.
Referenced by mbusCallReceive().
int16 mbus_frame::manufacture |
Manufacture ID. Part of the device address.
Definition at line 79 of file mod_mbus.c.
Referenced by mbusCallReceive().
int16 mbus_frame::rssi |
The signal strength (RSSI), if enabled in mbusOpen().
To get the signal strength in dB, P = -RSSI/2 [dBm]
Definition at line 83 of file mod_mbus.c.
Referenced by mbusCallReceive().
int8 mbus_frame::type |
Device Type. Part of the device address.
Definition at line 82 of file mod_mbus.c.
Referenced by mbusCallReceive().
int8 mbus_frame::version |
Version number. Part of the device address.
Definition at line 81 of file mod_mbus.c.
Referenced by mbusCallReceive().