Skip to content

Commit 2b8079a

Browse files
ppryga-nordiccfriedt
authored andcommitted
samples: Bluetooth: df: enable filtering of per adv by CTE type
Enable filtering of periodic advertisements to synchronize with advertisenemts that include CTE. Signed-off-by: Piotr Pryga <[email protected]>
1 parent 81136cb commit 2b8079a

File tree

1 file changed

+2
-1
lines changed
  • samples/bluetooth/direction_finding_connectionless_rx/src

1 file changed

+2
-1
lines changed

samples/bluetooth/direction_finding_connectionless_rx/src/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ static void create_sync(void)
209209

210210
printk("Creating Periodic Advertising Sync...");
211211
bt_addr_le_copy(&sync_create_param.addr, &per_addr);
212-
sync_create_param.options = 0;
212+
213+
sync_create_param.options = BT_LE_PER_ADV_SYNC_OPT_SYNC_ONLY_CONST_TONE_EXT;
213214
sync_create_param.sid = per_sid;
214215
sync_create_param.skip = 0;
215216
sync_create_param.timeout = 0xa;

0 commit comments

Comments
 (0)