nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
ble_scan_def.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7/* This configuration file defines filters for BLE central (based on BLE
8 * names). Used only by ble_scan module.
9 */
10
11/* This structure enforces the header file is included only once in the build.
12 * Violating this requirement triggers a multiple definition error at link time.
13 */
14const struct {} ble_scan_include_once;
15
16#include "ble_event.h"
17
18static const char * const peer_name[] = {
19 [PEER_TYPE_MOUSE] = "Mouse nRF Desktop",
20 [PEER_TYPE_KEYBOARD] = "Keyboard nRF Desktop",
21};
@ PEER_TYPE_KEYBOARD
Definition ble_event.h:34
@ PEER_TYPE_MOUSE
Definition ble_event.h:33
const struct @6 ble_scan_include_once
static const char *const peer_name[]
Definition ble_scan_def.h:18