Commit Graph

1370 Commits (7afa40390b26ad1f4cf93deaa0052fe7e357ef33)
 

Author SHA1 Message Date
Mikael Bourhis e47601a81e Python wrapper: about the wrapped callbacks, maintain a 'map' of subscribers
The 'callback' function is a part of the 'Subscriber' class.
Once the 'event' (or asynchronous message) is received, the 'Subscriber' object
forwards the data to the 'Handler' object.
With this approach, the 'event' processing algorithm can be defined
in a Python subclass by the user.

Each 'subscriber' class has a function that matches the C function pointer.
But this function is a static method, shared with all instances of the class.
In order to dispatch the message/data to the right instance,
we maintain a dictionary of instantiated objects.

Therfore, we have added the following internal services :
 * bool registerNewSubscriber(EventSubscriber*, id);
 * EventSubscriber* findSubscriber(id);
 * void unregisterSubscriber(id);
5 years ago
Mikael Bourhis b1fc481ab8 Python wrapper: add some quality improvements 5 years ago
Mikael Bourhis da9b77af7a Python wrapper: add handler class for the reception of CommandTermination events 5 years ago
Michael Zillgith 35713550fb - updated windows socket code (should fix #301) 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 19f2cbf0e7 - CMake build: add new configuration option CONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB to allow build using externally built mbedtls DLL/shared object 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 5630275a0d - make file-tool example more robust 5 years ago
Michael Zillgith 8111734f40 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 6c2b9ad473 - IED server: reporting - implemented behavior according to tissue 1432 5 years ago
mbourhis 69bf867c41
Mbourhis/python wrapper add missing include to extend python api (#291)
* Python wrapper: add an 'include' directive to have access to the 'mms_type'

* Python wrapper: add an 'include' directive to include the ConfigFileParser API
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 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 96ba766a0a - socket-linux: fixed problem in UdpSocket_receiveFrom 5 years ago
Michael Zillgith 8bf76601ea - socket-linux: get source IP address in UdpSocket_receiveFrom 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 0879ad0d46 - HAL: added missing include (sys/select) in serial HAL implementation for linux (#279) 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 1f174c3f65 Merge branch 'v1.5' of https://github.com/mz-automation/libiec61850 into v1.5 5 years ago
Michael Zillgith 8ac9a732df - added function GooseSubscriber_getParserError 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 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