ble and engine update. Updated emulator tests