Hello again Nordic Pro's,
As you probably all know by now, our product app is based on the subject example code, SDK and device. We need to programmatically disconnect from a central, turn advertising off and then later, turn advertising back on for testing purpose. I have found a ticket that references this using a newer device and SDK, using calls to sd_ble_gap_disconnect(), sd_ble_gap_adv_stop() and sd_ble_gap_adv_start(). However the start and stop calls are not made directly from main() within the 12.3 example, as shown in the other ticket. What are the implications of performing these calls from within our app to disconnect from a central, stop, and later restart advertising? ie are there any connection vars that must be managed, or other such holes we might fall into or can I freely use these functions to do as required.
Thanks again,
Robin @ TL