nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
ble_gatt_db.h
1/*
2 * Copyright (c) 2015-2025 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
15#ifndef BLE_GATT_DB_H__
16#define BLE_GATT_DB_H__
17
18#include <stdint.h>
19#include <ble.h>
20#include <ble_gattc.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
31 ble_gattc_char_t characteristic;
36 uint16_t cccd_handle;
55};
56
63 ble_uuid_t srv_uuid;
65 uint8_t char_count;
67 ble_gattc_handle_range_t handle_range;
72 struct ble_gatt_db_char characteristics[CONFIG_BLE_GATT_DB_MAX_CHARS];
73};
74
75#ifdef __cplusplus
76}
77#endif
78
79#endif /* BLE_GATT_DB_H__ */
80
uint16_t report_ref_handle
Report Reference Handle value for this characteristic. This will be set to BLE_GATT_HANDLE_INVALID if...
Definition ble_gatt_db.h:54
uint16_t ext_prop_handle
Extended Properties Handle value for this characteristic. This will be set to BLE_GATT_HANDLE_INVALID...
Definition ble_gatt_db.h:42
uint16_t user_desc_handle
User Description Handle value for this characteristic. This will be set to BLE_GATT_HANDLE_INVALID if...
Definition ble_gatt_db.h:48
uint16_t cccd_handle
CCCD Handle value for this characteristic. This will be set to BLE_GATT_HANDLE_INVALID if a CCCD is n...
Definition ble_gatt_db.h:36
ble_gattc_char_t characteristic
Structure containing information about the characteristic.
Definition ble_gatt_db.h:31
Structure for holding the characteristic and the handle of its CCCD present on a server.
Definition ble_gatt_db.h:29
ble_uuid_t srv_uuid
UUID of the service.
Definition ble_gatt_db.h:63
struct ble_gatt_db_char characteristics[CONFIG_BLE_GATT_DB_MAX_CHARS]
Array of information related to the characteristics present in the service. This list can extend furt...
Definition ble_gatt_db.h:72
uint8_t char_count
Number of characteristics present in the service.
Definition ble_gatt_db.h:65
ble_gattc_handle_range_t handle_range
Service Handle Range.
Definition ble_gatt_db.h:67
Structure for holding information about the service and the characteristics present on a server.
Definition ble_gatt_db.h:61