mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-06 17:03:04 +02:00
Update udp.py
This commit is contained in:
@@ -51,8 +51,6 @@ def on_recieve(packet: mesh_pb2.MeshPacket, addr=None):
|
||||
channel_status = f"Hash: {packet.channel}"
|
||||
|
||||
print("channel:", channel_status)
|
||||
print("packet_id:", packet.packet_id or None)
|
||||
|
||||
|
||||
if packet.HasField("decoded"):
|
||||
port_name = portnums_pb2.PortNum.Name(packet.decoded.portnum) if packet.decoded.portnum else "N/A"
|
||||
|
||||
Reference in New Issue
Block a user