* restore scanend callback * fix ble scanning time from 20ms to 20s * fix connection timeout. Use ->getLastError() to find out why we did not connect. * add #define to remove hack if not required in the future.