For pre-estabilished association, connection is made successfully.
but when I am trying to associate,i am getting error "Invalid HDLC Frame: 52 Expected: 30".
here receiver frame sequence is 14. Using this sequence number i am unable to associate.
We are improving the pre-established association. Meters are returning different values in sequence number. The first sequence number is not defined on DLMS standard. I'm designing how to set the first expected sequence number.
This is the problem in your case. You can fix this if you code. Open GXDLMSSettings.java and find checkFrame. Now it returns false. change it true and you can start communicating with your meter.
pre-estabilished associations in java
Hi,
You need to set ciphering settings (Security, keys and InvocationCounter). Then you just read what you want. You don't call SNRM or AARQ.
BR,
Mikko
hi
For pre-estabilished association, connection is made successfully.
but when I am trying to associate,i am getting error "Invalid HDLC Frame: 52 Expected: 30".
here receiver frame sequence is 14. Using this sequence number i am unable to associate.
Can i reset this receiver sequence number.
Logs:
Resquest
<- 11:10:19.789 7E A0 20 03 81 32 01 C2 E6 E6 00 C8 12 20 00 00 00 01 85 54 93 B7 71 41 3A 96 52 33 EA 44 E0 8B 8D 7E
Response
-> 11:10:23.312 7E A0 82 81 03 52 64 3C E6 E7 00 CC 74 20 00 00 00 01 F2 90 6C 46 CF BA 86 10 AA D8 53 CE DC 02 BF 32 BF 7A 07 5E 4A 6D DD 9C 8C 42 D1 C8 2E 97 80 DC 8E 5A 64 4A E7 C0 8E E2 CD F5 8F BC 56 F8 D5 9B E6 7E DF 06 92 43 06 01 63 FA 62 99 35 08 29 8F E8 B0 26 0B 3A DB 97 C0 1E 3C 3C 26 EB E7 33 DA 4B 07 FD 00 F5 2C 95 C5 72 76 D2 95 8C 0E E8 B6 FB 26 E1 CA 8C 90 80 EE DD 7D 5E 75 AD ED D4 3A 0E 7E
For pre-estabilished association, connection is made successfull
Hi,
We are improving the pre-established association. Meters are returning different values in sequence number. The first sequence number is not defined on DLMS standard. I'm designing how to set the first expected sequence number.
This is the problem in your case. You can fix this if you code. Open GXDLMSSettings.java and find checkFrame. Now it returns false. change it true and you can start communicating with your meter.
BR,
Mikko