I suppose, I should wait a flag in on_ble_evt(). Which one? Or does it have another method? nRF51 SDK9
no help. Another idea?