Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count Android beacons #3

Closed
zeno4ever opened this issue Aug 17, 2020 · 8 comments
Closed

Count Android beacons #3

zeno4ever opened this issue Aug 17, 2020 · 8 comments
Labels
bug Something isn't working

Comments

@zeno4ever
Copy link
Owner

zeno4ever commented Aug 17, 2020

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.

@zeno4ever zeno4ever added the bug Something isn't working label Aug 17, 2020
@AboveColin
Copy link
Contributor

AboveColin commented Aug 18, 2020

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)

@zeno4ever
Copy link
Owner Author

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.

@diagonalciso
Copy link

diagonalciso commented Aug 19, 2020

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

@ghost
Copy link

ghost commented Aug 22, 2020

Also on a msi laptop with bluetooth it does not work. No beacons shown.
Oh and the rpi 4b I tried it on neither.

@zeno4ever
Copy link
Owner Author

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)

@ghost
Copy link

ghost commented Aug 23, 2020 via email

@zeno4ever
Copy link
Owner Author

Solved in version 2.02 of beacontools, released today ( 29 aug. 2020).

If already installed you can update by : pip3 install beacontools --upgrade

@ghost
Copy link

ghost commented Aug 30, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants