Gurux DLMS Director seems to have an inverted logic for enabling/disabling schedule entries.
According to the Blue Book,
the first two indices specify the disable range while the last two indices specify the enable range.
It's the other way around if you debug what Gurux DLMS Director sends.
For example, I wanted to ENABLE an entry with index 2. This is what I received from Gurux DLMS Director:
02 04 12 00 02 12 00 02 - 12 00 00 12 00 00
Let's parse it:
02 structure
04 four members
12 long int
2 firstIndexA
12 long int
2 lastIndexA
12 long int
0 firstIndexB
12 long int
0 lastIndexB
So the disable range is from 2 to 2 and the enable range is none
Similarly, when I try to DISABLE an entry, say with index 3, this is what I get:
02 04 12 00 00 12 00 00 - 12 00 03 12 00 03
02 structure
04 four members
12 long int
00 00 firstIndexA
12 long int
00 00 lastIndexA
12 long int
00 03 firstIndexB
12 long int
00 03 lastIndexB
That is the disable range is none but the enable range is from 3 to 3
Contrary to what I requested
Do you confirm it's a bug or is my understanding wrong?
Thanks
Hi, I believe that you are…
Hi,
I believe that you are right and thank you for pointing this out. I created an issue from this and this is fixed for the next release.
https://www.gurux.fi/issue/guruxdlmsnet/21402
BR,
Mikko
Hi, This is fixed. Get the…
Hi,
This is fixed. Get the latest version. The fixed version of GXDLMSDirector will be released on Monday.
BR,
Mikko