org.openmuc.jmbus
public class WMBusSapRadioCrafts extends java.lang.Object
Constructor and Description |
---|
WMBusSapRadioCrafts(java.lang.String serialPortName,
WMBusMode mode,
WMBusListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the service access point and its associated serial port.
|
void |
open()
Opens the serial port of this service access point and then configures the transceiver (e.g.
|
void |
removeKey(SecondaryAddress address)
Removes the stored key for the given secondary address.
|
void |
setKey(SecondaryAddress address,
byte[] key)
Stores a pair of secondary address and cryptographic key.
|
public WMBusSapRadioCrafts(java.lang.String serialPortName, WMBusMode mode, WMBusListener listener)
public void open() throws java.io.IOException
WMBusSap
java.io.IOException
- if any kind of error occurs while opening.public void close()
WMBusSap
public void setKey(SecondaryAddress address, byte[] key)
WMBusSap
WMBusDataMessage.decode()
is called.public void removeKey(SecondaryAddress address)
WMBusSap