From 122d885ee8c4075827c88b293351a8539d8c4cbe Mon Sep 17 00:00:00 2001 From: Joe Finney Date: Fri, 9 Oct 2015 00:03:01 +0100 Subject: [PATCH] microbit: Updated Bluetooth device name from MicroBit to micro:bit to match brand guidelines --- source/MicroBit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/MicroBit.cpp b/source/MicroBit.cpp index e99aa96..56006b2 100644 --- a/source/MicroBit.cpp +++ b/source/MicroBit.cpp @@ -1,10 +1,10 @@ #include "MicroBit.h" -char MICROBIT_BLE_DEVICE_NAME[] = "BBC MicroBit [xxxxx]"; +char MICROBIT_BLE_DEVICE_NAME[] = "BBC micro:bit [xxxxx]"; #if CONFIG_ENABLED(MICROBIT_BLE_ENABLED) && CONFIG_ENABLED(MICROBIT_BLE_DEVICE_INFORMATION_SERVICE) const char MICROBIT_BLE_MANUFACTURER[] = "The Cast of W1A"; -const char MICROBIT_BLE_MODEL[] = "Microbit SB2"; +const char MICROBIT_BLE_MODEL[] = "micro:bit"; const char MICROBIT_BLE_SERIAL[] = "SN1"; const char MICROBIT_BLE_HARDWARE_VERSION[] = "0.2"; const char MICROBIT_BLE_FIRMWARE_VERSION[] = "1.1"; @@ -107,7 +107,7 @@ void MicroBit::init() ble_firmware_update_service = new MicroBitDFUService(*ble); // Compute our auto-generated MicroBit device name. - ble_firmware_update_service->getName(MICROBIT_BLE_DEVICE_NAME+14); + ble_firmware_update_service->getName(MICROBIT_BLE_DEVICE_NAME+15); #endif #if CONFIG_ENABLED(MICROBIT_BLE_DEVICE_INFORMATION_SERVICE)