Transitioning to BLE code