add protobuf stubs

This commit is contained in:
geeksville
2020-04-27 11:47:22 -07:00
parent d11854c39c
commit f1adb00c39
5 changed files with 1180 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "proto"]
path = proto
url = https://github.com/meshtastic/Meshtastic-protobufs.git

View File

@@ -1,6 +1,7 @@
# TODO
- protobuf docs https://developers.google.com/protocol-buffers/docs/pythontutorial
- possibly use tk to make a multiwindow test console: https://stackoverflow.com/questions/12351786/how-to-redirect-print-statements-to-tkinter-text-widget
## Primary API: MeshInterface

4
bin/regen-protos.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
protoc -I=proto --python_out meshtastic mesh.proto

1171
meshtastic/mesh_pb2.py Normal file
View File

File diff suppressed because it is too large Load Diff

1
proto Submodule

Submodule proto added at 79b2cf728c