DLMS protocol adapter configuration
A specific protocol adapter can be used for a specific protocol The protocol-adapter that will be used by the device, is configured in the protocol_info field of the device. The following steps are required to configure and use a specific protocol-adapter:
Create a protocol-adapter that listens to a specific queue
Add a protocol-info record that uses this queue for the requests
Configure the device in osgp-core, so that it will use this new protocol-info
1. osgp-protocol-adapter-dlms
Configure the name of the JMS queue on which the protocol adpater will listen for requests.
Protocol Info table
By using a different outgoing_requests_property_prefix value, osgp-core can use a separate JMS queue for the requests.
Column
Example value
Description
osgp-core.properties
The property with the prefix specified in the protocol-info table must be configured in the osgp-core.properties file The value is the name of the JMS queue. This is the same name as the name of the JMS queue specified in the osgp-protocol-adapter-dlms
3. Connecting the device to the protocol-info
A device can be configured to use the specific protocol adapter, by pointing it to the new protocol_info record
Column
Example value
Description