subsys: bluetooth: services: dev. information service enhancements
This commit moves the BLE GATT Device Information service from /samples/bluetooth/gatt to /subsys/bluetooth/services and adds a Kconfig entry to enable and configure the service; when enabled, it will register itself automatically. Signed-off-by: Emanuele Di Santo <emdi@nordicsemi.no> Signed-off-by: Radoslaw Koppel <radoslaw.koppel@nordicsemi.no>
This commit is contained in:
parent
58781d5782
commit
7e8b44f774
26 changed files with 207 additions and 85 deletions
18
include/bluetooth/services/dis.h
Normal file
18
include/bluetooth/services/dis.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/** @file
|
||||
* @brief GATT Device Information Service
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2018 Nordic Semiconductor ASA
|
||||
* Copyright (c) 2016 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue