Commit Graph

281 Commits (95bcbf1210188776421a33b38d97583a658118ba)

Author SHA1 Message Date
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
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
Michael Zillgith 452abd7dbf - MMS client/server: added support for component alternate access for generic variable read requests 7 years ago
Michael Zillgith 1c461009c2 - MMS client/server: fixed potential memory leaks in TLS handling code 7 years ago
Michael Zillgith 5e35e6694b - added new example folder 7 years ago
Michael Zillgith b6c9a56d4a - .NET API: added more async functions
- .NET API: added GetFileDirectoryEx function
. file-tool: add "s" option to send only a single get file directory request
7 years ago
Michael Zillgith e252715aa9 - added report subscription activation to non-thread mode client example 7 years ago
Michael Zillgith 4157c9c5da - extended server_example_control to show how to change ctlModel with online service 7 years ago
Michael Zillgith 3b577fbf3a - file-tool: added option to show sub directory content 7 years ago
Michael Zillgith 0c006f2892 - improved error handling in iec61850_9_2_LE_example 7 years ago
Michael Zillgith afab66cb4d - error handling in SV publisher example 7 years ago
Michael Zillgith 388337a60d - IEC 61850 client: added support for non-thread mode (IedConnection_createEx, IedConnection_tick)
- added example for non-thread mode client and asynchronous API
7 years ago
Michael Zillgith d0f4c06d62 - IEC 61850 client: added functions IedConnection_getLogicalDeviceVariables, IedConnection_getLogicalDeviceDataSets, and IedConnection_getLogicalDeviceDataSetsAsync to address #89 7 years ago
Michael Zillgith a817b3d3c6 - updated data model of server_example_basic_io
- common: MmsVariableSpecification_getChildValue now also accepts "." as separator
7 years ago
Michael Zillgith 43e0fb4d05 - IEC 61850 Client: ControlObjectClient - added async control actions 7 years ago
Michael Zillgith 1cc350ed4a - IEC 61850 client: implemented IedConnection_writeDataSetValuesAsync 7 years ago
Michael Zillgith c04b4e928d - IEC 61850 client: implemented IedConnection_readDataSetValuesAsync 7 years ago
Michael Zillgith 5ef3acc3e6 - added error handling in iec61850_client_example4 7 years ago
Michael Zillgith 1eaf43ac8b - SV: fixed RefrTm and SmpSynch handling in SV publisher 7 years ago
Michael Zillgith e90d5d44fa - IEC 61850 client: added async discovery functions 7 years ago
Michael Zillgith 44d8ad8d15 - IEC 61850/MMS client: changed all invokeId parameters in async callbacks to uint32_t 7 years ago
Michael Zillgith 54d8fb74d7 - IEC 61850 client: added async versions for connect, abort, release, get variable specification, write object 7 years ago
Michael Zillgith 7767e282d6 - MMS client: added asynchronous get name list functions 7 years ago
Michael Zillgith fc1d62d1a7 MMS client: added asynchronous read journal service 7 years ago
Michael Zillgith 2f0211b188 - GOOSE publisher example: fixed memory leak 7 years ago
Michael Zillgith c0ce64c758 - file-tool: file client example is now compatible with windows 7 years ago
Michael Zillgith 77f97dc006 - replaced strndup 7 years ago
Michael Zillgith 51c29fe9a7 - IEC 61850 server/ MMS server: maximum number of client connections configurable at runtime 7 years ago
Michael Zillgith 2585aab516 - cleanup examples makefiles
- fixed bug in MMS mapping read handler
7 years ago
Michael Zillgith d0061fce96 - updated ICD file for server_example_complex_array
- added client example for array handling
7 years ago
Michael Zillgith 26af0d93c2 - IEC 61850 server: made IEC 61850 edition configurable at runtime 7 years ago
Michael Zillgith 14c8434201 - server_example_basic_io: fixed ICD/CID file 7 years ago
Michael Zillgith 020b1f40aa - IEC 61850 server: integrated automatic handling of "origin" and "ctlVal" status (ST) values for controllable CDCs 7 years ago
Michael Zillgith 58b4d6c107 -IEC 61850 server: added ReadAccessHandler to control read access 7 years ago
Michael Zillgith 71493036dc - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableLogService and IedServerConfig_isLogServiceEnabled) 7 years ago
Michael Zillgith 0a3d86601b - IEC 61850 server/MMS server: make dynamic data set service configurable at runtime with IedServerConfig object (new functions IedServerConfig_enableDynamicDataSetService and IedServerConfig_isDynamicDataSetServiceEnabled) 7 years ago
Michael Zillgith 27e883a1bc - MMS server: fixed bug in association service (file rename was not reported as supported service) 7 years ago