linux-ibeacon
linux-ibeacon copied to clipboard
Python script that creates an iBeacon-compatible Bluetooth LE beacon using Linux and a Bluetooth LE adapter
Please apply this: ``` $ git diff diff --git a/ibeacon b/ibeacon index 5f5da1a..5cf7a05 100755 --- a/ibeacon +++ b/ibeacon @@ -74,6 +74,9 @@ def process_command(c): def check_for_sudo(): if 'SUDO_UID' in os.environ.keys():...
Hi your script very good. I test it and I find security issues. Since no pin code so I can use LightBlue app connect to ibeacon and when I connect...
At present, the `check_for_sudo` function checks for the presence of an environment variable to see if the command was run with sudo, and therefore has the correct permissions to interact...
This change allows running multiple announcements from one machine. `hciconfig list` had to be replaced as it only returns one/first device on ubuntu and can't be used to reliably check...