Commit Graph

1093 Commits (a0ee6c816cc09798f17d62ff3bfed9da911d5c1f)

Author SHA1 Message Date
Michael Zillgith 1b2d194694 - IED server: For SBOes check test flag match when accepting operate (sSBOes8) 4 years ago
Michael Zillgith f866132e84 - IED server: Reject Cancel/SBOw in WaitForChange state - fixed problem with test case sCtl26 4 years ago
Michael Zillgith 9e6e3487da - removed compiler warnings 4 years ago
Michael Zillgith cb3f460fcf - .NET API: added functions to access DataAttribute properties 4 years ago
Michael Zillgith f6110c1158 - updated API documentation for command termination handler 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 abd26eedca - IED client: fixed memory leak when reusing IedConnection 4 years ago
Michael Zillgith 3532623319 - IED server: Goose publisher - set NdsCom when data set not configured or GoEna fails because of large data set 4 years ago
Michael Zillgith c4dcd37449 - added new function DataAttribute_setValue 5 years ago
Michael Zillgith 2b1104c0d3 - IED server - control model - send AddCause with operate- for DOes, SBOes control models 5 years ago
Michael Zillgith bd4bd0fab6 - IED server: GoCB has invalid data set reference when datSet="" in SCL file 5 years ago
Michael Zillgith 4e15343f5b - IED server: integrated GOOSE publisher - lock data model during GOOSE retransmission to avoid corrupted GOOSE data 5 years ago
Michael Zillgith ea268b46a7 - IED server: make presence of RCB.Owner configurable at runtime with function IedServerConfig_enableOwnerForRCB (B1502/S1634) 5 years ago
Michael Zillgith fd3847dcc5 - IED server: make presence of BRCB.ResvTms configurable at runtime with function IedServerConfig_enableResvTmsForBRCB (F1558) 5 years ago
Michael Zillgith d546ebac6f - restrict maximum recursion depth in BerDecoder_decodeLength when indefinite length encoding is used to avoid stack overflow when receiving malformed messages 5 years ago
Michael Zillgith ed810fde0f - MmsValue_equalTypes: check parameters for NULL to avoid dereferencing NULL pointer 5 years ago
Michael Zillgith e04e424b02 - fixed oss-fuzz issues 31399, 31340, 31341, 31344, 31346 5 years ago
Michael Zillgith dc22dc76ec - IED server: fixed bug in log service - old-entry and old-entry-time not updated 5 years ago
Michael Zillgith 842bc271cd - IED server: added new function IedServer_handleWriteAccessForComplexAttribute. Changed WriteAccessHandler behavior when ACCESS_POLICY_ALLOW. 5 years ago
Michael Zillgith cc905b5013 - IED server/model: Added additional functions for ModelNode access 5 years ago
Michael Zillgith 9e27ed5a77 - MMS server: add compile time configuration options to enable/disable fileDelete and fileRename services (fileRename is now disabled by default) 5 years ago
Michael Zillgith 4dc971ba56 - MMS server: better data model lock handling for performance improvements 5 years ago
Michael Zillgith 60d66e5ba4 - some code beautification 5 years ago
Michael Zillgith 5afa1310f3 - IED server: Add function ModelNode_getObjectReferenceEx 5 years ago
Michael Zillgith 5e39c94cf3 - IED server: allow IedServer_setServerIdentity with some parameters set to NULL 5 years ago
Michael Zillgith cdd00da057 - .NET API: Added IDisposable interface to IedServer and IedModel classes
- .NET API: Added method IedModel.SetIedName
5 years ago
Michael Zillgith fe39cc9b24 - IED server: control models - fixed bug that only one control is unselected when connection closes 5 years ago
Michael Zillgith b0fb3259e5 - IedConnection/common: fixed new bug in code to separate elements of object reference 5 years ago
Michael Zillgith 4f0667b597 - removed some warnings and code cleanup 5 years ago
Michael Zillgith de2ce1d008 - removed some compiler warnings (when compiling with clang) 5 years ago
Michael Zillgith db1671587e - IED server: fixed bug - logs (journals) are added to all logical devices instead of just the parents 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 23a3b3a371 - IED server: make compatible with tissue 1178 5 years ago
Michael Zillgith 6c2b9ad473 - IED server: reporting - implemented behavior according to tissue 1432 5 years ago
Michael Zillgith 74a227bdf2 - IED server: WriteAccessHandler can tell the stack not to update the
value when returning DATA_ACCESS_ERROR_SUCCESS_NO_UPDATE
5 years ago
Michael Zillgith 5f2e14f712 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 945fe080f3 - removed some compiler warnings 5 years ago
Michael Zillgith 176de25ca0 - IEC 61850 client: IedConnection - list of client control objects is protected by a lock 5 years ago
Michael Zillgith bc29a0b048 - IEC 61850 client: avoid double free when operate and select-with-value on APC fails 5 years ago
Michael Zillgith d08f5a67ac - IED server: fixed problem with client connection handling of setting groups 5 years ago
Michael Zillgith 474a482766 IED server: fixed problem with CONFIG_IEC61850_RCB_ALLOW_ONLY_PRECONFIGURED_CLIENT configuration option enabled 5 years ago
Cédric Boudinet bf27774a86 Svsub latency (#288)
* Changing svReceiverLoop to reduce latency

* adding EthernetHandleSet_destroy to svReceiverLoop
5 years ago
Michael Zillgith 40f8b76ad7 - IED server: handle BRCB.Owner correctly when client uses pre-assigned RCB instance 5 years ago
Michael Zillgith 4793e298ff - IED server: fixed problem that BL FC is not writable (#287) 5 years ago
Michael Zillgith ae4f940753 - .NET API: Added support for SelectStateChangedHandler
- .NET API: Added ModelNode.GetObjectReference
5 years ago
Michael Zillgith c02e99a022 - IEC 61850 client: fixed dead lock in IedConnection_getFileAsync when fileRead times out (#285) 5 years ago
Michael Zillgith 3e98fdfa90 - Client: fixed - IedConnection_getRCBValues doesn't check type of server response (#283) 5 years ago
Michael Zillgith 4deca9a4c0 - IED server: fixed potential deadlock in report module when service tracking is enabled 5 years ago
Michael Zillgith 5d704b8026 - GOOSE subscriber: fixed message validity check 5 years ago
Michael Zillgith a606848a8b - GOOSE subscriber: changed maximum GoID size according to tissue 770 (129 bytes) 5 years ago
Michael Zillgith 7b671f3a01 - GOOSE subscriber: accept GOOSE messages with the correct maximum size of DatSet and GoID 5 years ago
Michael Zillgith b88c4216c8 - IED server: send AddCause for invalid origin also in case of direct control models 5 years ago
Michael Zillgith 8ac9a732df - added function GooseSubscriber_getParserError 5 years ago
Michael Zillgith 146dbb9057 - GOOSE subscriber: improved code to detect invalid GOOSE messages 5 years ago
Michael Zillgith 0c9d1b16f8 - fixed struct initialization problem with Visual Studio 5 years ago
Michael Zillgith 8a55ef47bf - IED server: ControlPerformCheckHandler has same parameters when called again in state WAITING_FOR_SELECT 5 years ago
Michael Zillgith 14f4f1ccf0 - IED server: added ControlSelectStateChangedHandler callback for control model 5 years ago
Michael Zillgith fb5ed11001 - IED server: also respect user provided error and addCause from ControlPerformCheckHandler when the handler is called multiple times in waiting-for-select state 5 years ago
Michael Zillgith a5bcd3c251 - IED server: fixed problem - control not unselected after connection is closed for sboClass "operate-many" 5 years ago
Michael Zillgith 9348683462 - IED server: fixed bug in cdc.c (wrong type for tOpOk data attribute) 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 53d8a2f715 - IED server: changed types TrkOps and OptFlds to variable length bit strings 5 years ago
Michael Zillgith 23da9ba28e - IED server: control service tracking - fixed problem with missing attributes for SBOw tracking 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 767bc887de - IED server: fixed problems in control service tracking 5 years ago
Michael Zillgith 49cc901263 - fixed problem in control service tracking 5 years ago
Michael Zillgith a165d1698d - MMS: changed handling of variable sized bit strings (now also accepts bit strings of larger size, ignoring the bits that exceed the specified size) 5 years ago
Michael Zillgith 3f42387ed7 - IED server: fixed dupd trigger handling 5 years ago
Michael Zillgith e4fcb923a0 - fixed problems in control service tracking 5 years ago
Michael Zillgith 00a821e67e Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 543d7802f5 - MMS client: add handling of initiate error PDU 5 years ago
Michael Zillgith b27e363372 - IED server: add support for correct CBB handling (required for test case sAss4) and initiate error PDU 5 years ago
Michael Zillgith 42802db6f1 - added -Wextra to Makefile and changed code to avoid resulting warnings 5 years ago
Michael Zillgith 036f60e4f1 - fixed compiler warning 5 years ago
Michael Zillgith 07525b598f Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 1f56110d32 - removed some compiler warnings 5 years ago
Michael Zillgith fb9fc7b88b
Merge pull request #265 from mbourhis/v1.5-fix_GooseEthernetInterfaceId_allocation
IED Server/Goose: Fix the 'Goose Ethernet Interface Id' allocation
5 years ago
Michael Zillgith 7ee278cead - IEC 61850 client: using poll/select to reduce CPU consumption 5 years ago
Mikael Bourhis a095c16139 IED Server/Goose: Fix the 'Goose Ethernet Interface Id' allocation
Issue:
In the case of 'GooseInterfaceId' initialization for all GOOSE
publishers (API function: IedServer_setGooseInterfaceId()), only the pointer of
the character string is saved and used for the next operations.
If the corresponding memory is cleared or overwritten in the
application program, a segfault may occurred in libiec61850.

Proof:
In the 'server_example_goose.c' example, if we used a temporary
allocated memory to store the 'ethernetIfcId', the bug will occur:

        /* set GOOSE interface for all GOOSE publishers (GCBs) */
    +   unsigned int ethernet_interface_id_length = strnlen(ethernetIfcID, 32);
    +   char * tmp_ethernet_interface_id = calloc(sizeof(char), ethernet_interface_id_length + 1);
    +   memcpy(tmp_ethernet_interface_id, ethernetIfcID, ethernet_interface_id_length);
    +
        IedServer_setGooseInterfaceId(iedServer, tmp_ethernet_interface_id);
    +
    +   explicit_bzero(tmp_ethernet_interface_id, ethernet_interface_id_length);
    +   free(tmp_ethernet_interface_id);

(This issue was discovered during the rewriting of 'server_example_goose'
in Python, with the Swig wrapper: the allocated memory for
'ethernetIfcID' parameter in the Swig wrapper is automatically reused)

Fix:
The 'gooseInterfaceId' attribute of 'MmsMapping' in libiec61850 must be a new
allocated memory (with the use of 'StringUtils_copyString()') and deallocated
in the 'MmsMapping_destroy()' function.
5 years ago
Michael Zillgith ec5ccb62a0 - IED server: RCB and LCB service tracking replaced $ with . characters in object references 5 years ago
Michael Zillgith 5e520f21b5 - IED server: added missing data set update in GoCB service tracking object 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 bafe27a0e8 - IED server: add support for tissue 807 (owner attribute in RCB is only present when ReportSettings@owner attribute is true) 5 years ago
Michael Zillgith 9809582f96 - IED server: implemented tissue 1453 also for writing to "RptId"
(purgeBuf only executed when value changes)
5 years ago
Michael Zillgith 42013e1550 - MMS client: fixed bug in TLS connection handling 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 3e1a23a6d0 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith aabe20031f - GOOSE subscriber: always copy GoID and DatSet from GOOSE message; always create new MmsValue instance for GOOSE data set when subscriber is observer 5 years ago
Michael Zillgith 69e359b03f - added new DataAttributeType value IEC61850_TYPE_UNKNOWN 5 years ago
Michael Zillgith a17e9603e0 - config file parser: fixed problem when compiling with visual
studio/C++
5 years ago
Michael Zillgith 2bc47a6a6c - IED server: added configuration file support for data set entries with array elements or array element components 5 years ago
Michael Zillgith 131fcf5236 * IEC 61850 client: added missing check in ClientReportControlBlock_getConfRev 5 years ago
Michael Zillgith ed8c8b3ac7 - IEC 61850 server: fixed some variable initialization issues caused by recent changes 5 years ago
Michael Zillgith e4b2849894 - fixed problems in handling array elements and array element components 5 years ago
Michael Zillgith 6a3c66eafa - fixed bug in MmsConnection_readMultipleVariables: send invaid messsage and memory access errors when too many items are passed to the function exhausting MMS payload size 5 years ago
Michael Zillgith ee4da06690 - IEC 61850 server: fixed problem with test case sRp4 - RCB RptID attribute is not empty after writing empty string 5 years ago
Michael Zillgith cbd5c0b36f - GOOSE/SV publisher: remove internal header file from API header 5 years ago
Michael Zillgith 504c260667 - fixed program crash when normal mode parameers are missing in presentation layer (#252) 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
Michael Zillgith 9ac8192bae - IED Server: fixed service tracking object references for RCB and GoCB service tracking 5 years ago
Michael Zillgith 3e83cd6194 - GOOSE receiver: improvements in GOOSE receiver 5 years ago
Michael Zillgith 34647c6876 - GOOSE publisher: Added doxygen comments and functions GoosePublisher_publishAndDump, GoosePublisher_setStNum, GoosePublisher_setSqNum 5 years ago
Michael Zillgith 649db2b3d6 - IEC 61850 server: extended control service tracking
- IEC 61850 server: partially implemented setting group service tracking
- IEC 61850 server: partially implemented GoCB service tracking
5 years ago
Michael Zillgith 88acbd49c4 - COTP: fixed possible heap buffer overflow when handling message with invalid (zero) value in length field (#250) 5 years ago
Michael Zillgith 0129032f08 - IEC 61850 server: fixed - cancel command for time activated control returns object-access-denied even in case of success 5 years ago
Michael Zillgith cc22c69fb1 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 24a380c845 - IEC 61850 server: added updating of missing attributes for control
service tracking
5 years ago
Michael Zillgith 8bc7b75e11 - IEC 61850 server: fixed crash in control service tracking when application doesn't register control handler 5 years ago
Michael Zillgith 2467457b5b - IEC 61850 server: fixed problem with wrong service-type for service
tracking when writing URCBs (SetBRCBValues instead of SetURCBValues)
5 years ago
Michael Zillgith 80d11fbf78 - IEC 61850 server: started to implement control service tracking
(implemented support for SpcTrk)
5 years ago
Michael Zillgith 4ee5891388 - fixed debug output in iso_server.c 5 years ago
Michael Zillgith 2f5817e0ac - IEC 61850 server: implemented service tracking for BRCBs and URCBs 5 years ago
Michael Zillgith 920eabe31f - IEC 61850 client: ReasonForInclusion type is now int to be compatible
with C++
5 years ago
Michael Zillgith 004789cf39 - fixed error in API documentation 5 years ago
Michael Zillgith 4a3702112e - MMS client: fixed potential problem in multi-variable write response parsing 5 years ago
Michael Zillgith 27ae0a5c0f - removed outdated comment 5 years ago
Michael Zillgith 69d93f398c - IEC 61850 client: fixed bug - IedConnection_setRCBValuesAsync always return 0 instead of invoke-ID 5 years ago
Michael Zillgith de6886c6f3 - MMS: fixed problem in handling of indefinite length encoded BER elements 5 years ago
Michael Zillgith 02f03aea2f - GOOSE subscriber: added optional destination address check for GOOSE messages 5 years ago
Michael Zillgith 092d8786ac - IEC 61850 server: control model - fixed bug in handling of check flags 5 years ago
Michael Zillgith 538b9698bc - COTP: fixed bug in sendBuffer loop 5 years ago
Michael Zillgith c4de14eb45 - MmsValue: fixed unaligned memory access problems for MMS_FLOAT variables 5 years ago
Michael Zillgith d38e590c99 - IEC 61850/MMS server: control - allow WaitForExecutionHandler to trigger LastApplError message 5 years ago
Michael Zillgith 5f02ea1661 - IEC 61850 server: control module return AddCause command-already-in-execution when second operate is received while command is executed 5 years ago
Michael Zillgith d85b7ac777 - IEC 61850 client: reporting - support data set entries with multiple reasons for inclusion 5 years ago
Michael Zillgith b3c5ecdcf2 - IEC 61850 server: report service - combine quality and value change of a FCDO in the same report when model is locked (send data set entry with multiple reason-for-inclusion) 5 years ago
Michael Zillgith 3bf0e9a689 - MMS client: fixed potential problem in handling of next invoke ID 5 years ago
Michael Zillgith 9ca6d696c3 - MMS client: added additional check when parsing read response 5 years ago
Michael Zillgith 83e8e14603 - .NET API: fixed bug in DataSet destructor 5 years ago
Michael Zillgith b6b94b0438 - fixed VS compilation problems 5 years ago
Michael Zillgith e1eb09d55b - MmsValue: added NULL checks for all memory allocations
- MmsValue: buffer for float/double data is now part of the MmsValue structure and not allocated separately
5 years ago
Michael Zillgith d55afdfb92 - IEC 61850 server: added support to listen on multiple IP addresses and ports (new function IedServer_addAccessPoint) 5 years ago
Michael Zillgith 12d703e453 - IEC 61850 server: Added ControlAction_setError function - with this function the user application can control the error code used in LastApplError and CommandTermination messages 5 years ago
Michael Zillgith 94dcbb0119 - removed unused variable 5 years ago
Michael Zillgith b0fbf9f3a3 - IEC 61850 server: fixed - Configuration option CONFIG_MAXIMUM_TCP_CLIENT_CONNECTIONS = -1 doesn't work (#231) 5 years ago
Michael Zillgith d42f96ee97 - IEC 61850 server: fixed - control model - peer connection is not always available when control handlers are called (#232) 5 years ago
Michael Zillgith 8e95e7dbb8 - MMS: also update bitstring value when source bit string is of smaller size than the bitstring to be updated 5 years ago
Michael Zillgith c4a5fd2f27 - IEC 61850 client: fixed memory leak in async select function 5 years ago
Michael Zillgith 73f1a98b4a Merge branch 'v1.4' into v1.5 5 years ago
Michael Zillgith 994eea4b9a - GOOSE subscriber: fixed crash when GOOSE messages misses time stamp 5 years ago
Michael Zillgith cdf371e92e - fixed: MmsValue_printToBuffer fails with empty MMS_OCTET_STRING (#227) 5 years ago
Michael Zillgith cc08420e50 - IEC 61850 server: fixed problem with logging when log data set contains FCDO (#225) 5 years ago
Michael Zillgith 97e65d5743 - fixed problem encoding OID with arc values 0 5 years ago
Michael Zillgith 1744616866 - IEC 61850 server: RCB - fixed problem that other client can "steal" reservation 5 years ago
Michael Zillgith 4871989658 - MMS client: fixed bug in log entry parsing (#224) 5 years ago
Michael Zillgith 95f751ef63 - IEC 61850 server: fixed potential null pointer dereference in multi
thread mode when server is stopped
5 years ago
Michael Zillgith 6a2db3fe46 - IEC 61850 server: fixed bug in single threaded mode (windows) 5 years ago
Michael Zillgith 4a15e9987b - IEC 61850 server: fixed compilation error in single thread mode 5 years ago
Michael Zillgith f4957cf62a - IEC 61850 server: wait for background thread termination before data model is released 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 29efa333f8 - IEC 61850 server: allow server to start without logical devices in data model (#218) 6 years ago
Michael Zillgith cb8f159914 - IEC 61850 server: unbuffered reporting - send first integrity report after integrity timeout (before it was sent when the RCB was enabled) 6 years ago
Michael Zillgith fd84d21c10 - IEC 61850 client: fixed bug in ClientReportControlBlock - some allowed structures for RCB were rejected 6 years ago
Michael Zillgith bfcb65eabc - add 64 bit integer support to MmsValue_printToBuffer 6 years ago
Michael Zillgith c7f7989b85 - IEC 61850 server: control - unselect when operate with wrong origin parameters, check if check parameter matches for SBO 6 years ago
Michael Zillgith 0ba4a70d33 - IEC 61850 server: fixed missing report timestamp update for unbuffered reporting 6 years ago
Michael Zillgith 09b23aaa74 - IEC 618580 server: Added function IedServer_setServerIdentity to set values for MMS identity service 6 years ago
Michael Zillgith ae07c77d39 - CDC helpers: added functions to create ISC and BAC CDCs 6 years ago
Michael Zillgith 2dba040c1a - CDC helper functions: added stSeld and attributes from ControlTestingCDC to control CDCs 6 years ago
Michael Zillgith 922f3055b4 - updated cmake files to work with cmake 2.8 6 years ago
Michael Zillgith 800c76c50e - update cmake files 6 years ago
Michael Zillgith 4aaced2639 - IEC 61850 server: unselect control when oper is not accepted
- IEC 61850 server: send select-failed for control when origin parameter is not valid
6 years ago
Michael Zillgith 4dede9b8a1 - updated version number to 1.4.2 6 years ago
Michael Zillgith d8153483b5 - IEC 61850 server: fixed control handling to comply with test case sCtl25 6 years ago
Michael Zillgith 3a248a4f20 - IEC 61850 server: fixed control handling to comply with test case sCtl11 6 years ago
Michael Zillgith 0c83507727 - IEC 61850 server: pass origin, ctlNum, ctlVal to select handler for SBOw 6 years ago
Michael Zillgith 7d22aba900 - removed internal header files from install target (#214) 6 years ago
Michael Zillgith e2d3ef2c72 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 6 years ago
Michael Zillgith ac008c2e76 - SV publisher/subscriber: add support for timestamps with nanosecond resolution 6 years ago
Michael Zillgith 33db13de16 - Timestamp: added functions to handle times with ns resolution 6 years ago
Michael Zillgith b4b74c69a4 - windows socket layer: fixed bug - cannot reuse handleset 6 years ago
Michael Zillgith 37d43fe8d4 - windows socket layer: fixed bug - cannot reuse handleset 6 years ago
Michael Zillgith d20da7c15d - TLS: fixed memory leak when TLS authentication fails 6 years ago
Michael Zillgith c71015f240 - TLS: fixed memory leak when TLS authentication fails 6 years ago
Michael Zillgith 1831be663e - updated version to 1.5.0 6 years ago
Michael Zillgith d86055173d - IEC 61850 server: control models - allow delaying select response with check handler (new handler return value CONTROL_WAITING_FOR_SELECT) 6 years ago
Michael Zillgith abcf93416f - added function IedServer_getNumberOfOpenConnections
- IEC 61850/MMS server: refactored connection handling
6 years ago
Michael Zillgith f788256247 - Socket layer: Added function HandleSet_removeSocket
- Socket layer (Linux/BSD): replaced select by poll
6 years ago
Michael Zillgith df0e7c08df - IEC 61850 server: fixed new memory leak in unbuffered reporting 6 years ago
Michael Zillgith 8991954e3c - removed header dependencies from API headers 6 years ago
Michael Zillgith 18c2e30f87 - IEC 61850 server: refactored reporting module; unbuffered reports are stored to report buffer and sent by connection handling thread 6 years ago
Michael Zillgith 0237c9b95c - updated CHANGELOG/version number to 1.4.1 6 years ago
Michael Zillgith 925c19bff6 - IED Server: added support for transient data objects 6 years ago
Michael Zillgith afe9afafc0 - MMS get name list service: fixed wrong return value in case of unknown argument for continueAfter 6 years ago
Michael Zillgith d6bf4047e1 - fixed compilation problem when CONFIG_MMS_THREADLESS_STACK is defined 6 years ago
Michael Zillgith b4c7cefb15 - MMS value parser: added plausibility check for bit-string padding value (#200) 6 years ago
Michael Zillgith 118a731b36 - SV publisher: fixed memory leaks (#191) 6 years ago
Michael Zillgith 7d1a552cde - GOOSE publisher: fixed problem with overflow of stNum and sqNum (see #199) 6 years ago
Michael Zillgith 88fce24b83 - string_utilities.c: added checks if memory allocation fails 6 years ago
Michael Zillgith 320f41fc1f - check return value of getNumberOfElements in MmsValue_decodeMmsData 6 years ago
Michael Zillgith 23e381fa76 - added additional length checks in MmsValue_decodeMmsData to fix #194 6 years ago
Michael Zillgith 6c53924c05 - added additional length check in BerDecoder_decodeLength and checked return values in callers (fix problem #196) 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 5fbb67c44c - some code beautification 6 years ago
Michael Zillgith 6738215c8f
Merge pull request #183 from kiraly533/v1.4
TimeActivatedControl before wait check and fixes for file-upload issues.
6 years ago
Michael Zillgith 1120a76ecd - added bool define for older visual studio 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 cee97f7676 MMS server: handle file close with unknown FRSM ID 6 years ago
Michael Zillgith 11d1a5ca6d fixed problem in time conversion for mingw 6 years ago
Király Péter 3b32c14870 - MMS server: in case of file upload timeout the task will end with proper error response. 6 years ago
Király Péter a03f57c0a7 Merge remote-tracking branch 'mz/v1.4' into v1.4 6 years ago
Király Péter c988b78e5f - MMS server: fixed file upload error with multi-threaded server, added some NULL checks to file-handling. 6 years ago
Michael Zillgith 16c7124c2b - add define to compile with MVC2010 6 years ago
Király Péter 7ed8516344 Added getter for the time of the timeActivated controls. 6 years ago
Király Péter a39397d21d Add check call before starting a timeactivated operate, so operates can be denied before the waiting state 6 years ago
Király Péter c223b1c2b5 - MMS server: fixed possible crash when client disconnects during file upload 6 years ago
Michael Zillgith 17205ed874 - Client: response timeout for connection setup now configurable (default timeout now 5 s instead of 1 s )
- removed configuration option CONFIG_TCP_READ_TIMEOUT_MS
6 years ago
Michael Zillgith 8bbc905533 - IEC 61850 client: improved error handling and fixed potential memory leak in IedConnection_getDeviceModelFromServer 6 years ago
Michael Zillgith 69729bd8a0 - fixed - misspelled function name #180 6 years ago
Michael Zillgith 939476e52a Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith eaaaa2b0a5 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 547d5118e0 -replaced timegm implementation on windows. Fixes bug with MMS file times 6 years ago
Michael Zillgith 5e16971bbf - updated documentation 6 years ago
Michael Zillgith 6e9047916c - fixed bug in BerInteger_setUint16 6 years ago
Michael Zillgith e4c3875e3e IEC 61850 server: added function ControlAction_getCtlNum to access ctlNum value inside control handlers 6 years ago
Michael Zillgith 31e183d357 - IEC 61850 client: added additional error code to provide diagnostic information when data set cannot be created because of a non existing data set element 6 years ago
Michael Zillgith 903abe0b6d - MMS client: fixed problem with obtain file timeout with large files 6 years ago
Michael Zillgith 320f511d33 - IEC 61850 client: Added functions IedConnection_setRequestTimeout and IedConnection_getRequestTimeout to C API and IedConnection.RequestTimeout property to .NET API 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 e7ece50f08 - updated documentation for MMS octet string type (MMS_OCTET_STRING) handling functions 6 years ago
Michael Zillgith cba8bf5714 MMS server: fixed memory access problem when client unexpectedly closed connection during file upload (set-file) 6 years ago
Michael Zillgith 119b3d71f7 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith ee3d4f0164 - added function GooseReceiver_getInterfaceId
- GOOSE receiver: fixed problem with running state detection after receiver start
6 years ago
Michael Zillgith 4254af3ff9 IEC 61850 client: ControlObjectClient_getLastError provides access to data access error information of last control action 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 46d7f6ff2d - SV publisher: make VLAN tagging optional 6 years ago
Michael Zillgith 3391f4c139 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 74d78d0618 updated server substitution example 6 years ago
Michael Zillgith cbd0008f48 - IEC 61850 client: fixed - file transfer doesn't release outstanding connection 6 years ago
Michael Zillgith 88849e1663 - added new type PSelector to represent presentation layer selector more flexible 6 years ago
Michael Zillgith 2cf288fbeb Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 57f6df3c3a - HAL(Socket): Added function Socket_getLocalAddress
- IEC 61850 server: Added function ClientConnection_getLocalAddress
6 years ago
Michael Zillgith 2bfd0fd0ef - GOOSE receiver: add support for operation without Ethernet HAL implementation 6 years ago
Michael Zillgith 965cebbe2d - added export definitions to MmsVariableSpecification functions 6 years ago
Michael Zillgith f34cdb24e7 - add define to export symbols when building DLL 6 years ago
Michael Zillgith 84fcfbbd22 - MMS client/server: handle missing invoke ID in reject/error PDUs 6 years ago
Michael Zillgith 4c123c0c3c - MMS server: fixed potential deadlock in multi-thread mode 6 years ago
Michael Zillgith 73417cdbf2 - Added additional check in MmsVariableSpecification_getChildValue 6 years ago
Michael Zillgith d4304e0a38 - IEC 61850 server: URCB will not release reservation (and owner) when RCB is disabled 6 years ago
Michael Zillgith 4f59099c59 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 0d5fa50947 - MMS client: added missing socket release when connection was not opened 6 years ago
Michael Zillgith 60741394a3 - MMS server: fixed bug in obtain file service (crash when target directory doesn't exist) 6 years ago
Michael Zillgith 8f5b501d75 - removed inline function declarations 6 years ago
Michael Zillgith f5236f84fc - IEC 61850 client: convert MMS error for outstanding call limit to IedClientError 6 years ago
Michael Zillgith 4b4a85dcc2 Merge branch 'v1.4' of https://github.com/mz-automation/libiec61850 into v1.4 6 years ago
Michael Zillgith 2e9761c541 - IED server: cancel outstanding control tasks when client closes connection (to prevent blocking the connection for waiting time activated controls) 6 years ago
Michael Zillgith c2d73c3fe8 - fixed bug parsing OID string with space as separator 6 years ago
Michael Zillgith 7cb69c983a - additionally allow comma and space as separators in ap-titles used in API functions 6 years ago
Michael Zillgith daff495246 - MMS client/server: accept empty bit strings 6 years ago
Michael Zillgith 8099734f11 - .NET API: adopted to new server side control API 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 28e2acbd33 - IED server: avoid dynamic memory allocation in control module 6 years ago
Michael Zillgith f0df571f42 - IED server: made code compatible with C++ 6 years ago
Michael Zillgith a9fa07a7d4 - IED server: some memory optimizations in control module 6 years ago
Michael Zillgith 2911781070 - IEC 61850 server/reporting: fixed bug when checking for invalid data set member 6 years ago
Michael Zillgith 38d67a4e69 - IEC 61850 server/reporting: send access error "object-value-invalid"
when data attribute in report data set has no value
6 years ago
Michael Zillgith ebc71d9731 - IEC 61850 common: moved some internal code to better seperate
client/server side code
6 years ago
Michael Zillgith 16c061b4df - MMS server API: removed dependency from internal header file iso_server.h 6 years ago
Michael Zillgith 5a83af9206 - moved mms_server.h back to public API (see github #117) 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 a3c2c4652e - IEC 61850 server: control model - implemented automatic handling of stSeld when present in data object 7 years ago
Michael Zillgith c98a2b0baa - MMS server: fixed connection handling problem in multi-threaded mode 7 years ago
Michael Zillgith 994484d1a6 - MMS server: added semaphore for open connections map to prevent problem in multi-threaded mode 7 years ago
Michael Zillgith 1f144a008e - fixed memory leak in ClientSVControlBlock_create 7 years ago
Michael Zillgith 26a45a078b - added error handling code to client_example_log.c
- fixed bug in ClientSVControlBlock
7 years ago
Michael Zillgith 0cddcb7d12 - MMS client: changed signature of MmsConnection_FileReadHandler 7 years ago
Michael Zillgith 8ffbd9f265 - removed function MmsValue_deleteIfNotNull (now MmsValue_delete does check for NULL) 7 years ago
Michael Zillgith ac14a4722d - integrated cmake file changes from v1.3 branch 7 years ago
Michael Zillgith 0d2775742a - IEC 61850 client: fixed problems in ClientReportControlBlock_create (see github #134) 7 years ago
Michael Zillgith 0308f87b85 - SV subscriber: fixed bug in function SVReceiver_enableDestAddrCheck 7 years ago
Michael Zillgith 9f8d52005b - MMS client: fixed problem when reusing connection 7 years ago
Michael Zillgith f2c811c7c7 - IedServer: fixed potential deadlock when IedServer_stop is directly called after IedServer_start 7 years ago
Michael Zillgith 287769dcba - IEC 61850 client: handle reason code correctly when report contains data with different reason code (see github #133) 7 years ago
Michael Zillgith b35a566145 - IEC 61850 server: fixed problem in report module 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 9ed1510223 - added function StringUtils_convertIPv6AdddressStringToByteArray 7 years ago
Michael Zillgith 732ad79070 - fixed problem with read access to GCB (see github #130) 7 years ago
Michael Zillgith 0b2d97c738 - COTP: added payload length validation (see github #127) 7 years ago
Steffen Vogel 5aa78a8b18 sv-publisher: simplify calculation of length of BER length field 7 years ago
Steffen Vogel a81b76c5e3 sv-publisher: fix invalid calculation of the total packet length in case the payload is larger than 127 bytes 7 years ago
Michael Zillgith 9309cb78de - added missing definition 7 years ago
Michael Zillgith 199d091c6d - IEC 61850 server: don't send bufOvfl for unbuffered reports (see #101) 7 years ago
Michael Zillgith 0a27ec758f - IED server: handling thread mode changed 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 6af7973b09 - IsoClientConnection_associateAsync: added check if socket creation has been successful 7 years ago
Michael Zillgith 46f87a1656 - fixed client TCP keep alive problem (see #115) 7 years ago
Michael Zillgith 3d8ab44a49 - MMS client: improved handling of malformed messages when reading data
- MMS client: improved handling of malformed messages when receiving reports
- MMS client: fixed potential memory leak when receiving malformed messages
7 years ago
Michael Zillgith 1c461009c2 - MMS client/server: fixed potential memory leaks in TLS handling code 7 years ago
Michael Zillgith 87cac8dc00 - code formated 7 years ago
Michael Zillgith 4bd8b40b6c - code formatting 7 years ago
Michael Zillgith d9cb36817a - IEC 61850 server: fixed problem with wrong purge buffer invocation when using dynamic data set in buffered report control block 7 years ago
Michael Zillgith 256f55aaef - .NET API: added more async client functions 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 bbb56a16a3 - removed some compiler warnings 7 years ago
Michael Zillgith 1d61afaa8b - C library: removed C++ style line comments 7 years ago
Michael Zillgith 6a7266da93 - SV publisher/subscriber: improved error handling when configuration is wrong 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 5ed474a44a - MMS client: fixed problem with async connect timeout 7 years ago
Michael Zillgith ef076efe9f - IEC 61850 client: fixed problem with connection state handling 7 years ago
Michael Zillgith 3e30910319 - IEC 61850 client: added missing async functions for files 7 years ago
Michael Zillgith 0842097b7e - IEC 61850 server: fixed some small bugs and compiler warnings
- IEC 61850 server: retrun object-access-unsupported when ctlModel is status-only
7 years ago
Michael Zillgith 618a84d37c - IEC 61850 client: add public header for function ControlObjectClient_createEx to create a client control object without the need to request information from the server 7 years ago
Michael Zillgith 91c22b3193 - IEC 61850 server: added IedServer_updateCtlModel function to change control model at runtime 7 years ago
Michael Zillgith cad88b67a1 - IEC 61850 client: fixed bug in new control object client implmentation - missing free for oper variable specification 7 years ago
Michael Zillgith 89d623866e - IEC 61850 client: add function IedConnection_getFileAsync 7 years ago
Michael Zillgith aca462c761 - removed outcommented code 7 years ago
Michael Zillgith f78f338b49 - IEC 61850 client: added implementations for functions IedConnection_getLogicalDeviceVariables, IedConnection_getLogicalDeviceDataSets, and IedConnection_getLogicalDeviceDataSetsAsync to address #89 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 d5df360f3a - fixed problem in GOOSE publisher payload length calculation 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 2c5fb89449 - IEC 61850 client: implemented tissue 1178 client side (select-response+ is non-NULL) 7 years ago
Michael Zillgith 46211a01e7 - IEC 61850 client: IedConnection - added CONNECTING AND CLOSING states - removed IDLE state (now only CLOSED) 7 years ago
Michael Zillgith e12113acde - IEC 61850 client: implemented IedConnection_installStateChangedHandler 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 8f4af64685 - SV: added API export attribute to new SV functions 7 years ago
Michael Zillgith 1eaf43ac8b - SV: fixed RefrTm and SmpSynch handling in SV publisher 7 years ago
Michael Zillgith 14e3a9668c - GOOSE publisher: fixed bug in GOOSE message calculation 7 years ago
Michael Zillgith f644b8d777 - IEC 61850 client: ControlObjectClient - avoid crash when "ctlVal" is not present in "Oper", also accept "setMag" instead of "ctlVal". 7 years ago
Michael Zillgith c9fe177a87 - IEC 61850 server: fixed potential deadlock in report processing 7 years ago
Michael Zillgith 861c5b244b - MMS client: fixed bug with async request timeout 7 years ago
Michael Zillgith 836892849c - IEC 61850 client: improved support for segmented report handling 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 ed75aa3f46 - some code formatting 7 years ago
Michael Zillgith 7ec38e9615 - IEC 61850 client: added async client side RCB handling 7 years ago
Michael Zillgith 2b7dc5c5fe - added API export/internal decorations
- removed .def files for windows
7 years ago
Michael Zillgith 5201473262 - IEC 61850 client: added more prototypes for async client API 7 years ago
Michael Zillgith e6884d721b - IEC 61850 client: added asynchronous query log functions 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 a5e15003ce - correcting verions detection for swig (phyton)
- client: adopted TLS code to new async architecture
7 years ago
Michael Zillgith 56d7ee4f0b - IEC 61850/MMS client: Add support for write variable for array element with component
- added lost README file for winpcap
7 years ago
Michael Zillgith 70c1cd691d - MMS client: refactoring for async connect, abort, release 7 years ago
Michael Zillgith 8d45d44cc2 - Socket HAL: added functons for asynchronous (non-blocking) connect 7 years ago
Michael Zillgith 4d32e3c1ae - MMS client: code cleanup for asnyc functions 7 years ago
Michael Zillgith 069646f954 - MMS client: added asynchronous file service functions 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 c80a87d5e8 - MMS client: add asynchronous function for MMS identify service 7 years ago