Skip to content

BPM (UA-651BLE) switches off as soon as a discoverServices is initiated #1

@prashanthramakrishnan

Description

@prashanthramakrishnan

Hello,

I'm trying to connect to the UA-651BLE blood pressure monitor, I am able to successfully scan for the device, and issue a connect from the scan call back. After connect, when a services discovery is done, the BPM immediately turns off with E 10 as error code. The same happens on your test app as well. Do you know why? Below is the log snippet. I am using a Moto G4 running Android 7.0

04-16 11:36:20.583 3533-3533/jp.co.aandd.cdltestapp D/AD: The value of operation is pair
04-16 11:36:20.583 3533-3533/jp.co.aandd.cdltestapp D/BluetoothAdapter: startLeScan(): null
04-16 11:36:20.585 3533-3533/jp.co.aandd.cdltestapp D/BluetoothAdapter: STATE_ON
04-16 11:36:20.589 3533-3546/jp.co.aandd.cdltestapp D/BluetoothLeScanner: onClientRegistered() - status=0 clientIf=14 mClientIf=0
04-16 11:36:21.547 3533-3545/jp.co.aandd.cdltestapp I/art: Background partial concurrent mark sweep GC freed 57415(4MB) AllocSpace objects, 0(0B) LOS objects, 39% free, 7MB/11MB, paused 46.622ms total 87.807ms
04-16 11:36:27.089 3533-3533/jp.co.aandd.cdltestapp D/BluetoothAdapter: stopLeScan()
04-16 11:36:27.091 3533-3533/jp.co.aandd.cdltestapp D/BluetoothAdapter: STATE_ON
04-16 11:36:27.095 3533-3533/jp.co.aandd.cdltestapp D/AD: case of pair operation
04-16 11:36:27.095 3533-3533/jp.co.aandd.cdltestapp D/SN: connectDevice device 20:CD:39:7C:1D:6B
04-16 11:36:27.095 3533-3533/jp.co.aandd.cdltestapp D/AD: The operation is pair
04-16 11:36:27.096 3533-3533/jp.co.aandd.cdltestapp D/SN: bluetoothGatt null
04-16 11:36:27.596 3533-3533/jp.co.aandd.cdltestapp D/Sim: Calling other devices for pairing
04-16 11:36:27.598 3533-3533/jp.co.aandd.cdltestapp D/BluetoothGatt: connect() - device: 20:CD:39:7C:1D:6B, auto: false
registerApp()
04-16 11:36:27.599 3533-3533/jp.co.aandd.cdltestapp D/BluetoothGatt: registerApp() - UUID=624fc759-5af5-4ae9-b1ff-ace3f3541afe
04-16 11:36:27.602 3533-3547/jp.co.aandd.cdltestapp D/BluetoothGatt: onClientRegistered() - status=0 clientIf=14
04-16 11:36:27.718 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=14 device=20:CD:39:7C:1D:6B
04-16 11:36:27.726 3533-3592/jp.co.aandd.cdltestapp D/SN: onConnectionStateChange()20:CD:39:7C:1D:6B, A&D_UA-651BLE_7C1D6B, status=0 newState=2
Device Address : 20:CD:39:7C:1D:6B
04-16 11:36:27.727 3533-3592/jp.co.aandd.cdltestapp D/SN: Bond Status: 11
04-16 11:36:27.727 3533-3592/jp.co.aandd.cdltestapp D/AD: Calling service discovery for pairing
04-16 11:36:27.727 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: discoverServices() - device: 20:CD:39:7C:1D:6B
04-16 11:36:48.238 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: onClientConnectionState() - status=8 clientIf=14 device=20:CD:39:7C:1D:6B
04-16 11:36:48.238 3533-3592/jp.co.aandd.cdltestapp D/A&D: GATT connection not successful
04-16 11:36:48.246 3533-3592/jp.co.aandd.cdltestapp D/SN: onConnectionStateChange()20:CD:39:7C:1D:6B, A&D_UA-651BLE_7C1D6B, status=8 newState=0
04-16 11:36:48.246 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: cancelOpen() - device: 20:CD:39:7C:1D:6B
04-16 11:36:48.248 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: close()
unregisterApp() - mClientIf=14
04-16 11:36:48.249 3533-3592/jp.co.aandd.cdltestapp D/BluetoothGatt: close()
unregisterApp() - mClientIf=0
cancelOpen() - device: 20:CD:39:7C:1D:6B

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions