Skip to content

Commit 440c287

Browse files
alwa-nordicfabiobaltieri
authored andcommitted
Bluetooth: doc: Fix use of deprecated bt_conn_security
`bt_conn_security` was removed in Zephyr 2.5 and is replaced with `bt_conn_set_security`. Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
1 parent 883b0dc commit 440c287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/connectivity/bluetooth/bluetooth-le-host.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Security
105105
To achieve a secure relationship between two Bluetooth devices a process
106106
called pairing is used. This process can either be triggered implicitly
107107
through the security properties of GATT services, or explicitly using
108-
the :c:func:`bt_conn_security` API on a connection object.
108+
the :c:func:`bt_conn_set_security` API on a connection object.
109109

110110
To achieve a higher security level, and protect against
111111
Man-In-The-Middle (MITM) attacks, it is recommended to use some

0 commit comments

Comments
 (0)