I'm experiencing a problem with command type 59 (Double with time tag) ?
When I send a double command with time tag, the date tag in the sent message is one month before. Ex, we are the 24h of March, the sent date is 24th of February.
If I shift my computer clock one month later (24th of april) the sent date is the 24th of March.
I did not have tried the other command with time tag.
You are right.
I see that there is a problem in the code (iec104_class.cpp, line 1750) when converting tm time structure where months are 0 based (0-JAN, 11=DEC) to CP56 time format where months are 1 based (1=JAN, ... 12=DEC). This is happening also for all other commands with time.
I will correct the code and publish a new version soon.
Thanks for spotting the problem.
Ricardo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Oliver,
The version 1.20 was uploaded with the correction of the month problem for commands.
Please let me know if it's working properly for you now.
Regards,
Ricardo
olsen.ricardo [ @ ] dscsys.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Ricardo
I'm experiencing a problem with command type 59 (Double with time tag) ?
When I send a double command with time tag, the date tag in the sent message is one month before. Ex, we are the 24h of March, the sent date is 24th of February.
If I shift my computer clock one month later (24th of april) the sent date is the 24th of March.
I did not have tried the other command with time tag.
Thanks in advance for your support.
Olivier
Mail Disclaimer
http://www.gillam-fei.be/maildisclaimer
Dear Oliver,
You are right.
I see that there is a problem in the code (iec104_class.cpp, line 1750) when converting tm time structure where months are 0 based (0-JAN, 11=DEC) to CP56 time format where months are 1 based (1=JAN, ... 12=DEC). This is happening also for all other commands with time.
I will correct the code and publish a new version soon.
Thanks for spotting the problem.
Ricardo
Hi Ricardo,
Thanks for the feedback.
Could you please notify me on my email address as soon as the new version is available ?
Best regards,
Olivier
Dear Oliver,
The version 1.20 was uploaded with the correction of the month problem for commands.
Please let me know if it's working properly for you now.
Regards,
Ricardo
olsen.ricardo [ @ ] dscsys.com
Hi Ricardo,
Sorry for the long time to give you a feedback.
It's working properly now, thanks for your prompt and efficient support.
Regards,
Oliver