forked from kofal.net/zmk
feat(ble): Set device name at runtime
This allows for the device name to be set at runtime, possible uses for this include a custom display screen that lets you type it in using the keycode state event, future configuration in zmk studio, or altering it per profile as per #1169
This commit is contained in:
@@ -2,7 +2,6 @@ profile 0 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 0 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 0 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 0 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -13,7 +12,6 @@ profile 1 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 1 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 1 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 1 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@ profile 0 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 0 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 0 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 0 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -13,7 +12,6 @@ profile 1 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 1 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 1 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 1 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<dbg> ble_central: main: [Bluetooth initialized]
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@ profile 0 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 0 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 0 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 0 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -13,7 +12,6 @@ profile 1 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 1 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 1 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 1 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@ profile 0 <wrn> bt_id: No static addresses stored in controller
|
||||
profile 0 <dbg> ble_central: main: [Bluetooth initialized]
|
||||
profile 0 <dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
profile 0 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 0 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -22,7 +21,6 @@ profile 0 00 00 04 00 00 00 00 00 |.
|
||||
profile 0 <dbg> ble_central: notify_func: payload
|
||||
profile 0 00 00 00 00 00 00 00 00 |........
|
||||
profile 1 <dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
profile 1 <dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<dbg> ble_central: main: [Bluetooth initialized]
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -12,7 +11,6 @@
|
||||
<dbg> ble_central: disconnected: [Disconnected]: FD:9E:B2:48:47:39 (random) (reason 0x16)
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<dbg> ble_central: main: [Bluetooth initialized]
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
@@ -12,7 +11,6 @@
|
||||
<dbg> ble_central: disconnected: [Disconnected]: FD:9E:B2:48:47:39 (random) (reason 0x16)
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<dbg> ble_central: main: [Bluetooth initialized]
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<dbg> ble_central: main: [Bluetooth initialized]
|
||||
<dbg> ble_central: start_scan: [Scanning successfully started]
|
||||
<dbg> ble_central: device_found: [DEVICE]: FD:9E:B2:48:47:39 (random), AD evt type 0, AD data len 15, RSSI -59
|
||||
<dbg> ble_central: eir_found: [AD]: 9 data_len 0
|
||||
<dbg> ble_central: eir_found: [AD]: 25 data_len 2
|
||||
<dbg> ble_central: eir_found: [AD]: 1 data_len 1
|
||||
<dbg> ble_central: eir_found: [AD]: 2 data_len 4
|
||||
|
||||
Reference in New Issue
Block a user