Michael Zillgith
3c918ee4e3
- IED server: added IedServer_ListObjectsAccessHandler callback to control LISTOBJECTS access rights (LIB61850-417)
2 years ago
Michael Zillgith
c7528975dc
- fixed - server sends dchg report when only dupd is enabled in RCB (LIB61850-411)
2 years ago
Michael Zillgith
c9d9271a52
- fixed - arrays of complex data attributes not handled correctly (LIB61850-408)
2 years ago
Michael Zillgith
a786198c87
Merge branch 'v1.6_develop_387' into v1.6_develop
2 years ago
Michael Zillgith
5b34251030
- IED server: fixed - segmentation fault when compiled with CONFIG_MMS_THREADLESS_STACK (LIB61850-398)
2 years ago
Michael Zillgith
aa863f35f0
- IED server: added callback to control access to data model directories (get-name-list requests)(LIB61850-396)
2 years ago
Michael Zillgith
41ed0dd51a
- implemented access control callbacks for logs and LCBs (LIB61850-392)
2 years ago
Michael Zillgith
dc5bd43f0f
- IED server: fixed read handling in RCB access control (LIB61850-391)
3 years ago
Michael Zillgith
acfbe16452
- IED server/MMS server: added data set access callbacks and example (LIB61850-387)
3 years ago
Michael Zillgith
39a55f672c
- MMS server: replaced MmsNamedVariableListChangedHandler by more generic MmsNamedVariableListAccessHandler (LIB61850-387)
...
- MMS server: implemented dataset access handler callback in dataset read access (LIB61850-387)
3 years ago
Michael Zillgith
a3a6f2c77f
- IED Server: added function to set time quality for internally updated times (LIB61850-372)
3 years ago
Michael Zillgith
17a705d8c0
- fixed - servers sends object-access-unsupported on GetAllData when ReadAccessHandler is installed (LIB61850-370)
3 years ago
Michael Zillgith
ad78b9de26
- removed redundant declarations (LIB61850-359)
3 years ago
Michael Zillgith
e02b85f147
- fixed data set handling problem when using functional naming (ldName) (LIB61850-160)
3 years ago
Michael Zillgith
6b23f87b23
- fixed code to support arrays of complex data attributes
3 years ago
Michael Zillgith
82e52881f9
- fixed problem with write access to data attribute of type array (LIB61850-336)
3 years ago
Michael Zillgith
30f10f6c6d
Merge branch 'v1.5_develop' into v1.6_develop
3 years ago
Michael Zillgith
8addfc2095
- replaced most str(n)cpy/str(n)cat calls (LIB61850-333)
3 years ago
Michael Zillgith
7099535a39
Merge branch 'v1.5_develop' into v1.6_develop
3 years ago
Michael Zillgith
3fe0effcda
Merge branch 'v1.5_develop_323' into v1.5_develop
3 years ago
Michael Zillgith
a4fdf089bb
- fixed locking mechanism in logging.c (LIB61850-327)
3 years ago
Michael Zillgith
b3868a2f9f
- removed some cppcheck warnings
3 years ago
Michael Zillgith
35ac479430
- fixed strncpy usage
3 years ago
Michael Zillgith
c76b5dd2da
- server reporting: added code to prevent race condition with
...
RCBEventHandler
3 years ago
Michael Zillgith
9d9f03585f
- IED server: improved control state machine performance (LIB61850-312)
4 years ago
Michael Zillgith
a7362928f4
- added semaphore for server side RCB value access
4 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
93d8dfc856
- reporting.c: fixed report entry counter and assert problems
...
- IED server: disactivate all RCB instances when stopping the server
4 years ago
Michael Zillgith
659dd49338
- reworked server side array handling (-> incompatible data model structure changes!)
4 years ago
Michael Zillgith
25394b11e1
Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.6
4 years ago
Michael Zillgith
9a2fd3e23e
- started to implement functional naming for LDs
4 years ago
Michael Zillgith
4ffed8de11
- IED server: fixed crash when IEDName+LDInst is too long
4 years ago
Michael Zillgith
de3aba0cb6
- .NET API: added support for server integrated GOOSE publisher
...
- IED server: fixed bug in GoCBEventHandler
4 years ago
Michael Zillgith
1bb76893a2
- fixed compilation problem when compiling without GOOSE support ( #325 )
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
4e15343f5b
- IED server: integrated GOOSE publisher - lock data model during GOOSE retransmission to avoid corrupted GOOSE data
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
60d66e5ba4
- some code beautification
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
db1671587e
- IED server: fixed bug - logs (journals) are added to all logical devices instead of just the parents
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
d08f5a67ac
- IED server: fixed problem with client connection handling of setting groups
5 years ago
Michael Zillgith
4793e298ff
- IED server: fixed problem that BL FC is not writable ( #287 )
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
e4fcb923a0
- fixed problems in control service tracking
5 years ago
Michael Zillgith
42802db6f1
- added -Wextra to Makefile and changed code to avoid resulting warnings
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
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