mirror of
https://github.com/rightup/pyMC_Repeater.git
synced 2026-03-28 17:43:06 +01:00
Add zero_hop flag to advertisement packet data for direct route identification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user