nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
ble_dis.h
1/*
2 * Copyright (c) 2012 - 2025 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
18#ifndef BLE_DIS_H__
19#define BLE_DIS_H__
20
21#include <stdint.h>
22#include <bm/bluetooth/ble_common.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
29#define BLE_DIS_CONFIG_SEC_MODE_DEFAULT \
30 { \
31 .device_info_char.read = BLE_GAP_CONN_SEC_MODE_OPEN, \
32 }
33
39 struct {
41 struct {
45 ble_gap_conn_sec_mode_t read;
48};
49
62uint32_t ble_dis_init(const struct ble_dis_config *dis_config);
63
64#ifdef __cplusplus
65}
66#endif
67
68#endif /* BLE_DIS_H__ */
69
struct ble_dis_config::@73::@74 device_info_char
struct ble_dis_config::@73 sec_mode
ble_gap_conn_sec_mode_t read
Definition ble_dis.h:45
Device Information service configuration.
Definition ble_dis.h:37