# HG changeset patch # User Edouard Tisserant # Date 1716568343 -7200 # Node ID 8815b44be31e13bc78d33bf279eceac41d4c4763 # Parent d303aab8f68b3fe43f2a06d17726b38122d99bda eRPC: update erpc version, add readme diff -r d303aab8f68b -r 8815b44be31e C_runtime/c_erpc_PLCObject_client.cpp --- a/C_runtime/c_erpc_PLCObject_client.cpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/c_erpc_PLCObject_client.cpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/c_erpc_PLCObject_client.h --- a/C_runtime/c_erpc_PLCObject_client.h Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/c_erpc_PLCObject_client.h Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/c_erpc_PLCObject_server.cpp --- a/C_runtime/c_erpc_PLCObject_server.cpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/c_erpc_PLCObject_server.cpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/c_erpc_PLCObject_server.h --- a/C_runtime/c_erpc_PLCObject_server.h Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/c_erpc_PLCObject_server.h Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_client.cpp --- a/C_runtime/erpc_PLCObject_client.cpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_client.cpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -12,7 +12,7 @@ #include "erpc_PLCObject_client.hpp" #include "erpc_manually_constructed.hpp" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_client.hpp --- a/C_runtime/erpc_PLCObject_client.hpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_client.hpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_common.h --- a/C_runtime/erpc_PLCObject_common.h Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_common.h Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -19,7 +19,7 @@ #include "erpc_version.h" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_common.hpp --- a/C_runtime/erpc_PLCObject_common.hpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_common.hpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -15,7 +15,7 @@ #include "erpc_version.h" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_interface.cpp --- a/C_runtime/erpc_PLCObject_interface.cpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_interface.cpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -7,7 +7,7 @@ #include "erpc_PLCObject_interface.hpp" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_interface.hpp --- a/C_runtime/erpc_PLCObject_interface.hpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_interface.hpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_server.cpp --- a/C_runtime/erpc_PLCObject_server.cpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_server.cpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -12,7 +12,7 @@ #endif #include "erpc_manually_constructed.hpp" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e C_runtime/erpc_PLCObject_server.hpp --- a/C_runtime/erpc_PLCObject_server.hpp Sat May 18 23:59:32 2024 +0200 +++ b/C_runtime/erpc_PLCObject_server.hpp Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ /* - * Generated by erpcgen 1.11.0 on Tue May 14 10:14:58 2024. + * Generated by erpcgen 1.12.0 on Mon May 20 17:54:19 2024. * * AUTOGENERATED - DO NOT EDIT */ @@ -13,7 +13,7 @@ #include "erpc_server.hpp" #include "erpc_codec.hpp" -#if 11100 != ERPC_VERSION_NUMBER +#if 11200 != ERPC_VERSION_NUMBER #error "The generated shim code version is different to the rest of eRPC code." #endif diff -r d303aab8f68b -r 8815b44be31e erpc_interface/README.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/erpc_interface/README.md Fri May 24 18:32:23 2024 +0200 @@ -0,0 +1,22 @@ +# eRPC Interface + +This directory contains the eRPC interface definition and Python generated code for RPC channel used in between IDE and PLC. + +## Directory Structure + +- `erpc_PLCObject.erpc`: eRPC interface definition, subset of IDL language +- `erpc_PLCObject/`: This directory contains eRPC interface generated python code +- `__init__.py`: Useless and empty file also generated by `erpcgen` + + +## eRPC Interface Definition + +The eRPC interface definition files define the communication protocol and message formats used by the project. These files are used to generate the necessary code for both the client and server sides. + +## Generated Code + +The Python code generated from the eRPC interface definition provides the necessary functions and classes to interact with the eRPC server. This code is used to implement both sides of the communication. + +```sh +erpcgen -g py erpc_PLCObject.erpc +``` \ No newline at end of file diff -r d303aab8f68b -r 8815b44be31e erpc_interface/__init__.py --- a/erpc_interface/__init__.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/__init__.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # diff -r d303aab8f68b -r 8815b44be31e erpc_interface/erpc_PLCObject/__init__.py --- a/erpc_interface/erpc_PLCObject/__init__.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/__init__.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # @@ -9,8 +9,8 @@ version = erpc_version.ERPC_VERSION except ImportError: version = "unknown" -if version != "1.11.0": - raise ValueError("The generated shim code version (1.11.0) is different to the rest of eRPC code (%s). \ +if version != "1.12.0": + raise ValueError("The generated shim code version (1.12.0) is different to the rest of eRPC code (%s). \ Install newer version by running \"python setup.py install\" in folder erpc/erpc_python/." % repr(version)) from . import common diff -r d303aab8f68b -r 8815b44be31e erpc_interface/erpc_PLCObject/client.py --- a/erpc_interface/erpc_PLCObject/client.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/client.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # diff -r d303aab8f68b -r 8815b44be31e erpc_interface/erpc_PLCObject/common.py --- a/erpc_interface/erpc_PLCObject/common.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/common.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # diff -r d303aab8f68b -r 8815b44be31e erpc_interface/erpc_PLCObject/interface.py --- a/erpc_interface/erpc_PLCObject/interface.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/interface.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # diff -r d303aab8f68b -r 8815b44be31e erpc_interface/erpc_PLCObject/server.py --- a/erpc_interface/erpc_PLCObject/server.py Sat May 18 23:59:32 2024 +0200 +++ b/erpc_interface/erpc_PLCObject/server.py Fri May 24 18:32:23 2024 +0200 @@ -1,5 +1,5 @@ # -# Generated by erpcgen 1.11.0 on Tue May 14 10:15:38 2024. +# Generated by erpcgen 1.12.0 on Mon May 20 17:53:37 2024. # # AUTOGENERATED - DO NOT EDIT # diff -r d303aab8f68b -r 8815b44be31e requirements.txt --- a/requirements.txt Sat May 18 23:59:32 2024 +0200 +++ b/requirements.txt Fri May 24 18:32:23 2024 +0200 @@ -13,7 +13,7 @@ contourpy==1.0.7 cryptography==40.0.2 cycler==0.11.0 -erpc==1.11.0 +erpc==1.12.0 fonttools==4.39.3 gattrdict==2.0.1 hyperlink==21.0.0