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:
@@ -39,6 +39,8 @@ char *zmk_ble_active_profile_name(void);
|
||||
|
||||
int zmk_ble_unpair_all(void);
|
||||
|
||||
int zmk_ble_set_device_name(char *name);
|
||||
|
||||
#if IS_ENABLED(CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
|
||||
int zmk_ble_put_peripheral_addr(const bt_addr_le_t *addr);
|
||||
#endif /* IS_ENABLED(CONFIG_ZMK_SPLIT_ROLE_CENTRAL) */
|
||||
|
||||
Reference in New Issue
Block a user