|
|
|
@ -64,8 +64,10 @@ static u8_t active_profile;
@@ -64,8 +64,10 @@ static u8_t active_profile;
|
|
|
|
|
#define DEVICE_NAME_LEN (sizeof(DEVICE_NAME) - 1) |
|
|
|
|
|
|
|
|
|
static const struct bt_data zmk_ble_ad[] = { |
|
|
|
|
#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) |
|
|
|
|
BT_DATA(BT_DATA_NAME_COMPLETE, DEVICE_NAME, DEVICE_NAME_LEN), |
|
|
|
|
BT_DATA_BYTES(BT_DATA_GAP_APPEARANCE, 0xC1, 0x03), |
|
|
|
|
#endif |
|
|
|
|
BT_DATA_BYTES(BT_DATA_FLAGS, (BT_LE_AD_GENERAL | BT_LE_AD_NO_BREDR)), |
|
|
|
|
BT_DATA_BYTES(BT_DATA_UUID16_SOME, |
|
|
|
|
#if !IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) |
|
|
|
|