Radiocraft Wireless M-Bus extension module  1.00.00
mbus_reg_slave Struct Reference

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

Data Fields

int16 retval
 return value from call, set by VPL More...
 
int16 error
 error value from call, set by VPL More...
 
int16 idx
 The index of the slave to register. 1-64. More...
 
int16 manufacturer
 Manufacturer ID. Part of the address of the slave. More...
 
int32 id
 Identification number/serial number. Part of the address of the slave. More...
 
int8 version
 Version number. Part of the address of the slave. More...
 
int8 type
 Device Type. Part of the address of the slave. More...
 
uint8 * key
 Encryption key, 16 bytes. Can be set to NULL when encryption is not used. More...
 

Detailed Description

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

It registers/installs a slave device on the M-Bus module.

Definition at line 140 of file mod_mbus.c.

Field Documentation

◆ error

int16 mbus_reg_slave::error

error value from call, set by VPL

Definition at line 144 of file mod_mbus.c.

◆ id

int32 mbus_reg_slave::id

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

Definition at line 149 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ idx

int16 mbus_reg_slave::idx

The index of the slave to register. 1-64.

Definition at line 147 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ key

uint8* mbus_reg_slave::key

Encryption key, 16 bytes. Can be set to NULL when encryption is not used.

Definition at line 153 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ manufacturer

int16 mbus_reg_slave::manufacturer

Manufacturer ID. Part of the address of the slave.

Definition at line 148 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ retval

int16 mbus_reg_slave::retval

return value from call, set by VPL

Definition at line 143 of file mod_mbus.c.

◆ type

int8 mbus_reg_slave::type

Device Type. Part of the address of the slave.

Definition at line 151 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ version

int8 mbus_reg_slave::version

Version number. Part of the address of the slave.

Definition at line 150 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().


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