Commit Graph

216 Commits (fcdb83bc2ff8726f0f576b8b87c1512c770f4411)

Author SHA1 Message Date
Michael Zillgith fcdb83bc2f - IED server: fixed memory leak in service tracking code
- IED server: fixed bug in GoCB service tracking (goID and dataSet not set)
5 years ago
Michael Zillgith b04e651623
Merge pull request #262 from mbourhis/v1.5-smile-ecs
V1.5 smile ecs
5 years ago
Michael Zillgith bef1ad21b4 - Java Tools: Add support to handle Services.ReportSettings@owner attribute 5 years ago
Michael Zillgith 0b58716ea3 - IED server: fixed issue - read access to SGCB is not possible when read access handler is installed 5 years ago
Michael Zillgith e4b2849894 - fixed problems in handling array elements and array element components 5 years ago
Michael Zillgith 9ab37e9836 - IED Server/GOOSE: Don't send GOOSE message with new event while data model is locked 5 years ago
Michael Zillgith 805d73b86f - GOOSE: added GOOSE observer feature (GooseSubscriber listening to all GOOSE messages) and GOOSE observer example 5 years ago
Romain Naour dcbd9f94ab examples/server_example_basic_io
There is an access error while using iec61850_client_example1 with server_example_basic_io.

From [1]:
    /* write a variable to the server */
    value = MmsValue_newVisibleString("libiec61850.com");
    IedConnection_writeObject(con, &error, "simpleIOGenericIO/GGIO1.NamPlt.vendor", IEC61850_FC_DC, value);

The error code is IED_ERROR_ACCESS_DENIED = 21.

By default access to variables with FC=DC and FC=CF is not allowed, fix this
by changing the access policy as suggested by [2].

[1] https://github.com/mz-automation/libiec61850/blob/v1.4.2.1/examples/iec61850_client_example1/client_example1.c#L71
[2] https://libiec61850.com/libiec61850/documentation/iec-61850-client-tutorial/#comment-61994

Signed-off-by: Romain Naour <romain.naour@smile.fr>
5 years ago
Michael Zillgith b857e4c4ec
Merge pull request #246 from RomainNaour/v1.5-client_example_reporting
iec61850_client_example_reporting: revert changes from MMS server pot…
5 years ago
Michael Zillgith 2f5817e0ac - IEC 61850 server: implemented service tracking for BRCBs and URCBs 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 02f03aea2f - GOOSE subscriber: added optional destination address check for GOOSE messages 5 years ago
Michael Zillgith 0e184389b9 - Java tools: moved minTime, maxTime from GSEControl to GSE; updated
GOOSE server example CID file
5 years ago
Michael Zillgith ae66945751 - file-tool: open file in binary mode (to fix problem with file download on windows) 5 years ago
Michael Zillgith 7e4e396403 - updated server_example_control 5 years ago
Michael Zillgith a6bad96d25 - fixed examples that have control handlers with old signature 5 years ago
Michael Zillgith 73f1a98b4a Merge branch 'v1.4' into v1.5 5 years ago
Michael Zillgith 4871989658 - MMS client: fixed bug in log entry parsing (#224) 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 09b23aaa74 - IEC 618580 server: Added function IedServer_setServerIdentity to set values for MMS identity service 6 years ago
Michael Zillgith ac008c2e76 - SV publisher/subscriber: add support for timestamps with nanosecond resolution 6 years ago
Michael Zillgith 118a731b36 - SV publisher: fixed memory leaks (#191) 6 years ago
Michael Zillgith 8c1b75b382 - code cleanup; fixed issues from compiler warnings 6 years ago
Michael Zillgith 6cbadb4b45 - IED server: added new function ControlAction_isSelect 6 years ago
Michael Zillgith 2dbd775fe1 - removed "entryId" from unbuffered RCB configuration in some CID/ICD files 6 years ago
Michael Zillgith 5bd03b0611 - IED server: added function ConfigFileParser_createModelFromConfigFileEx with filename as argument to avoid dependency on FileSystem_... functions
- .NET projects: changed target framework of some project files to v4.0
6 years ago
Michael Zillgith 3a820f3546 - improved error handling in iec61850_client_example1 6 years ago
Michael Zillgith b6d8dfc69c - fixed error handling in iec61850_client_example_reporting 6 years ago
Michael Zillgith 83f9f1eaa6 - mms_utility: fixed memory leak 6 years ago
Michael Zillgith 3242f147be - cmake script: excluded mms_utitlity from build on windows 6 years ago
Michael Zillgith d06ab546a9 - SV subscriber: improved error handling when Ethernet access doesn't work; fixed potential memory leak 6 years ago
Michael Zillgith ebb0f761d2 - GOOSE subscriber example: added error handling when ethernet cannot be accessed 6 years ago
Michael Zillgith 9a97519815 - GOOSE publisher: integrated error handling when Ethernet interface is not available 6 years ago
Michael Zillgith 1549367eed - updated code to use mbedtls-2.16 (LTS version) 6 years ago
Michael Zillgith 6b2404e80b - GOOSE: option to enable/disable VLAN tagging
- IED Server: Allow setting different interfaces for different GOOSE publishers
6 years ago
Michael Zillgith 74d78d0618 updated server substitution example 6 years ago
Michael Zillgith 88849e1663 - added new type PSelector to represent presentation layer selector more flexible 6 years ago
Michael Zillgith 01ea43e95f - fixed object reference string buffer size in iec61850_client_example2[2] 6 years ago
Michael Zillgith 486c46229f - fixed object reference string buffer size in iec61850_client_example2 6 years ago
Michael Zillgith 6c14425ca8 - IEC 61850 server: refactored control model API (changed handler signatures, added ControlAction object to access origin and set addCause value, ...)
- IEC 61850 client: added ControlObjectClient_getLastError function
6 years ago
Michael Zillgith 5a3c3ba4b3 - fixed client_example_reporting.c 6 years ago
Michael Zillgith 5a83af9206 - moved mms_server.h back to public API (see github #117) 7 years ago
Michael Zillgith 6e9a794047 - examples: changed SCL file extensions to reflect the correct file type 7 years ago
Michael Zillgith d376370aaa - IEC 61850 server: control model - implemented automatic handling of opRcvd, opOk, and tOpOk when present in data object 7 years ago
Michael Zillgith ecdbb8fcff Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 7 years ago
Michael Zillgith 26a45a078b - added error handling code to client_example_log.c
- fixed bug in ClientSVControlBlock
7 years ago
Michael Zillgith 9f03b5d3b8 - fixed client_example_async to compile on Windows 7 years ago
Michael Zillgith 9f8d52005b - MMS client: fixed problem when reusing connection 7 years ago
Michael Zillgith 0dff4286aa - merged latest changes to the server reporting module from 1.3 branch
- merged with 1.3 branch
7 years ago
Michael Zillgith 952f12bffb - mms-utility: added read array 7 years ago