From 3469ad6f8dadb3c626f5c7dc1deab49169440682 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 8 Dec 2016 12:01:35 -0800 Subject: [PATCH] Added note about protocol encoding. --- docs/reference/bluetooth/advertise-url.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/bluetooth/advertise-url.md b/docs/reference/bluetooth/advertise-url.md index edc54042..eeb1e7a7 100644 --- a/docs/reference/bluetooth/advertise-url.md +++ b/docs/reference/bluetooth/advertise-url.md @@ -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