Radiocraft Wireless M-Bus extension module  2.18
mbus_receive Struct Reference

FUNCTION mbusReceive
Defines the data structure of the VPL function mbusReceive. More...

Data Fields

int16 retval
 return value from call, set by VPL More...
 
int16 error
 error value from call, set by VPL More...
 
int32 timeout
 Time to wait for data if buffer is empty in milliseconds. If timeout is -1, wait until data is received. More...
 
int16 manufacturer
 Manufacturer ID. Part of the address of the slave. More...
 
uint32 id
 Identification number/serial number. Part of the address of the slave. More...
 
uint8 version
 Version number. Part of the address of the slave. More...
 
uint8 type
 Device Type. Part of the address of the slave. More...
 
tdef_mbus_frameframe
 The provided struct is filled with the values of a received M-Bus frame. More...
 

Detailed Description

FUNCTION mbusReceive
Defines the data structure of the VPL function mbusReceive.

This function receives data from the M-Bus module.

Definition at line 151 of file mod_mbus.c.

Field Documentation

◆ error

int16 mbus_receive::error

error value from call, set by VPL

Definition at line 155 of file mod_mbus.c.

◆ frame

tdef_mbus_frame* mbus_receive::frame

The provided struct is filled with the values of a received M-Bus frame.

Definition at line 165 of file mod_mbus.c.

Referenced by mbusCallReceive().

◆ id

uint32 mbus_receive::id

Identification number/serial number. Part of the address of the slave.

Definition at line 160 of file mod_mbus.c.

Referenced by mbusCallReceive().

◆ manufacturer

int16 mbus_receive::manufacturer

Manufacturer ID. Part of the address of the slave.

Definition at line 159 of file mod_mbus.c.

Referenced by mbusCallReceive().

◆ retval

int16 mbus_receive::retval

return value from call, set by VPL

Definition at line 154 of file mod_mbus.c.

◆ timeout

int32 mbus_receive::timeout

Time to wait for data if buffer is empty in milliseconds. If timeout is -1, wait until data is received.

Definition at line 158 of file mod_mbus.c.

Referenced by mbusCallReceive().

◆ type

uint8 mbus_receive::type

Device Type. Part of the address of the slave.

Definition at line 162 of file mod_mbus.c.

Referenced by mbusCallReceive().

◆ version

uint8 mbus_receive::version

Version number. Part of the address of the slave.

Definition at line 161 of file mod_mbus.c.

Referenced by mbusCallReceive().


The documentation for this struct was generated from the following file: