Add zero_hop flag to advertisement packet data for direct route identification

This commit is contained in:
Lloyd
2025-12-08 22:37:52 +00:00
parent 3de7dfefa6
commit 3e46379623

View File

@@ -101,6 +101,7 @@ class AdvertHelper:
"rssi": rssi,
"snr": snr,
"is_new_neighbor": is_new_neighbor,
"zero_hop": route_type in [0x02, 0x03], # True for direct routes (no intermediate hops)
}
# Store to database