Update app/src/ble.c
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
This commit is contained in:
parent
fa2c76b3f1
commit
cc6ab5d52c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ BUILD_ASSERT(DEVICE_NAME_LEN <= 16, "ERROR: BLE device name is too long. Max len
|
|||
|
||||
static struct bt_data zmk_ble_ad[] = {
|
||||
#if IS_HOST_PERIPHERAL
|
||||
BT_DATA(BT_DATA_NAME_COMPLETE, device_name, 16),
|
||||
BT_DATA(BT_DATA_NAME_COMPLETE, device_name, DEVICE_NAME_ARRAY_MAX_SIZE-1),
|
||||
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)),
|
||||
|
|
Loading…
Add table
Reference in a new issue