new protobufs

This commit is contained in:
Kevin Hester committed 2020-12-09 12:10:58 +08:00
1 parent 9e25fbc670
commit 9ff8eb1771
3 files changed
+39 -31

No files matched your search

+1
View File
@@ -148,6 +148,7 @@ class MeshInterface:
Returns the sent packet. The id field will be populated in this packet and can be used to track future message acks/naks.
"""
if getattr(data, "SerializeToString", None):
logging.debug(f"Serializing protobuf as data: {data}")
data = data.SerializeToString()
if len(data) > mesh_pb2.Constants.DATA_PAYLOAD_LEN:
+37 -30
View File
File diff suppressed because one or more lines are too long.
+1 -1
Submodule proto updated: 1ec2369ae4...ebd18145ca.