This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Zephyr Project periodic_adv example error

I'm trying the periodic_adv example on nrf52840 DK, but I'm getting I/O error. 

err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);  // the function returns the -5 value which is equal to -EIO.
	if (err) {
		printk("Failed to set periodic advertising parameters"
		       " (err %d)\n", err);
		return;
	}

Related