Hello,
as far as I found out, a Peripheral that advertises will stop advertising as soon as it receives an incoming connection (BLE_GAP_EVT_CONNECTED). A central will however still broadcast advertisement packets after it connected to another Peripheral (this is only relevant for the SD130). I have not yet tested what happens after it has connections to the maximum number of Peripherals. The same goes for scanning I believe. A central will stop scanning when it connects to a peripheral. I think this is because the connection process itself starts a scan and therefore stops the regular scan. Peripherals will continue to scan after they received an incoming connection (SD130 only). Are these assumptions correct? Could you please document this behaviour in the appropriate Message Sequence charts? Are there any other events that cause scanning or advertising to stop?