weliem / blessed-bluez

BLE library using Java and Bluez
MIT License
76 stars 23 forks source link

A&D Device #26

Open waayaa opened 1 year ago

waayaa commented 1 year ago

I have a 1100BLE. It works well on the first run however, blessed keeps scanning and reconnects after removing the device from the blacklist. This blocks all subsequent operation i.e I can't read data from the device.

If I am to take measurement from the device before blessed reconnects all works fine. If the device sit idle and bless reconnects to the device I can't take measurement from the device. I have tried central.stopScan(); but the device does not send notification after the first run.

The device automatically disconnect once it send data to blessed I guess this makes blessed to reconnect. Any pointer on how to make blessed not reconnect and continue listening for notification will be appreciated.

weliem commented 1 year ago

Hi, I have never used the 1100BLE so I am not familiar with it. However, feel free to experiment with the demo app to make it work for the 1100BLE. It is just a demo app and not the Blessed library.

Can you share logs so I can see what is going on? In particular for the second connect that doesn't work.

waayaa commented 1 year ago

What I have noticed is when doing setNotify in onServicesDiscovered the queue/signal thread to the device hangs in my debugger. If I introduce time delay to set notification for the device characteristics all works fine. image

13:15:06.090 [Central-queue] INFO BluetoothPeripheral - peripheral is connecting 13:15:06.091 [Central-queue] INFO BluetoothPeripheral - connecting to 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:07.195 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - connected to 'UB-1100BLE_88C32F' (BONDED) in 1.1s 13:15:09.456 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - service discovery completed 13:15:09.563 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - discovered 4 services for 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:09.564 [Central-callback] INFO BluetoothHandler - connected peripheral 13:15:09.566 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a29-0000-1000-8000-00805f9b34fb> 13:15:09.666 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a24-0000-1000-8000-00805f9b34fb> 13:15:09.667 [Central-callback] INFO BluetoothHandler - Received manufacturer: 'A&D Medical' 13:15:09.766 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - setNotify for characteristic <00002a35-0000-1000-8000-00805f9b34fb> 13:15:09.767 [Central-callback] INFO BluetoothHandler - Received modelnumber: 'UB-1100BLE' 13:15:09.866 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - characteristic '00002a35-0000-1000-8000-00805f9b34fb' is notifying 13:15:09.868 [Central-callback] INFO BluetoothHandler - SUCCESS: Notify set to 'true' for 00002a35-0000-1000-8000-00805f9b34fb 13:15:11.549 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:11.552 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:11.870 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - stopNotify for characteristic <00002a35-0000-1000-8000-00805f9b34fb> 13:15:11.873 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - characteristic '00002a35-0000-1000-8000-00805f9b34fb' stopped notifying 13:15:11.874 [Central-callback] INFO BluetoothHandler - SUCCESS: Notify set to 'false' for 00002a35-0000-1000-8000-00805f9b34fb 13:15:11.875 [Central-queue] INFO BluetoothPeripheral - force disconnect 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:11.875 [Central-queue] INFO BluetoothPeripheral - peripheral is disconnecting 13:15:14.466 [00:9D:6B:88:C3:2F-signal] DEBUG BluetoothPeripheral - servicesResolved is false (UB-1100BLE_88C32F) 13:15:14.467 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - disconnected 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:14.468 [Central-callback] INFO BluetoothHandler - disconnected peripheral 13:15:14.507 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:14.508 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:20.638 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:20.640 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:22.514 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:22.515 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:28.640 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:28.641 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:30.520 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:30.521 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:36.645 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:36.646 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:38.528 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:38.529 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:44.654 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:44.655 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:46.535 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:46.536 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:52.541 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:15:52.543 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:15:54.468 [testapp.BluetoothHandler] INFO BluetoothHandler - removing '00:9D:6B:88:C3:2F' from blacklist 13:15:54.542 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:15:54.543 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:15:54.573 [Central-callback] INFO BluetoothHandler - ScanResult{timestampNanos=5017158742922, name='UB-1100BLE_88C32F', address='00:9D:6B:88:C3:2F', addressType='public', uuids=[00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb, 0000180a-0000-1000-8000-00805f9b34fb, 00001810-0000-1000-8000-00805f9b34fb, 233bf000-5a34-1b6d-975c-000d5690abe4], rssi=-56, manufacturerData=[0x0069->0x01e0], serviceData=[]} 13:15:54.573 [Central-queue] INFO BluetoothPeripheral - peripheral is connecting 13:15:54.573 [Central-queue] INFO BluetoothPeripheral - connecting to 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:54.894 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - connected to 'UB-1100BLE_88C32F' (BONDED) in 0.3s 13:15:56.932 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - service discovery completed 13:15:57.062 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - discovered 5 services for 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:15:57.062 [Central-callback] INFO BluetoothHandler - connected peripheral 13:15:57.063 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a29-0000-1000-8000-00805f9b34fb> 13:15:57.270 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a24-0000-1000-8000-00805f9b34fb> 13:15:57.271 [Central-callback] INFO BluetoothHandler - Received manufacturer: 'A&D Medical' 13:15:57.568 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - setNotify for characteristic <00002a2b-0000-1000-8000-00805f9b34fb> 13:15:57.569 [Central-callback] INFO BluetoothHandler - Received modelnumber: 'UB-1100BLE' 13:16:00.543 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:00.546 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:02.663 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:02.664 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:08.787 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:08.788 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:10.668 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:10.668 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:16.798 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:16.799 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:18.675 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:18.677 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:24.803 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:24.804 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:26.682 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:26.683 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:32.811 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:32.812 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:34.689 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:34.693 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:40.806 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:40.807 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:42.695 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:42.696 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:48.814 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:48.815 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:50.700 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:50.700 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:16:56.774 [00:9D:6B:88:C3:2F-signal] DEBUG BluetoothPeripheral - servicesResolved is false (UB-1100BLE_88C32F) 13:16:56.774 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - disconnected 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:16:56.774 [00:9D:6B:88:C3:2F-signal] ERROR BluetoothPeripheral - disconnected with status 'REMOTE_USER_TERMINATED_CONNECTION' 13:16:56.775 [Central-callback] INFO BluetoothHandler - disconnected peripheral 13:16:56.816 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:16:56.818 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:16:58.705 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:16:58.706 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:04.720 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:04.722 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:06.711 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:06.712 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:12.719 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:12.720 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:14.718 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:14.718 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:20.730 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:20.731 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:22.725 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:22.726 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:28.732 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:28.734 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:30.733 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:30.733 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:36.737 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:36.739 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:36.776 [testapp.BluetoothHandler] INFO BluetoothHandler - removing '00:9D:6B:88:C3:2F' from blacklist 13:17:38.740 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:38.740 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:39.603 [Central-callback] INFO BluetoothHandler - ScanResult{timestampNanos=5122189072909, name='UB-1100BLE_88C32F', address='00:9D:6B:88:C3:2F', addressType='public', uuids=[00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb, 00001805-0000-1000-8000-00805f9b34fb, 0000180a-0000-1000-8000-00805f9b34fb, 0000180f-0000-1000-8000-00805f9b34fb, 00001810-0000-1000-8000-00805f9b34fb], rssi=-57, manufacturerData=[0x0069->0x00ff], serviceData=[]} 13:17:39.603 [Central-queue] INFO BluetoothPeripheral - peripheral is connecting 13:17:39.603 [Central-queue] INFO BluetoothPeripheral - connecting to 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:17:40.697 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - connected to 'UB-1100BLE_88C32F' (BONDED) in 1.1s 13:17:43.128 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - service discovery completed 13:17:43.207 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - discovered 4 services for 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:17:43.207 [Central-callback] INFO BluetoothHandler - connected peripheral 13:17:43.208 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a29-0000-1000-8000-00805f9b34fb> 13:17:43.368 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a24-0000-1000-8000-00805f9b34fb> 13:17:43.369 [Central-callback] INFO BluetoothHandler - Received manufacturer: 'A&D Medical' 13:17:43.568 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - setNotify for characteristic <00002a35-0000-1000-8000-00805f9b34fb> 13:17:43.569 [Central-callback] INFO BluetoothHandler - Received modelnumber: 'UB-1100BLE' 13:17:44.741 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:44.743 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:46.747 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:46.747 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:17:52.866 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:17:52.867 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:17:54.756 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:17:54.756 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:00.874 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:00.877 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:02.762 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:02.763 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:08.883 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:08.885 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:10.770 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:10.771 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:11.469 [00:9D:6B:88:C3:2F-signal] DEBUG BluetoothPeripheral - servicesResolved is false (UB-1100BLE_88C32F) 13:18:11.469 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - disconnected 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:18:11.469 [00:9D:6B:88:C3:2F-signal] ERROR BluetoothPeripheral - disconnected with status 'REMOTE_USER_TERMINATED_CONNECTION' 13:18:11.470 [Central-callback] INFO BluetoothHandler - disconnected peripheral 13:18:16.776 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:16.777 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:18.777 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:18.777 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:24.903 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:24.904 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:26.784 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:26.785 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:32.909 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:32.910 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:34.792 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:34.792 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:40.918 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:40.919 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:42.800 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:42.800 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:48.803 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:48.805 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:50.807 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:50.808 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:18:51.470 [testapp.BluetoothHandler] INFO BluetoothHandler - removing '00:9D:6B:88:C3:2F' from blacklist 13:18:51.562 [Central-callback] INFO BluetoothHandler - ScanResult{timestampNanos=5194148467732, name='UB-1100BLE_88C32F', address='00:9D:6B:88:C3:2F', addressType='public', uuids=[00001800-0000-1000-8000-00805f9b34fb, 00001801-0000-1000-8000-00805f9b34fb, 0000180a-0000-1000-8000-00805f9b34fb, 00001810-0000-1000-8000-00805f9b34fb, 233bf000-5a34-1b6d-975c-000d5690abe4], rssi=-62, manufacturerData=[0x0069->0x01e0], serviceData=[]} 13:18:51.562 [Central-queue] INFO BluetoothPeripheral - peripheral is connecting 13:18:51.562 [Central-queue] INFO BluetoothPeripheral - connecting to 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:18:51.824 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - connected to 'UB-1100BLE_88C32F' (BONDED) in 0.3s 13:18:54.106 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - service discovery completed 13:18:54.184 [00:9D:6B:88:C3:2F-signal] INFO BluetoothPeripheral - discovered 5 services for 'UB-1100BLE_88C32F' (00:9D:6B:88:C3:2F) 13:18:54.185 [Central-callback] INFO BluetoothHandler - connected peripheral 13:18:54.185 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a29-0000-1000-8000-00805f9b34fb> 13:18:54.419 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - reading characteristic <00002a24-0000-1000-8000-00805f9b34fb> 13:18:54.420 [Central-callback] INFO BluetoothHandler - Received manufacturer: 'A&D Medical' 13:18:54.720 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - setNotify for characteristic <00002a2b-0000-1000-8000-00805f9b34fb> 13:18:54.721 [Central-callback] INFO BluetoothHandler - Received modelnumber: 'UB-1100BLE' 13:18:56.808 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:18:56.810 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:18:58.935 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:18:58.936 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:19:05.056 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:19:05.057 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:19:06.941 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:19:06.942 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:19:13.067 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:19:13.067 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:19:14.947 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:19:14.948 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:19:17.570 [00:9D:6B:88:C3:2F-queue] ERROR BluetoothPeripheral - set notify failed with status 'BLUEZ_OPERATION_FAILED' 13:19:17.570 [00:9D:6B:88:C3:2F-queue] INFO BluetoothPeripheral - device 00:9D:6B:88:C3:2F is not connected, clearing command queue 13:19:17.571 [Central-callback] ERROR BluetoothHandler - ERROR: Changing notification state failed for 00002a2b-0000-1000-8000-00805f9b34fb 13:19:17.571 [00:9D:6B:88:C3:2F-queue] ERROR BluetoothPeripheral - No reply within specified time 13:19:21.068 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:19:21.070 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped 13:19:22.954 [Central-queue] DEBUG BluetoothCentralManager - scan started 13:19:22.955 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery started 13:19:29.086 [Central-queue] DEBUG BluetoothCentralManager - scan stopped 13:19:29.087 [Central-signal] DEBUG BluetoothCentralManager - adapter discovery stopped