Radiocraft Wireless M-Bus extension module  1.00.00
mbus_open Struct Reference

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

Data Fields

int16 retval
 return value from call, set by VPL More...
 
int16 error
 error value from call, set by VPL More...
 
int8 mode
 The M-Bus mode to use. More...
 
int8 rssi
 Set to true to include the signal strength (RSSI) for each valid packet. More...
 

Detailed Description

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

This function opens the connection to the M-Bus module.

Definition at line 48 of file mod_mbus.c.

Field Documentation

◆ error

int16 mbus_open::error

error value from call, set by VPL

Definition at line 52 of file mod_mbus.c.

◆ mode

int8 mbus_open::mode

The M-Bus mode to use.

  • 0 = S2
  • 1 = T1 (default)
  • 2 = T2
  • 3 = S1
  • 4 = R
  • 10 = T1+C
  • 11 = T2+C

Definition at line 55 of file mod_mbus.c.

Referenced by mbusCallOpen().

◆ retval

int16 mbus_open::retval

return value from call, set by VPL

Definition at line 51 of file mod_mbus.c.

◆ rssi

int8 mbus_open::rssi

Set to true to include the signal strength (RSSI) for each valid packet.

It can be read from mbusReceive() and is available in the mbusFrame struct block (mbus_frame).

Definition at line 63 of file mod_mbus.c.

Referenced by mbusCallOpen().


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