Added note about protocol encoding.

This commit is contained in:
Peli de Halleux 2016-12-08 12:01:35 -08:00 committed by GitHub
parent 30211aa006
commit 3469ad6f8d

View File

@ -23,7 +23,7 @@ bluetooth.advertiseUrl("https://pxt.microbit.org/", 7);
### Parameters
* ``url`` - a [string](/reference/types/string) containing the URL to broadcast, at most 17 characters long
* ``url`` - a [string](/reference/types/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](/reference/types/number) representing the power level between 0 (short) and 7 (maximum range).
### Example: Broadcast a secret code