Radiocraft Wireless M-Bus extension module  2.18
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...
 
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...
 
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 177 of file mod_mbus.c.

Field Documentation

◆ error

int16 mbus_reg_slave::error

error value from call, set by VPL

Definition at line 181 of file mod_mbus.c.

◆ id

uint32 mbus_reg_slave::id

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

Definition at line 186 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 184 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 190 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 185 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ retval

int16 mbus_reg_slave::retval

return value from call, set by VPL

Definition at line 180 of file mod_mbus.c.

◆ type

uint8 mbus_reg_slave::type

Device Type. Part of the address of the slave.

Definition at line 188 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().

◆ version

uint8 mbus_reg_slave::version

Version number. Part of the address of the slave.

Definition at line 187 of file mod_mbus.c.

Referenced by mbusCallRegisterSlave().


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