Radiocraft Wireless M-Bus extension module
1.00.00
|
These functions are required to allow the module to be loaded from VPL. More...
Functions | |
int | moduleInit (void) |
This function is called by the firmware when 'extModuleLoad' is called. More... | |
void | moduleNotify (int event, int parm) |
This function is called by the firmware to notify the module about an event. More... | |
These functions are required to allow the module to be loaded from VPL.
int moduleInit | ( | void | ) |
This function is called by the firmware when 'extModuleLoad' is called.
Any initialization the module might require is performed here, including installing functions and function blocks.
Definition at line 1618 of file mod_mbus.c.
References lock, mbusCallClose(), mbusCallInfo(), mbusCallOpen(), mbusCallReceive(), mbusCallRegisterSlave(), mbusCallSend(), mbusCallSetFilter(), mbusDebug(), and mbusPower().
void moduleNotify | ( | int | event, |
int | parm | ||
) |
This function is called by the firmware to notify the module about an event.
In case of a halt, reset or shutdown event is revived then the interface is closed by calling mbusClose().
[in] | event | The event ID. |
[in] | parm | The event parameter. |
Definition at line 1692 of file mod_mbus.c.
References mbusClose(), and mbusDebug().