Skip to content

Commit 1f74e0b

Browse files
Johan Hedbergcarlescufi
authored andcommitted
Bluetooth: Clarify bt_conn_create_slave_le documentation
Clarify how the bt_conn_create_slave_le() API can be used to get each of the two possible advertising packet types. Fixes #14160 Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
1 parent 4e201a6 commit 1f74e0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/bluetooth/conn.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,9 @@ int bt_le_set_auto_conn(const bt_addr_le_t *addr,
231231
* Allows initiating a new LE connection to remote peer with the remote
232232
* acting in central role and the local device in peripheral role.
233233
*
234-
* The advertising type must be either BT_LE_ADV_DIRECT_IND or
235-
* BT_LE_ADV_DIRECT_IND_LOW_DUTY.
234+
* The advertising type will either be BT_LE_ADV_DIRECT_IND, or
235+
* BT_LE_ADV_DIRECT_IND_LOW_DUTY if the BT_LE_ADV_OPT_DIR_MODE_LOW_DUTY
236+
* option was used as part of the advertising parameters.
236237
*
237238
* In case of high duty cycle this will result in a callback with
238239
* connected() with a new connection or with an error.

0 commit comments

Comments
 (0)