mirror of
https://github.com/meshtastic/python.git
synced 2026-02-28 04:30:04 -05:00
new protobufs
This commit is contained in:
@@ -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:
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
proto
2
proto
Submodule proto updated: 1ec2369ae4...ebd18145ca
Reference in New Issue
Block a user