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:
Vinayak Kariappa Chettimada 2020-03-13 16:13:18 +05:30 committed by Carles Cufí
commit 0a18b7e2cb

View file

@ -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: