Deprecated
This API is deprecated. The Eddystone beacon format is no longer supported, see Google Beacon format (Deprecated).
Advertises a URL via the Eddystone protocol over Bluetooth.
bluetooth.advertiseUrl("https://makecode.microbit.org/", 7, true);
url
- a string containing the URL to broadcast, at most 17 characters long, excluding the protocol (eg: https://
) which gets encoded as 1 byte.power
- a number representing the power level between 0 (short) and 7 (maximum range).connectable
- a boolean indicating whether or not the Calliope mini should accept connections. bluetooth.advertiseUrl("https://pxt.io?secret=42", 7, true);
stop-advertising, advertise-uid
bluetooth