Commit Graph

13 Commits (v1.5)

Author SHA1 Message Date
Michael Zillgith 98e7c5816a - code formatting; compiler warnings 5 years ago
Romain Naour 1c2db6e3be iec61850_client_example_reporting: revert changes from MMS server potential crash fix
The commit 0d4930ac25 renamed the RCB values
from "testmodelSENSORS/LLN0.RP.events01" to "simpleIOGenericIO/LLN0.RP.EventsRCB01"
with other changes.

But since "testmodelSENSORS" doesn't exist on the server_example_basic_io
the program fail with:

Reading data set directory failed!
failed to read dataset
getRCBValues service error!

Revert all testmodelSENSORS related changes with the previous code.
Now we get the two report as expected:

received report for simpleIOGenericIO/LLN0.RP.EventsRCB with rptId Events1
  report contains timestamp (1596190789): Fri Jul 31 12:19:49 2020
  simpleIOGenericIO/GGIO1.SPCSO1.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO2.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO3.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO4.stVal[ST] (included for reason 16): false

received report for simpleIOGenericIO/LLN0.RP.EventsRCB with rptId Events1
  report contains timestamp (1596190790): Fri Jul 31 12:19:50 2020
  simpleIOGenericIO/GGIO1.SPCSO1.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO2.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO3.stVal[ST] (included for reason 16): false
  simpleIOGenericIO/GGIO1.SPCSO4.stVal[ST] (included for reason 16): false

Signed-off-by: Romain Naour <romain.naour@smile.fr>
5 years ago
Michael Zillgith 0d4930ac25 - MMS server: fixed potential crash when get-named-variable-list-attributes response doesn't fit in MMS PDU. Server returns service error in this case 5 years ago
Michael Zillgith b6d8dfc69c - fixed error handling in iec61850_client_example_reporting 6 years ago
Michael Zillgith 5a3c3ba4b3 - fixed client_example_reporting.c 6 years ago
Michael Zillgith ad98531b1b - fixed SDO bug in dynamic code generator 8 years ago
Michael Zillgith 0e169139e3 - added IEC61850_ prefix to REASON.. values 9 years ago
Michael Zillgith 29b9e46697 - added function MmsConnection_getMmsConnectionParameters 9 years ago
Michael Zillgith 33fcf156d4 - client: IedConnection_setRCBValues send GI last when RptEna=true included 10 years ago
Michael Zillgith 98d91464cb - prevent server from crashing when reports are too large for maximum PDU size
- improved memory handling for reports
11 years ago
Michael Zillgith 9f3854fbfb - dynamic model generator can now use default values also for type templates 11 years ago
Michael Zillgith a0f67f9a5d - update to current development version 11 years ago
Michael Zillgith 48d717f12c - initial commit for new repository structure 11 years ago