tests: Bluetooth: advx: disable periodic SYNC_IND packets
Added function call to test disable of the started periodic SYNC_IND packets. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
4d79d43db1
commit
0a18b7e2cb
1 changed files with 10 additions and 0 deletions
|
@ -219,6 +219,16 @@ void main(void)
|
|||
goto exit;
|
||||
}
|
||||
printk("success.\n");
|
||||
|
||||
k_sleep(K_MSEC(400));
|
||||
|
||||
printk("Disabling periodic...");
|
||||
err = ll_adv_sync_enable(handle, 0);
|
||||
if (err) {
|
||||
goto exit;
|
||||
}
|
||||
printk("success.\n");
|
||||
|
||||
return;
|
||||
|
||||
exit:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue