Commit Graph

236 Commits (377d708f4efda3c6ac4ee0d291b2f36ff2670f1f)

Author SHA1 Message Date
Michael Zillgith b27681f408 - implemented GET_PARAMETER event for IedServer_RCBEventHandler
- implemented additional access functions for ReportControlBlock to allow access to runtime values
4 years ago
Michael Zillgith 8578344e85 - GOOSE subscriber: restore old behavior when data set array is provided by user 4 years ago
Michael Zillgith e0b4a720dd - added/updated comments in SV publisher example 4 years ago
Michael Zillgith 7540b6a8d7 - Fixed problem with installed headers - application code does not compile only with installed headers 4 years ago
Michael Zillgith f49be0d844 - added server example for dead band handling 5 years ago
Michael Zillgith de2ce1d008 - removed some compiler warnings (when compiling with clang) 5 years ago
Michael Zillgith 9e064ab709 - IED Server: prevent integrated GOOSE publisher to crash when ethernet socket cannot be created 5 years ago
Michael Zillgith 5630275a0d - make file-tool example more robust 5 years ago
Michael Zillgith 895e74d680 - updated cmake files to use only C++ when compiling with VS (new examples) 5 years ago
Michael Zillgith db0a7d5e8a - updated cmake files to use only C++ when compiling with VS 5 years ago
Michael Zillgith 4793e298ff - IED server: fixed problem that BL FC is not writable (#287) 5 years ago
Michael Zillgith 2baeb59e61 - added Hal_getTimeInNs function for windows 5 years ago
Michael Zillgith 146dbb9057 - GOOSE subscriber: improved code to detect invalid GOOSE messages 5 years ago
Michael Zillgith cc80bffa69 - IED server: support for configuration of EditSG service and online visibility of SGCB.ResvTms at runtime 5 years ago
Michael Zillgith 981c2dd5f3 - fix problem: TLS does not work with HandleSet 5 years ago
Michael Zillgith e59aa5521e - fixed memory leak in ISO server 5 years ago
Michael Zillgith 98e7c5816a - code formatting; compiler warnings 5 years ago
Michael Zillgith 7e1c2ef18f - IED server: added GoCB event callback
- IED server: added configuration option to use GoCB block handling without the integrated GOOSE publisher (IedServerConfig_useIntegratedGoosePublisher)
5 years ago
Michael Zillgith e1ab323c1b - IED server: added code for log service tracking 5 years ago
Michael Zillgith 3a2eea3611 - extended service tracking example for GoCB and SGCB service tracking 5 years ago
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