|
|
@ -130,12 +130,12 @@ static struct bt_conn_auth_cb zmk_ble_auth_cb_display = { |
|
|
|
static const struct bt_data zmk_ble_ad[] = { |
|
|
|
static const struct bt_data zmk_ble_ad[] = { |
|
|
|
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)), |
|
|
|
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)), |
|
|
|
BT_DATA_BYTES(BT_DATA_UUID16_SOME, |
|
|
|
BT_DATA_BYTES(BT_DATA_UUID16_SOME, |
|
|
|
#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE) |
|
|
|
#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) |
|
|
|
0x12, 0x18, /* HID Service */ |
|
|
|
0x12, 0x18, /* HID Service */ |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
0x0f, 0x18 /* Battery Service */ |
|
|
|
0x0f, 0x18 /* Battery Service */ |
|
|
|
), |
|
|
|
), |
|
|
|
#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE) |
|
|
|
#if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) |
|
|
|
BT_DATA_BYTES(BT_DATA_UUID128_ALL, |
|
|
|
BT_DATA_BYTES(BT_DATA_UUID128_ALL, |
|
|
|
ZMK_SPLIT_BT_SERVICE_UUID) |
|
|
|
ZMK_SPLIT_BT_SERVICE_UUID) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|