I have been trying for more than a week now to get GuruX Java to work with my meter. I have the correct authentication details and have tested that profile in GuruDirector which seems to work perfectly.
I then took those same parameters over and tried running it through GuruX Java library however I am getting a `PERMANENT_REJECT` error.
I'm very lost as to what it could be, any help would be appreciated.
(I have attached all the configs as images and the code being used).
Client administrator is 0x1 not 0x10, therefore I have set it to 1 already before your reply. It isn't 0x10 (that is client_public - which is not used).
After some debugging, what I have noticed is the following.
Setting Security from Security.AUTHENTICATION_AND_ENCRYPTION to Security.NONE makes the handshake proceed without an error but in Guru Director it works with authentication and encryption as shown in the photo.
This is why I feel as though this is a bug or discrepency between the Java dn dotnet versions. please assist.
Hi, Please, don't add pics…
Hi,
Please, don't add pics. They are hard to read. Plain text is better.
Your client address is different. In GXDLMSDirector you are using address #1 and in your code, you are using address #16. Check that first.
BR,
Mikko
Client administrator is 0x1…
Client administrator is 0x1 not 0x10, therefore I have set it to 1 already before your reply. It isn't 0x10 (that is client_public - which is not used).
After some debugging, what I…
After some debugging, what I have noticed is the following.
Setting Security from Security.AUTHENTICATION_AND_ENCRYPTION to Security.NONE makes the handshake proceed without an error but in Guru Director it works with authentication and encryption as shown in the photo.
This is why I feel as though this is a bug or discrepency between the Java dn dotnet versions. please assist.