Hi,
We're running into an issue when scanning as a central and starting advertising as a peripheral. Calling the bt_le_adv_start() function returns and error code -EIO. The opcode is 0x2005 and the returned status from the Nordic softdevice controller is 0x0C. The problem appears to be related to calling the bt_id_set_adv_random_addr() command. Do we have to stop scanning, start advertising, then restart scanning?
Thanks