# fakeBeaconBluez Running raspberry pi as iBeacon using bluez and python 2.7 # Bluez configuration Bluez 5.43 is requiring the use of **--experimental**. ```bash sudo vim /lib/systemd/system/bluetooth.service ``` Apply the following change from this line: ```bash ExecStart=/usr/libexec/bluetooth/bluetoothd ``` To: ```bash ExecStart=/usr/libexec/bluetooth/bluetoothd --experimental ``` ```bash sudo reboot ``` # Faking MAC address This is optional ```bash sudo bdaddr -i hci0 11:22:33:44:55:66 ``` # Usage ```bash usage: ble-ad [-h] -t X -i ID ``` - **X** : Value from 1 to 5 mapped as follow - 1 : Entry - 2 : Exit - 3 : Hazard - 4 : Safe - 5 : Other - **ID** : 2-bytes Hex value **without** 0x prefix ## Example ```bash ble-ad -t 3 -i abcd ```