These samples demonstrate how to use the bluetooth 6.0 channel sounding APIs. A basic distance estimation algorithm is included. Signed-off-by: Olivier Lesage <olivier.lesage@nordicsemi.no>
16 lines
517 B
C
16 lines
517 B
C
/*
|
|
* Copyright (c) 2024 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <zephyr/bluetooth/gatt.h>
|
|
|
|
#define NAME_LEN 30
|
|
#define STEP_DATA_BUF_LEN 512 /* Maximum GATT characteristic length */
|
|
|
|
static struct bt_uuid_128 step_data_char_uuid =
|
|
BT_UUID_INIT_128(BT_UUID_128_ENCODE(0x87654321, 0x4567, 0x2389, 0x1254, 0xf67f9fedcba8));
|
|
static const struct bt_uuid_128 step_data_svc_uuid =
|
|
BT_UUID_INIT_128(BT_UUID_128_ENCODE(0x87654321, 0x4567, 0x2389, 0x1254, 0xf67f9fedcba9));
|