mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-06-11 11:56:18 +00:00
add support for recv_errors in STATUS_PACKETS response
This commit is contained in:
@@ -53,6 +53,11 @@ async def main():
|
||||
else:
|
||||
print("📦 Packet Statistics:")
|
||||
print(json.dumps(result.payload, indent=2))
|
||||
recv_errors = result.payload.get("recv_errors")
|
||||
if recv_errors is not None:
|
||||
print(f" Receive/CRC errors (RadioLib): {recv_errors}")
|
||||
else:
|
||||
print(" Receive/CRC errors (RadioLib): not reported (legacy 26-byte frame)")
|
||||
print()
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user