mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
new protobufs
This commit is contained in:
1 parent
9e25fbc670
commit
9ff8eb1771
3 files changed
+39
-31
No files matched your search
@@ -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
File diff suppressed because one or more lines are too long.
+1
-1
Submodule proto updated: 1ec2369ae4...ebd18145ca.
Reference in new issue
Block a user