From bd82fb1f17024644a1ddd29bf2fb353386880906 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 27 Mar 2017 15:51:40 -0700 Subject: [PATCH] changed default url of eddystone url --- libs/bluetooth/_locales/bluetooth-jsdoc-strings.json | 2 +- libs/bluetooth/bluetooth.cpp | 2 +- libs/bluetooth/shims.d.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json b/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json index e14253fd..258674fa 100644 --- a/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json +++ b/libs/bluetooth/_locales/bluetooth-jsdoc-strings.json @@ -12,7 +12,7 @@ "bluetooth.advertiseUrl": "Advertise an Eddystone URL", "bluetooth.advertiseUrl|param|connectable": "true to keep bluetooth connectable for other services, false otherwise.", "bluetooth.advertiseUrl|param|power": "power level between 0 and 7, eg: 7", - "bluetooth.advertiseUrl|param|url": "the url to transmit. Must be no longer than the supported eddystone url length, eg: \"https://pxt.io/\"", + "bluetooth.advertiseUrl|param|url": "the url to transmit. Must be no longer than the supported eddystone url length, eg: \"https://makecode.com\"", "bluetooth.onBluetoothConnected": "Register code to run when the micro:bit is connected to over Bluetooth", "bluetooth.onBluetoothConnected|param|body": "Code to run when a Bluetooth connection is established", "bluetooth.onBluetoothDisconnected": "Register code to run when a bluetooth connection to the micro:bit is lost", diff --git a/libs/bluetooth/bluetooth.cpp b/libs/bluetooth/bluetooth.cpp index ac3cf184..f04d6243 100644 --- a/libs/bluetooth/bluetooth.cpp +++ b/libs/bluetooth/bluetooth.cpp @@ -123,7 +123,7 @@ namespace bluetooth { const int8_t CALIBRATED_POWERS[] = {-49, -37, -33, -28, -25, -20, -15, -10}; /** * Advertise an Eddystone URL - * @param url the url to transmit. Must be no longer than the supported eddystone url length, eg: "https://pxt.io/" + * @param url the url to transmit. Must be no longer than the supported eddystone url length, eg: "https://makecode.com" * @param power power level between 0 and 7, eg: 7 * @param connectable true to keep bluetooth connectable for other services, false otherwise. */ diff --git a/libs/bluetooth/shims.d.ts b/libs/bluetooth/shims.d.ts index 2df6daa7..3dfcf726 100644 --- a/libs/bluetooth/shims.d.ts +++ b/libs/bluetooth/shims.d.ts @@ -83,7 +83,7 @@ declare namespace bluetooth { /** * Advertise an Eddystone URL - * @param url the url to transmit. Must be no longer than the supported eddystone url length, eg: "https://pxt.io/" + * @param url the url to transmit. Must be no longer than the supported eddystone url length, eg: "https://makecode.com" * @param power power level between 0 and 7, eg: 7 * @param connectable true to keep bluetooth connectable for other services, false otherwise. */