nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
dev_descr.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef _DEV_DESCR_H_
8#define _DEV_DESCR_H_
9
17/* This structure enforces the header file is included only once in the build.
18 * Violating this requirement triggers a multiple definition error at link time.
19 * The header file is included only by dev_descr module for nRF Desktop BLE
20 * Peripheral or by ble_discovery for nRF Desktop BLE Central.
21 */
22const struct {} dev_descr_include_once;
23
24#define DEV_DESCR_LLPM_SUPPORT_POS 0
25#define DEV_DESCR_LLPM_SUPPORT_SIZE 1
26#define DEV_DESCR_LEN (DEV_DESCR_LLPM_SUPPORT_POS + \
27 DEV_DESCR_LLPM_SUPPORT_SIZE)
28
29static struct bt_uuid_128 custom_desc_uuid = BT_UUID_INIT_128(
30 BT_UUID_128_ENCODE(0x00000001, 0x7544, 0x13ac, 0x9846, 0x2e781c091d25));
31
32const static struct bt_uuid_128 custom_desc_chrc_uuid = BT_UUID_INIT_128(
33 BT_UUID_128_ENCODE(0x00000002, 0x7544, 0x13ac, 0x9846, 0x2e781c091d25));
34
35const static struct bt_uuid_128 hwid_chrc_uuid = BT_UUID_INIT_128(
36 BT_UUID_128_ENCODE(0x00000003, 0x7544, 0x13ac, 0x9846, 0x2e781c091d25));
37
42#endif /*_DEV_DESCR_H_ */
static const struct bt_uuid_128 hwid_chrc_uuid
Definition: dev_descr.h:35
static const struct bt_uuid_128 custom_desc_chrc_uuid
Definition: dev_descr.h:32
const struct @44 dev_descr_include_once
static struct bt_uuid_128 custom_desc_uuid
Definition: dev_descr.h:29