Ready for integration testing

Corrected BTLE handler bug.