openhab-addons/bundles/org.openhab.binding.mercedesme/proto/README.md
Bernd Weymann 09a22e5cbc
[MercedesMe] Switch to Mercedes App SDK (#15628)
* add protocol buffer definitions
* oauth rework
* websocket introduction

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
2024-06-04 21:27:41 +02:00

7 lines
483 B
Markdown

# How to protoc
- Check [mvn repository](https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java-util) which version to use
- Download correct protoc compiler from [maven central](https://repo1.maven.org/maven2/com/google/protobuf/protoc/) into `PROTOC_DIR`
- Call in mercedesme binding directory `PROTOC_DIR\protoc -I=proto --java_out=gen proto/*.proto`
- Move generated sources including subdirs from `gen` to `3rdparty\java`
- Adapt `pom.xml` with version of step 1