From 9bc450d9e01672f8bec0a34f0b8ce556234cc7f6 Mon Sep 17 00:00:00 2001 From: Hogo Date: Thu, 28 Nov 2024 00:31:53 +0100 Subject: [PATCH 1/2] [cleanup] Fix random typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 620ea24..558d9c1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Using a full-featured RPC framework brings a small latency overhead for local IP First of all you will need to generate the code stub for the programming language your client will be programmed in. For this you have to use the Protobuf files located in the [protobuf](/protobuf) folder of this repository. There are also needed some base libraries from the official protobuf project. Some IDE addins do already include these, but if they are missing, you can find them for the offically supported languages on [github.com/protocolbuffers/protobuf/releases/](https://github.com/protocolbuffers/protobuf/releases/) in the release assets. In PLCnext FW 2022.0 the protobuf version 3.14 and gRPC version 1.36.4 are used. Copy the ``src/google`` folder from the archive to the folder ``python``. -Further more you will need the Protobuf compiler (protoc) and the language dependent protoc plugin. They are depending on the programming languange your client should be build in and your build system architecture. Follow the Quick Start guides on the official [grpc-website](https://grpc.io/docs/languages/) to get these. +Further more you will need the Protobuf compiler (protoc) and the language dependent protoc plugin. They are depending on the programming language your client should be build in and your build system architecture. Follow the Quick Start guides on the official [grpc-website](https://grpc.io/docs/languages/) to get these. We attached an example batch files for C++ to this repository. After the correct preparation of the folder, following the previous steps and adapting the pathes, this builds the C++ service stub for all PLCnext RSC services at once. From 21c91d96e4447d3eb652142c76039238719b42d2 Mon Sep 17 00:00:00 2001 From: Hogo Date: Thu, 5 Dec 2024 11:08:49 +0100 Subject: [PATCH 2/2] [cleanup] one more random typo --- protobuf/Device/Interface/IDeviceInfoService.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protobuf/Device/Interface/IDeviceInfoService.proto b/protobuf/Device/Interface/IDeviceInfoService.proto index 5068338..f5abd68 100644 --- a/protobuf/Device/Interface/IDeviceInfoService.proto +++ b/protobuf/Device/Interface/IDeviceInfoService.proto @@ -29,7 +29,7 @@ service IDeviceInfoService /// /// Read a list of information /// - /// Arry of String for select the items + /// Array of String for select the items /// value as RscVariant >on success, RscType::Void on error rpc GetItems(IDeviceInfoServiceGetItemsRequest) returns (IDeviceInfoServiceGetItemsResponse) {}