-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
Hi guys,
I've received my first Movesense device not long ago and wanted to test it in Flutter.
I'm using the example app provided here but so far I could not establish a connection.
I'll attach some log files but I think this is the most important bit:
D/BleManager(31592): connecting to 0C:8C:DC:38:93:5A
D/BleManager(31592): isConnected: RxBleConnectionState{DISCONNECTED}
D/BleManager(31592): Connection try: 0
D/BleManager(31592): Disconnect happened
D/BleManager(31592): removeBleMac: bleMac: 0C:8C:DC:38:93:5A
D/BleManager(31592): removeBleMac: wbAddress: null
D/BleManager(31592): getOrCreateWbAddress: bleMac: 0C:8C:DC:38:93:5A
D/BleManager(31592): getOrCreateWbAddress: wbAddress: null
V/BleManager(31592): getOrCreateWbAddress: handle: 268435457
D/BleManager(31592): getOrCreateWbAddress: wbAddress2: 10000001
D/BleManager(31592): getConnectedBleDevicesCb()
D/BleManager(31592): Found connected devices: []
And then it keeps repeating:
D/BleManager(31592): Trying to reconnect to device: 0C:8C:DC:38:93:5A
D/BleManager(31592): connecting to 0C:8C:DC:38:93:5A
D/BleManager(31592): isConnected: RxBleConnectionState{DISCONNECTED}
D/BleManager(31592): Connection try: 0
D/BleManager(31592): Disconnect happened
D/BleManager(31592): removeBleMac: bleMac: 0C:8C:DC:38:93:5A
D/BleManager(31592): removeBleMac: wbAddress: 10000001
D/BleManager(31592): getOrCreateWbAddress: bleMac: 0C:8C:DC:38:93:5A
D/BleManager(31592): getOrCreateWbAddress: wbAddress: null
V/BleManager(31592): getOrCreateWbAddress: handle: 268435458
D/BleManager(31592): getOrCreateWbAddress: wbAddress2: 10000002
D/BleManager(31592): getConnectedBleDevicesCb()
D/BleManager(31592): Found connected devices: []
Basically, it seems like whenever MDS is trying to connect to the device, it receives a Disconnect event.
The interesting thing is that I tried the Showcase app from the Android mobile library and that connects (to the same device, on the same android phone) without any issues:
D/BleManager: connecting to 0C:8C:DC:38:93:5A
isConnected: RxBleConnectionState{DISCONNECTED}
D/BleManager: Connection try: 0
I/BluetoothAdapter: stopLeScan()
STATE_ON
I/BluetoothAdapter: STATE_ON
D/BluetoothLeScanner: Stop Scan with callback
I/Dialog: mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
I/DecorView: [INFO] isPopOver=false, config=false
updateCaptionType >> DecorView@17a6b41[], isFloating=true, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=false
D/DecorView: setCaptionType = 0, this = DecorView@17a6b41[]
I/BluetoothAdapter: STATE_ON
D/BluetoothGatt: connect() - device: 0C:8C:DC:38:93:5A, auto: false
I/BluetoothAdapter: isSecureModeEnabled
D/BluetoothGatt: registerApp()
D/BluetoothGatt: registerApp() - UUID=89ba9c89-c109-46b0-ab27-df054290d445
D/BluetoothGatt: onClientRegistered() - status=0 clientIf=12
D/ScrollView: initGoToTop
D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=12 device=0C:8C:DC:38:93:5A
D/BleManager: BLE connection to 0C:8C:DC:38:93:5A done!
Did anyone else face this before or can maybe reproduce?
Any tips on how to resolve the issue would be also much appreciated of course.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels