SL7000 unable to disconnect

2 posts / 0 new
Last post
shsao
SL7000 unable to disconnect

Hello all,

First i want to thank you for your work on Gurux library.
It is not an easy task to make it work with all kind of meter.
And it helps a lot of people.

I am now able to read my meter register as I want.
But when i finished reading the value, a disconnect request is sent and the meter do not respond and keep the connection alive.

Here is the disconnection request and logs with Gurux Java (based on the sample client demo) :
==========================
Attribute 3
==========================
<- 09:34:48.246 7E A0 1A 02 23 03 32 75 62 E6 E6 00 C0 01 C1 00 03 01 01 01 08 00 40 03 00 BA 2E 7E
-> 09:34:48.543 7E A0 19 03 00 02 00 23 52 56 47 E6 E7 00 C4 01 C1 00 02 02 0F 06 16 1E B8 02 7E
Scaler: 1,000,000 Unit: ActiveEnergy
==========================
Attribute 2
==========================
<- 09:34:48.600 7E A0 1A 02 23 03 54 45 64 E6 E6 00 C0 01 C1 00 03 01 01 01 08 00 40 02 00 62 37 7E
-> 09:34:48.928 7E A0 18 03 00 02 00 23 74 B7 9C E6 E7 00 C4 01 C1 00 06 00 02 E1 E8 C2 36 7E
1.88904E11
==========================
FINISHED
==========================
DisconnectRequest
<- 09:34:48.971 7E A0 24 02 23 03 76 3C D3 E6 E6 00 62 15 80 01 00 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D 21 34 60 F1 7E
-> 09:34:49.227 7E A0 18 03 00 02 00 23 96 AB 58 E6 E7 00 62 15 80 01 00 BE 10 04 0E 1F 61 7E
<- 09:34:49.238 7E A0 08 02 23 03 53 32 B2 7E
Data send failed. Try to resend 1/3
<- 09:35:49.251 7E A0 08 02 23 03 53 32 B2 7E
Data send failed. Try to resend 2/3
<- 09:36:49.264 7E A0 08 02 23 03 53 32 B2 7E
Data send failed. Try to resend 3/3
<- 09:37:49.274 7E A0 08 02 23 03 53 32 B2 7E

The problem does not come from the meter SL7000 because i made a custom Application that send raw bytes requests (I have captured them with a serial listener when using "ACE pilote" application) and it managed to close the connection.

Here is the logs of my custom application :
-> 7E A0 21 00 02 00 23 03 93 9A 74 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 07 65 5E 7E
<- 7E A0 21 03 00 02 00 23 73 7B 7F 81 80 12 05 01 80 06 01 80 07 04 00 00 00 07 08 04 00 00 00 01 9E 63 7E
-> etc.....
<- etc...
->7E A0 1C 00 02 00 23 03 76 3C 3C E6 E6 00 C0 01 41 00 01 00 00 8E 01 01 FF 02 00 98 95 7E
<- 7E A0 0A 03 00 02 00 23 51 6A 68 7E
-> 7E A0 0A 00 02 00 23 03 53 97 A7 7E
<- 7E A0 0A 03 00 02 00 23 73 7A 6A 7E

The disconnect requests look like the same in the 2 cases...

Can you help me please ??

Best regards.

shsao
Hello,

Hello,

I am still struggling with the disconnection :(
I tryed to remove the request that is just before the request of disconnection but it is not working.
I tryed to send the raw request that worked, but no result... This is quite strange.

Should something be done after reading a register and before closing the connection ?
Now I don't have any ideas of what is blocking the disconnection...
Can anyone help me please ?