Added BLE interface code