store multiple wifi bssids per beacon
This commit is contained in:
parent
b27aed1343
commit
7c7b73f488
7 changed files with 17 additions and 20 deletions
|
@ -80,8 +80,8 @@ class Locator:
|
|||
calculated = get_nodes_and_ranging_beacons()
|
||||
for beacon in calculated.beacons.values():
|
||||
identifiers = []
|
||||
if beacon.wifi_bssid:
|
||||
identifiers.append(beacon.wifi_bssid)
|
||||
for bssid in beacon.wifi_bssids:
|
||||
identifiers.append(bssid)
|
||||
if beacon.ibeacon_uuid and beacon.ibeacon_major is not None and beacon.ibeacon_minor is not None:
|
||||
identifiers.append((beacon.ibeacon_uuid, beacon.ibeacon_major, beacon.ibeacon_minor))
|
||||
for identifier in identifiers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue