Skip to content

Commit 36bdc6c

Browse files
MarkWangChinesekartben
authored andcommitted
bluetooth: pairing_accept's feat parameter is NULL in BR/EDR SSP case
Add description in the callback definition. Signed-off-by: Mark Wang <yichang.wang@nxp.com>
1 parent 782d698 commit 36bdc6c

File tree

1 file changed

+3
-2
lines changed
  • include/zephyr/bluetooth

1 file changed

+3
-2
lines changed

include/zephyr/bluetooth/conn.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,10 +2263,11 @@ struct bt_conn_auth_cb {
22632263
* as if the Kconfig flag was not set.
22642264
*
22652265
* For BR/EDR Secure Simple Pairing (SSP), this callback is called
2266-
* when receiving the BT_HCI_EVT_IO_CAPA_REQ hci event.
2266+
* when receiving the BT_HCI_EVT_IO_CAPA_REQ hci event. The feat is
2267+
* NULL here.
22672268
*
22682269
* @param conn Connection where pairing is initiated.
2269-
* @param feat Pairing req/resp info.
2270+
* @param feat Pairing req/resp info. It is NULL in BR/EDR SSP.
22702271
*/
22712272
enum bt_security_err (*pairing_accept)(struct bt_conn *conn,
22722273
const struct bt_conn_pairing_feat *const feat);

0 commit comments

Comments
 (0)