eRPC: update erpc version, add readme
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 24 May 2024 18:32:23 +0200
changeset 3946 8815b44be31e
parent 3945 d303aab8f68b
child 3947 9b5cb90297e4
eRPC: update erpc version, add readme
C_runtime/c_erpc_PLCObject_client.cpp
C_runtime/c_erpc_PLCObject_client.h
C_runtime/c_erpc_PLCObject_server.cpp
C_runtime/c_erpc_PLCObject_server.h
C_runtime/erpc_PLCObject_client.cpp
C_runtime/erpc_PLCObject_client.hpp
C_runtime/erpc_PLCObject_common.h
C_runtime/erpc_PLCObject_common.hpp
C_runtime/erpc_PLCObject_interface.cpp
C_runtime/erpc_PLCObject_interface.hpp
C_runtime/erpc_PLCObject_server.cpp
C_runtime/erpc_PLCObject_server.hpp
erpc_interface/README.md
erpc_interface/__init__.py
erpc_interface/erpc_PLCObject/__init__.py
erpc_interface/erpc_PLCObject/client.py
erpc_interface/erpc_PLCObject/common.py
erpc_interface/erpc_PLCObject/interface.py
erpc_interface/erpc_PLCObject/server.py
requirements.txt
--- 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
  */
--- 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
  */
--- 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
  */
--- 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
  */
--- 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
 
--- 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
  */
--- 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
 
--- 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
 
--- 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
 
--- 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
  */
--- 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
 
--- 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
 
--- /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
--- 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
 #
--- 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
--- 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
 #
--- 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
 #
--- 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
 #
--- 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
 #
--- 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