From 1b0f933f5b079c60e03a9e73fc5f4957792b911a Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 6 Jun 2024 17:06:18 +0800 Subject: libiec61850: upgrade 1.5.1 -> 1.5.3 Changelog: ============= - config file parser dynamically allocates linebuffer to allow multithreaded applications - parse time values in model configuration file - config file generator: added missing code for GSEControl - Config file generator: support multiple access points for GOOSE and SMV control blocks - config file generator: added code to add SMVCBs to config files - IED server: added code to create SMVCBs with the dynamic model API - MMS server: added support for write access with component alternate access - MMS client: added function MmsConnection_writeVariableComponent to write to variables with alternate component access - make write access to RCB elements configurable according to ReportSettings - Added function IedConnection_setLocalAddress to define local IP address and optionally local port of a client connection - IED server: added ControlAction_getSynchroCheck and ControlAction_getInterlockCheck functions - fixed - IEC 61580 server: dataset is not released when RCB.Datset is set to empty string by client - PAL: fixed wrong order of function arguments for fread and fwrite functions - MMS client: parsing of servicecsSupported in MMS init response is off by one - fixed - potential memory leaks in goose publisher code - fixed - server sends dchg report when only dupd is enabled in RCB - GOOSE subscriber: fixed - possible heap corruption in parseAllData due to missing validity check in bit-string handling - IED server: fixed problem with implicit ResvTms setting when reserved with RptEna - IED server: fixed - segmentation fault when compiled with CONFIG_MMS_THREADLESS_STACK - fixed - MMS server: messages can be corrupted when TCP buffer is full - fixed - .NET: IedConenction.WriteDataSetValues throws a NullReferenceException - fixed - server send invalid response- when client uses wrong ctlModel - fixed - IedConnection_setRCBValuesAsync crashes when RCB is already reserved by other client - fixed - outstanding call not released in IedConnection_getDataSetDirectoryAsync Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../libiec61850/libiec61850_1.5.1.bb | 38 ---------------------- .../libiec61850/libiec61850_1.5.3.bb | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb create mode 100644 meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb b/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb deleted file mode 100644 index 63476d3495..0000000000 --- a/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.1.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Open source iec61850 implementation" -DESCRIPTION = "IEC 61850 is an international standard for \ -communication systems in Substation Automation Systems \ -(SAS) and management of Decentralized Energy Resources \ -(DER). It is seen as one of the communication standards \ -of the emerging Smart Grid. \ -The project libIEC61850 provides a server and client \ -library for the IEC 61850/MMS, IEC 61850/GOOSE and IEC \ -61850-9-2/Sampled Values communication protocols \ -written in C. It is available under the GPLv3 license." -HOMEPAGE = "http://libiec61850.com" -SECTION = "console/network" -LICENSE = "GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "swig-native python3" -SRCREV = "210cf30897631fe2006ac50483caf8fd616622a2" - -SRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.5;protocol=https \ - file://0001-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \ - file://0001-pyiec61850-Use-CMAKE_INSTALL_LIBDIR-from-GNUInstallD.patch \ -" - -S = "${WORKDIR}/git" - -inherit cmake pkgconfig python3-dir python3native siteinfo - -EXTRA_OECMAKE = " \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_PYTHON_BINDINGS=ON \ -" - -RDEPENDS:${PN}-python = " python3-core " -RDEPENDS:${PN} = " python3-core " - -FILES:${PN} += " \ - ${PYTHON_SITEPACKAGES_DIR}/iec61850.py \ - ${PYTHON_SITEPACKAGES_DIR}/_iec61850.so \ -" diff --git a/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb b/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb new file mode 100644 index 0000000000..0e1f50164a --- /dev/null +++ b/meta-networking/recipes-connectivity/libiec61850/libiec61850_1.5.3.bb @@ -0,0 +1,38 @@ +SUMMARY = "Open source iec61850 implementation" +DESCRIPTION = "IEC 61850 is an international standard for \ +communication systems in Substation Automation Systems \ +(SAS) and management of Decentralized Energy Resources \ +(DER). It is seen as one of the communication standards \ +of the emerging Smart Grid. \ +The project libIEC61850 provides a server and client \ +library for the IEC 61850/MMS, IEC 61850/GOOSE and IEC \ +61850-9-2/Sampled Values communication protocols \ +written in C. It is available under the GPLv3 license." +HOMEPAGE = "http://libiec61850.com" +SECTION = "console/network" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +DEPENDS = "swig-native python3" +SRCREV = "6f557c490f0b46ab5d7ef1b01bb3bc9fab3f442f" + +SRC_URI = "git://github.com/mz-automation/${BPN}.git;branch=v1.5;protocol=https \ + file://0001-pyiec61850-don-t-break-CMAKE_INSTALL_PATH-by-trying-.patch \ + file://0001-pyiec61850-Use-CMAKE_INSTALL_LIBDIR-from-GNUInstallD.patch \ +" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig python3-dir python3native siteinfo + +EXTRA_OECMAKE = " \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_PYTHON_BINDINGS=ON \ +" + +RDEPENDS:${PN}-python = " python3-core " +RDEPENDS:${PN} = " python3-core " + +FILES:${PN} += " \ + ${PYTHON_SITEPACKAGES_DIR}/iec61850.py \ + ${PYTHON_SITEPACKAGES_DIR}/_iec61850.so \ +" -- cgit v1.2.3-54-g00ecf