Commit Graph

1058 Commits (5630275a0d867dd2ccbe28b2c007023f908724cc)
 

Author SHA1 Message Date
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
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 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 cf7dbcc612 - HAL: added thread/semaphore support for MacOS 5 years ago
Michael Zillgith 02f03aea2f - GOOSE subscriber: added optional destination address check for GOOSE messages 5 years ago
Michael Zillgith 7ece9922ed - BSD socket: added support for async client socket functions 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 ede2c7766c
Merge pull request #239 from RomainNaour/v1.5-musl
V1.5 musl
5 years ago
Romain Naour 801d43e118 serial_port_linux: Add missing include sys/time.h
POSIX says `struct timeval` is defined if <sys/time.h> is included.

Adding this header allow to build against musl-libc.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from v1.4 branch commit 661405eb60)
5 years ago
Romain Naour a7d744d55d use <poll.h> instead of <sys/poll.h>
The manpage of poll(2) states that the prototype of poll is defined
in <poll.h>. Use that header file instead of <sys/poll.h> to allow
compilation against musl-libc.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
(cherry picked from v1.4 branch commit 4cad505fc9)
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 9b5c45a0b3 - added hal_base.h to installed headers in Makefile 5 years ago
Michael Zillgith db5740db0e - updated java tools binaries 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 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 9c2942a261 - integrate HAL functions in iec61850.dll 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 1fcbad0b65 - .NET API: added ControlAction.SetError method 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 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 0bc014580a - linux/windows socket: close socket when connect fails in Socket_connectAsync 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