Skip to content

[cleanup] Fix random typo in README.md #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion protobuf/Device/Interface/IDeviceInfoService.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ service IDeviceInfoService
/// <summary>
/// Read a list of information
/// </summary>
/// <param name="identifiers">Arry of String for select the items</param>
/// <param name="identifiers">Array of String for select the items</param>
/// <returns>value as <code>RscVariant</code> &gt;on success, <code>RscType::Void</code> on error</returns>
rpc GetItems(IDeviceInfoServiceGetItemsRequest) returns (IDeviceInfoServiceGetItemsResponse) {}

Expand Down