Non blocking and blocking mode.

Seperated application specific info from ble receiver code.