<filename>pybluez/examples/ble/beacon.py
from bluetooth.ble import BeaconService
import time

service = BeaconService()

service.start_advertising("11111111-2222-3333-4444-555555555555",
            1, 1, 1, 200)
time.sleep(15)
service.stop_advertising()

print("Done.")