Thank you for your great library and for open sourcing it.
I'm currently running a proof-of-concept and I'm trying to modify the IPV6 Configuration of a meter using your GXDLMSDirector connected to the meter's optical head port.
I can connect to the meter and get the list of all the objects, great!
Then I read the content of the IPv6 Setup object "0.0.25.7.0.255" which allows me to get the content of all the attributes.
The exception is raised because the code doesn't handle the type "System.Net.IPAddress[]" in the function "static public DataType GetDLMSDataType(Type type)" of GXCommon.cs which is called by "public static void DatatoXml(object value, GXDLMSTranslatorStructure xml)" from the same file. This last function can handle IPAddress but not arrays of them.
I tried modifying the DatatoXml function to also handle IPAddress[] in a similar fashion as the GXArray type but my modification ended-up creating more issues (invalid xml error).
Could you please have a look at this issue or guide me on how I can fix it myself?
I managed to get my PoC working, in the end I didn't need to modify the IPv6Setup object but your changes are still welcome!
However I wanted to give you a quick feedback. I don't know how much of the issues left are because of problems with the meter or in the GXDLMSDirector.
In the following screen capture video you will see how I can only edit edit an entry in the Unicast IP Addresses list if the list only has one entry. In addition deleting the entry doesn't actually delete it since when reading back the deleted entry re-appears.
Hi,
Hi,
I have added this to the work list. We'll try to fix this ASAP.
BR,
Mikko
Great, please keep me posted
Great, please keep me posted here if the issue is solved.
Thank you!
Hi,
Hi,
We try to release new version on Monday where this is fixed.
BR,
Mikko
That's amazing news, thanks!
That's amazing news, thanks!
Thank you for your changes! I
Thank you for your changes! I'm currently testing them (I encountered some issues already).
I see you've revisited the IPv6Setup dialog completely, nice!
I'll keep you posted with my progress tomorrow.
Hi,
Hi,
It was too easy to give an invalid IP v6 address. Now it's checked.
Please, let me know if you have any problems.
BR,
Mikko
Hi,
Hi,
I managed to get my PoC working, in the end I didn't need to modify the IPv6Setup object but your changes are still welcome!
However I wanted to give you a quick feedback. I don't know how much of the issues left are because of problems with the meter or in the GXDLMSDirector.
In the following screen capture video you will see how I can only edit edit an entry in the Unicast IP Addresses list if the list only has one entry. In addition deleting the entry doesn't actually delete it since when reading back the deleted entry re-appears.
https://www.dropbox.com/s/jqr564xki4h0t29/cannot-edit-lists.mp4?dl=0
It's the same behavior with Gateway Addresses.
Thank you.
Hi,
Hi,
Thanks for the video. I checked this and you are right. We'll try to write this value when we need to use actions. This is fixed on next week.
BR,
Mikko
Hi,
Hi,
This is now fixed. Get the latest version from the GXDLMSDirector.
BR,
Mikko
Great, thanks !
Great, thanks !