8000 nrf/bluetooth: Replace BLE REPL (WebBluetooth) URL · andrewleech/micropython@50ee908 · GitHub
[go: up one dir, main page]

Skip to content

Commit 50ee908

Browse files
glennrubdpgeorge
authored andcommitted
nrf/bluetooth: Replace BLE REPL (WebBluetooth) URL
Updating URL of the WebBluetooth/PhysicalWeb from https://glennrub.github.io/webbluetooth/micropython/repl to https://aykevl.nl/apps/nus/.
1 parent cf58ef2 commit 50ee908

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ports/nrf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ The configuration can be enabled by editing the `bluetooth_conf.h` and set `MICR
132132

133133
When enabled you have different options to test it:
134134
* [NUS Console for Linux](https://github.com/tralamazza/nus_console) (recommended)
135-
* [WebBluetooth REPL](https://glennrub.github.io/webbluetooth/micropython/repl/) (experimental)
135+
* [WebBluetooth REPL](https://aykevl.nl/apps/nus/) (experimental)
136136

137137
Other:
138138
* nRF UART application for IPhone/Android
139139

140-
WebBluetooth mode can also be configured by editing `bluetooth_conf.h` and set `BLUETOOTH_WEBBLUETOOTH_REPL` to 1. This will alternate advertisement between Eddystone URL and regular connectable advertisement. The Eddystone URL will point the phone or PC to download [WebBluetooth REPL](https://glennrub.github.io/webbluetooth/micropython/repl/) (experimental), which subsequently can be used to connect to the Bluetooth REPL from the PC or Phone browser.
140+
WebBluetooth mode can also be configured by editing `bluetooth_conf.h` and set `BLUETOOTH_WEBBLUETOOTH_REPL` to 1. This will alternate advertisement between Eddystone URL and regular connectable advertisement. The Eddystone URL will point the phone or PC to download [WebBluetooth REPL](https://aykevl.nl/apps/nus/) (experimental), which subsequently can be used to connect to the Bluetooth REPL from the PC or Phone browser.

ports/nrf/drivers/bluetooth/ble_uart.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ void ble_uart_init0(void) {
229229
m_adv_data_uart_service.p_data = NULL;
230230

231231
#if BLUETOOTH_WEBBLUETOOTH_REPL
232-
// for now point eddystone URL to https://goo.gl/x46FES => https://glennrub.github.io/webbluetooth/micropython/repl/
232+
// for now point eddystone URL to https://goo.gl/F7fZ69 => https://aykevl.nl/apps/nus/
233233
static uint8_t eddystone_url_data[27] = {0x2, 0x1, 0x6,
234234
0x3, 0x3, 0xaa, 0xfe,
235-
19, 0x16, 0xaa, 0xfe, 0x10, 0xee, 0x3, 'g', 'o', 'o', '.', 'g', 'l', '/', 'x', '4', '6', 'F', 'E', 'S'};
235+
19, 0x16, 0xaa, 0xfe, 0x10, 0xee, 0x3, 'g', 'o', 'o', '.', 'g', 'l', '/', 'F', '7', 'f', 'Z', '6', '9'};
236236
// eddystone url adv data
237237
m_adv_data_eddystone_url.p_data = eddystone_url_data;
238238
m_adv_data_eddystone_url.data_len = sizeof(eddystone_url_data);

0 commit comments

Comments
 (0)
0