[EDITED] With the release of S110 v7.0 now it's possible to advertise when in connection.
There are two option to do so:
Simply call sd_ble_gap_adv_start(). You must advertise in non-connectable mode when in connection. And note that when advertise in non-connectable mode you would need to have advertising interval of minimum 100ms.
Access the radio directly using the timeslot API provided by the stack, so that you can request and access the radio from the softdevice. You can refer to this example from git hub. This example only demonstrating advertise as two broadcasters at the same time, not advertising when in connection. But I assume that it should not be too hard to modify.
@Hung Bui: Is there any document about the minimum 100ms advertising interval in non-connectable mode? Could you please elaborate the reason why we have this limit?
@Hung Bui: Is there any document about the minimum 100ms advertising interval in non-connectable mode? Could you please elaborate the reason why we have this limit?