Count Android beacons
zeno4ever opened this issue ยท 8 comments
Test so far with iPhone 7 (my own phone). I did a quick test with some Android phones but these doesn't show up in the CoronaTeller.
Need more investigation to find out what is going on. Test with following combinations
- Raspberry Pi 4 - with iPhone (works) / Android not
- Raspberry Pi 3 - with iPhone (works) / Android not
If you want to test :
This should give you a list of all the beacons that the Coronateller should see.
$ bluetoothctl
[bluetoothctl]scan.transport le
[bluetoothctl]scan.uuids 0xfd6f
[bluetoothctl]scan on
The script 'testbeacontool.py' gives what the beacontool sees, that should match with the output of the bluetoothctl. If you are in doubt you could unremark line 15, but I don't see any differance. So I think somewhere in beacontools is something wrong.
Workaround
For now I use an external ESP32 that shows all beacons.
Doesn't seem to pick up my OnePlus 6, nor the OnePlus 7 Pro (Both running Android 10) indeed
hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.50
device: hci0 snap_len: 1500 filter: 0xffffffff
hcitool lescan
LE Scan ...
5E:D5:03:17:1F:16 (unknown)
84:C0:EF:3B:49:3D (unknown)
63:49:37:BB:5D:61 (unknown)
63:49:37:BB:5D:61 (unknown)
Updated bluez from 5.50 to 5.54, same result. I have posted a question to the linux bleuz developer mailing list.
For now I go to work around with a external ESP32, I see all mac addresses but not yet the beacon codes.
LE Scan ...
7C:74:81:F0:52:F1 (unknown)
7C:74:81:F0:52:F1 (unknown)
(Not my android phone)
hcidump
HCI sniffer - Bluetooth packet analyzer ver 5.50
device: hci0 snap_len: 1500 filter: 0xffffffff
Raspberry Pi 3B
Also on a msi laptop with bluetooth it does not work. No beacons shown.
Oh and the rpi 4b I tried it on neither.
Also on a msi laptop with bluetooth it does not work. No beacons shown.
Oh and the rpi 4b I tried it on neither.
Did you also tested with a iPhone (or only Androids)
Solved in version 2.02 of beacontools, released today ( 29 aug. 2020).
If already installed you can update by : pip3 install beacontools --upgrade