Unified MBus handle type encapsulating either Serial or TCP gateway. More...
#include <mbus-protocol-aux.h>
Data Fields | |
char | is_serial |
_handle type (non zero for serial) | |
union { | |
mbus_tcp_handle * m_tcp_handle | |
TCP gateway handle. | |
mbus_serial_handle * m_serial_handle | |
Serial gateway handle. | |
}; |
Unified MBus handle type encapsulating either Serial or TCP gateway.
union { ... } |
_handle type (non zero for serial)
Serial gateway handle.
TCP gateway handle.