-
Notifications
You must be signed in to change notification settings - Fork 505
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
HCI.py usage #205
Comments
From reading and execution of the script, the broadcast will send continuously. |
I wasn't sure if the Bluetooth stack on the Pi would repeat the broadcast autonomously. Anyway, I tried calling the script once per minute, but could never get it to appear in the Find My app or trigger an Unknown tracker alert in my Android phone or be detected by the Apple Tracker Detect app. So I gave up with it, life's too short. |
Tried on my thinkpad and it did broadcasted even after the script exited. Running the script continuously might not be that great idea, because the script soft resets whole bluetooth interface (and related stack) each time you run it. That might interfere with broadcasts actualy being sent and any normal bluetooth use, since it obviously disconnects all devices as the interface goes down. Although i had to install hcitool, which is deprecated and was no longer shipped in default bluez install. |
We provided an updated hci.py for using on other Linux device than Raspberry. |
When I run "sudo python3 HCI.py --key <ADVERTISMENT_KEY>" on a Pi it outputs some debug info and then exits. Will the Pi continue to broadcast the advertisement after that or does it just broadcast once? If the latter, how often should the script be run? If the former, will it continue broadcasting after a reboot or does the script need to be run after each reboot?
The text was updated successfully, but these errors were encountered: