Rename BLE device "Claude Controller" → "Clawdmeter"

Brand consistency: the device now advertises as "Clawdmeter". Updated the
three functional spots that must agree for discovery-by-name to work —
ble.cpp DEVICE_NAME (advertised) and both daemons' DEVICE_NAME (scan match) —
plus the README/CLAUDE.md/install-script references (and fixed the stray
"Claudemeter" typo in the README).

Note: hosts cache the GATT name, so an already-paired device keeps showing the
old name until removed/re-paired (bluetoothctl remove <mac>).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Hermann Björgvin Haraldsson
2026-06-02 14:01:57 +00:00
co-authored by Claude Opus 4.7
parent bd5d45cef3
commit 13cc4231a0
7 changed files with 13 additions and 13 deletions
+3 -3
View File
@@ -3,7 +3,7 @@
#include <NimBLEDevice.h>
#include <NimBLEHIDDevice.h>
#define DEVICE_NAME "Claude Controller"
#define DEVICE_NAME "Clawdmeter"
// Custom GATT UUIDs for data channel
#define SERVICE_UUID "4c41555a-4465-7669-6365-000000000001"
@@ -72,8 +72,8 @@ static void start_advertising() {
NimBLEAdvertising* adv = NimBLEDevice::getAdvertising();
adv->reset();
// Primary advertising packet (≤31 bytes):
// flags (3) + appearance (4) + HID service 0x1812 (4) + name "Claude Controller" (19)
// = 30 bytes. macOS Bluetooth Settings only surfaces BLE-only devices
// flags (3) + appearance (4) + HID service 0x1812 (4) + name "Clawdmeter" (12)
// = 23 bytes. macOS Bluetooth Settings only surfaces BLE-only devices
// that explicitly advertise the standard HID service UUID (0x1812) —
// without it the device is recognized internally but hidden from the
// GUI nearby-devices list.