Currently using the Java Gurux library in order to connect over optical serial to the Clou CL710K22. Firstly, the GDLMSDirector was used in order to confirm the device was in working order and I was able to successfully connect to it.
The correct authentication details have been set as I can confirm the connetion is successful:
1. Client system title is set correctly
2. Block cipher key is set correctly
3. Dedicated key is set correctly
4. Server System title is not set
5. Authentication key is set correctly
Authentication method used is HighGMAC and client's address is 1.
When connecting the proposed capabilities/conformances are passed in:
1. GeneralProtection
2. BlockTransferWithGetOrRead
3. BlockTransferWithSetOrWrite
4. MultipleReferences
5. Get
6. Set
7. SelectiveAccess
8. Action
Now, this is all fine using GXDLMSDirector, it can connect and I can read all objects of the meter, however, setting up the system with the exact same parameters but via
the Java library, a connection is made and the AARQ request is generated and sent over (in order to exchange capabiltiies), but it crashes with:
initConnection() exception: gurux.dlms.GXDLMSException: Connection is permanently rejected
I can provide the code used for this as well, if that will help.
Below I have attached the…
Code used
The client code: https://paste.debian.net/1267878/
The GXDLMSReader used (from your repo): https://paste.debian.net/1267877/
Maven.pom: https://paste.debian.net/1267880/
Hi, Those links are empty…
Hi,
Those links are empty. Can you check them and add a hex trace from the GXDLMSDirector and your app so I can compare what settings are different?
BR,
Mikko