add ap_name identifier
This commit is contained in:
parent
2325fe6a4d
commit
5a32942fec
1 changed files with 2 additions and 0 deletions
|
@ -96,6 +96,8 @@ class Locator:
|
|||
identifiers = []
|
||||
for bssid in beacon.addresses:
|
||||
identifiers.append(TypedIdentifier(PeerType.WIFI, bssid))
|
||||
if beacon.ap_name:
|
||||
identifiers.append(TypedIdentifier(PeerType.WIFI, beacon.ap_name))
|
||||
if beacon.ibeacon_uuid and beacon.ibeacon_major is not None and beacon.ibeacon_minor is not None:
|
||||
identifiers.append(
|
||||
TypedIdentifier(PeerType.IBEACON, (beacon.ibeacon_uuid, beacon.ibeacon_major, beacon.ibeacon_minor))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue