mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-11-06 05:12:27 +01:00
Add zero_hop flag to advertisement packet data for direct route identification
This commit is contained in:
1 parent
3de7dfefa6
commit
3e46379623
1 file changed
+1
@@ -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