Skip to content

Commit 8b80c20

Browse files
kapi-nokartben
authored andcommitted
doc: releases: document the DIS changes in changelog and migration guide
Added a changelog entry in the Deprecated and New categories to document the Kconfig changes for the Bluetooth Device Information Service (DIS). Updated the migration guide to provide instructions on how to transition from the old configuration scheme to the new one. Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
1 parent 7c828bd commit 8b80c20

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

doc/releases/migration-guide-4.1.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,16 @@ Bluetooth Host
587587
Bluetooth Crypto
588588
================
589589

590+
Bluetooth Services
591+
==================
592+
593+
* The :kconfig:option:`CONFIG_BT_DIS_MODEL` and :kconfig:option:`CONFIG_BT_DIS_MANUF` have been
594+
deprecated. Application developers should now use the
595+
:kconfig:option:`CONFIG_BT_DIS_MODEL_NUMBER_STR` and
596+
:kconfig:option:`CONFIG_BT_DIS_MANUF_NAME_STR` Kconfig options to set the string values in the
597+
Model Number String and Manufacturer Name String characteristics that are part of the Device
598+
Information Service (DIS).
599+
590600
Networking
591601
**********
592602

doc/releases/release-notes-4.1.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ Deprecated APIs and options
117117
* The TinyCrypt library has been deprecated as the upstream version is no longer maintained.
118118
PSA Crypto API is now the recommended cryptographic library for Zephyr.
119119

120+
* The :kconfig:option:`CONFIG_BT_DIS_MODEL` and :kconfig:option:`CONFIG_BT_DIS_MANUF` have been
121+
deprecated. Application developers can achieve the same configuration by using the new
122+
:kconfig:option:`CONFIG_BT_DIS_MODEL_NUMBER_STR` and
123+
:kconfig:option:`CONFIG_BT_DIS_MANUF_NAME_STR` Kconfig options.
124+
120125
New APIs and options
121126
====================
122127

@@ -151,6 +156,16 @@ New APIs and options
151156
* :c:member:`bt_mesh_health_cli::update` callback can be used to periodically update the message
152157
published by the Health Client.
153158

159+
* Services
160+
161+
* The :kconfig:option:`CONFIG_BT_DIS_MODEL_NUMBER` and
162+
:kconfig:option:`CONFIG_BT_DIS_MANUF_NAME` Kconfig options can be used to control the
163+
presence of the Model Number String and Manufacturer Name String characteristics inside
164+
the Device Information Service (DIS). The :kconfig:option:`CONFIG_BT_DIS_MODEL_NUMBER_STR`
165+
and :kconfig:option:`CONFIG_BT_DIS_MANUF_NAME_STR` Kconfig options are now used to set the
166+
string values in these characteristics. They replace the functionality of the deprecated
167+
:kconfig:option:`CONFIG_BT_DIS_MODEL` and :kconfig:option:`CONFIG_BT_DIS_MANUF` Kconfigs.
168+
154169
* Build system
155170

156171
* Sysbuild

0 commit comments

Comments
 (0)