MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / build_pseudo_mac_from_ip

Function build_pseudo_mac_from_ip

webapp_modern.py:1838–1845  ·  view source on GitHub ↗
(ip)

Source from the content-addressed store, hash-verified

1836 with _rusense_notify_lock:
1837 windows = _rusense_notify_state['rssi_windows']
1838 seen = set()
1839 for n in node_list:
1840 nid, rssi = n.get('node_id'), n.get('rssi_dbm')
1841 if nid is None or rssi is None:
1842 continue
1843 key = str(nid)
1844 seen.add(key)
1845 try:
1846 val = float(rssi)
1847 except (TypeError, ValueError):
1848 continue

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected