Commit Graph

249 Commits (v1.5)

Author SHA1 Message Date
Michael Zillgith 4a5a092796 - config file generator/static model generator: added support for SampledValueControl.smpMod (LIB61850-67) 2 years ago
Michael Zillgith f951ebc08e - Added function IedConnection_setLocalAddress to define local IP address and optionally local port of a client connection (LIB61850-378) 2 years ago
Michael Zillgith 79a8eaf260 - added missing checks in iec61850_client_example_control (#442) 3 years ago
Michael Zillgith 76fd58e9be - fixed - MMS server: messages can be corrupted when TCP buffer is full (LIB61850-385) 3 years ago
Michael Zillgith e11f113b98 - renamed TLSConfiguration_EventLevel to TLSEventLevel 3 years ago
Michael Zillgith c630abb8d1
Merge pull request #415 from mbourhis/add-parameter-for-choosing-MMS-port-in-server-examples
Examples: add command line parameter for choosing the MMS port in som…
3 years ago
Michael Zillgith b6cd6b61e0 - IED Server: added function to set time quality for internally updated times (LIB61850-372) 3 years ago
Michael Zillgith df66698b4d - added TLSConnection object to provide more context in TLS event callback (LIB61850-366) 3 years ago
Mikael Bourhis 9da09a22a9 Examples: add command line parameter for choosing the MMS port in some server examples
Some 'server' examples already have this capability.
Complete the 'server' example list that support the possibility of using
another MMS port than the default one (port '102').

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
3 years ago
Michael Zillgith 98f088a1d3 - removed redundant declarations (LIB61850-359) 3 years ago
Michael Zillgith fa8e3c0798 - TLS: added TLS alert callbacks; support for session resumption with session IDs (LIB61850-339) 3 years ago
Michael Zillgith 584a733b2a - mms_utility: added option to read data set directory 3 years ago
Michael Zillgith b62060b67f - fixed bug creating "Cancel" in CDC_APC_create 3 years ago
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