Skip to content

Commit

Permalink
samples: bluetooth: central_iso: demonstrate FT > 1
Browse files Browse the repository at this point in the history
Setting the SDU latency parameter to a value larger than the SDU
interval results in a flush timeout (FT) larger than one if at the same
time the ISO policy is switched from "low latency" to "reliability".

This demonstrates that the synchronization algorithm can deal with
FT > 1.

Signed-off-by: Florian Grandel <[email protected]>
  • Loading branch information
fgrandel committed May 31, 2024
1 parent 5fc6fbf commit eb8f0b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/bluetooth/central_iso/overlay-bt_ll_sw_split.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CONFIG_BT_CTLR_ISO_TX_BUFFERS=4

# Use Low Latency Connected ISO policy
CONFIG_BT_CTLR_ADVANCED_FEATURES=y
CONFIG_BT_CTLR_CONN_ISO_LOW_LATENCY_POLICY=y
CONFIG_BT_CTLR_CONN_ISO_RELIABILITY_POLICY=y

# Use the below if the sample is sending stale packet sequence number
# CONFIG_BT_CTLR_ISOAL_SN_STRICT=n
2 changes: 1 addition & 1 deletion samples/bluetooth/central_iso/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
/* Currently only nRF5 hardware is supported by this sample. */
#include "bt_clock_hal_nrf5.h"

#define LATENCY_MS 10U /* 10.0 ms */
#define LATENCY_MS 20U /* 20.0 ms, FT=2 with CIS reliability policy, otherwise w/o effect */
#define SDU_INTERVAL_US (10U * USEC_PER_MSEC) /* 10.0 ms */
#define NUM_RETRIES 1U /* SDU tx retries, influences ISO interval length */

Expand Down

0 comments on commit eb8f0b6

Please sign in to comment.