Skip to content
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

fixed module path #42

Closed
wants to merge 4 commits into from
Closed
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ $ python3 script/decode_pcap.py /tmp/capture.pcap
### Generate zehnder_pb2.py file

```shell
pip3 install grpcio-tools
python3 -m grpc_tools.protoc -Iprotobuf protobuf/nanopb.proto --python_out=aiocomfoconnect/protobuf
python3 -m pip install grpcio-tools==1.62.3
python3 -m grpc_tools.protoc -Iprotobuf protobuf/aiocomfoconnect/protobuf/nanopb.proto --python_out=aiocomfoconnect/protobuf
python3 -m grpc_tools.protoc -Iprotobuf protobuf/zehnder.proto --python_out=aiocomfoconnect/protobuf
```

Expand Down
33 changes: 15 additions & 18 deletions aiocomfoconnect/protobuf/nanopb_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

569 changes: 285 additions & 284 deletions aiocomfoconnect/protobuf/zehnder_pb2.py

Large diffs are not rendered by default.

File renamed without changes.
2 changes: 1 addition & 1 deletion protobuf/zehnder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ syntax = "proto2";
option java_package = "com.zehnder.proto";
option optimize_for = SPEED;

import "nanopb.proto";
import "aiocomfoconnect/protobuf/nanopb.proto";

///////////////////////////////////////////////////////////////////////////////////////////////////
// Discovery messages
Expand Down