Giter Site home page Giter Site logo

godotandroidbluetoothplugin's People

Contributors

ianbuk avatar pablojimenezmateo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

godotandroidbluetoothplugin's Issues

Invalid call. Nonexistent function 'bluetoothStatus' in base 'Nil'.

Hi there,
I try to make this plugin work with Godot 4.1
I already adopted some of the syntax of 4.1 and imported the demo project into the editor.

I get the error Invalid call. Nonexistent function 'bluetoothStatus' in base 'Nil'.

I think it might have something to do with the change from getMethods() function to @UsedbyGodot annotation?

Thanks

Engine.has_singleton("GodotBluetooth344") returns false

When I open the demo project, set all Android permissions to true, set my debug keystore settings and then export to my tablet, I find that:

Engine.has_singleton("GodotBluetooth344"):

returns false.

The app opens and shows:

"Loc. permissions: On"
"Loc.status: On"
"Bluetooth status: On"
"Connected" No"

I'm using Godot 3.5.2, on an M1 Mac, and an Android A8 tablet. The 'plugins' tab of the project settings popup is empty.

Can you advise please?

Thanks.

Crash after connection

Hi Pablo, thanks a lot for developing this plugin!

However, there's probably a bug in it. The app crashes after connecting to the device (line 153)
Here's the logcat output:

  1. 06-03 13:23:37.663 21822 21840 I godot : [13:23:37] Connecting to 28:EC:9A:96:5E:AE
  2. 06-03 13:23:37.665 21822 21840 D BluetoothAdapter: isLeEnabled(): ON
  3. 06-03 13:23:37.666 17797 17809 D BtGatt.GattService: stopScan() - queue size =7
  4. 06-03 13:23:37.669 17797 17809 D BtGatt.GattService: unregisterScanner() - scannerId=10
  5. 06-03 13:23:37.669 693 693 D [email protected]_handler: SerialClockVote: vote for UART CLK ON
  6. 06-03 13:23:37.671 693 693 D [email protected]_lock: Acquire wakelock is acquired
  7. 06-03 13:23:37.671 693 693 I [email protected]_handler: DeviceWakeUp: Writing IBS_WAKE_IND
  8. 06-03 13:23:37.675 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_ACK: 0xFC
  9. 06-03 13:23:37.676 21822 21840 D BluetoothGatt: connect() - device: 28:EC:9A:96:5E:AE, auto: false
  10. 06-03 13:23:37.676 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  11. 06-03 13:23:37.676 21822 21840 D BluetoothGatt: registerApp()
  12. 06-03 13:23:37.676 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  13. 06-03 13:23:37.676 21822 21840 D BluetoothGatt: registerApp() - UUID=02b088fc-17ac-4f34-82c0-b15971016efc
  14. 06-03 13:23:37.678 17797 17883 D BtGatt.GattService: onScanFilterParamsConfigured() - clientIf=10, status=0, action=1, availableSpace=14
  15. 06-03 13:23:37.678 17797 17883 D BtGatt.ScanManager: callback done for scannerId - 10 status - 0
  16. 06-03 13:23:37.679 17797 17903 D BtGatt.ScanManager: configureRegularScanParams() - queue=6
  17. 06-03 13:23:37.679 17797 17903 D BtGatt.ScanManager: configureRegularScanParams() - ScanSetting LE 1M Scan mode=1ScanSetting LE Coded Scan mode=1 mLastConfiguredScanSettingLE1M=1 mLastConfiguredScanSettingLECoded=1scanPhy=255
  18. 06-03 13:23:37.680 17797 17809 D BtGatt.GattService: registerClient() - UUID=02b088fc-17ac-4f34-82c0-b15971016efc
  19. 06-03 13:23:37.682 17797 17953 I bt_stack: [INFO:gatt_api.cc(949)] GATT_Register91ec3274-48f1-cc7d-2198-514950275c1e
  20. 06-03 13:23:37.682 17797 17953 I bt_stack: [INFO:gatt_api.cc(969)] allocated gatt_if=10
  21. 06-03 13:23:37.682 17797 17883 D BtGatt.GattService: onClientRegistered() - UUID=02b088fc-17ac-4f34-82c0-b15971016efc, clientIf=10
  22. 06-03 13:23:37.683 21822 21836 D BluetoothGatt: onClientRegistered() - status=0 clientIf=10
  23. 06-03 13:23:37.684 17797 17809 D BtGatt.GattService: clientConnect() - address=28:EC:9A:96:5E:AE, isDirect=true, opportunistic=false, phy=1
  24. 06-03 13:23:37.685 17797 17883 D bt_btif_config: btif_get_address_type: Device [28:ec:9a:96:5e:ae] address type 0
  25. 06-03 13:23:37.685 17797 17883 D bt_btif_config: btif_get_device_type: Device [28:ec:9a:96:5e:ae] type 2
  26. 06-03 13:23:37.685 21822 21840 I godot : Connecting to device with address 28:EC:9A:96:5E:AE
  27. 06-03 13:23:37.685 21822 21840 I godot : [13:23:37] [DEBUG] Connecting to device with address 28:EC:9A:96:5E:AE
  28. 06-03 13:23:37.686 17797 17953 I bt_stack: [INFO:gatt_api.cc(1122)] GATT_Connectgatt_if=10 28:ec:9a:96:5e:ae
  29. 06-03 13:23:37.736 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  30. 06-03 13:23:37.785 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  31. 06-03 13:23:37.785 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  32. 06-03 13:23:37.786 17797 17953 W bt_btm : btm_acl_created hci_handle=21 link_role=0 transport=2
  33. 06-03 13:23:37.827 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  34. 06-03 13:23:37.858 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  35. 06-03 13:23:37.858 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  36. 06-03 13:23:37.867 11529 11529 D MediaController: updatePlayingState isPaused = true
  37. 06-03 13:23:37.903 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  38. 06-03 13:23:37.948 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  39. 06-03 13:23:37.948 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  40. 06-03 13:23:37.949 17797 17953 W bt_smp : smp_br_connect_callback is called on unexpected transport 2
  41. 06-03 13:23:37.949 17797 17953 W bt_btm : btm_read_remote_version_complete lmp_version 6 manufacturer 13 lmp_subversion 304
  42. 06-03 13:23:37.949 17797 17953 E bt_btif : bta_dm_acl_change new acl connetion:count = 1
  43. 06-03 13:23:37.949 17797 17953 W bt_btif : bta_dm_acl_change info: 0x0
  44. 06-03 13:23:37.949 17797 17953 W bt_l2cap: L2CA_SetDesireRole() new:x1, disallow_switch:0
  45. 06-03 13:23:37.950 17797 17883 D bt_btif_dm: remote version info [28:ec:9a:96:5e:ae]: 0, 0, 0
  46. 06-03 13:23:37.955 17797 17953 E bt_btif : bta_gattc_cache_load: can't open GATT cache file /data/misc/bluetooth/gatt_cache_ 28:ec:9a:96:5e:ae for reading, error: No such file or directory
  47. 06-03 13:23:37.956 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=1
  48. 06-03 13:23:35.304 2279 2837 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  49. 06-03 13:23:37.961 2279 2293 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  50. 06-03 13:23:37.964 2279 2293 D CompatibilityInfo: mCompatibilityFlags - 0
  51. 06-03 13:23:37.964 2279 2293 D CompatibilityInfo: applicationDensity - 461
  52. 06-03 13:23:37.964 2279 2293 D CompatibilityInfo: applicationScale - 1.0
  53. 06-03 13:23:37.966 17797 17883 D BtGatt.GattService: onConnected() - clientIf=10, connId=10, address=28:EC:9A:96:5E:AE
  54. 06-03 13:23:37.968 21822 21836 D BluetoothGatt: onClientConnectionState() - status=0 clientIf=10 device=28:EC:9A:96:5E:AE
  55. 06-03 13:23:37.969 21822 21836 D BluetoothGatt: discoverServices() - device: 28:EC:9A:96:5E:AE
  56. 06-03 13:23:37.970 17797 17809 D BtGatt.GattService: discoverServices() - address=28:EC:9A:96:5E:AE, connId=10
  57. 06-03 13:23:37.981 21822 21840 I godot : [13:23:37] [_on_connection_status_change] connected
  58. 06-03 13:23:37.981 21822 21840 D BluetoothGatt: discoverServices() - device: 28:EC:9A:96:5E:AE
  59. 06-03 13:23:37.982 17797 17809 D BtGatt.GattService: discoverServices() - address=28:EC:9A:96:5E:AE, connId=10
  60. 06-03 13:23:37.983 17797 17953 E bt_btif : bta_gattc_enqueue: already has a pending command!!
  61. 06-03 13:23:37.984 2279 3495 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  62. 06-03 13:23:38.003 2279 3495 D CompatibilityInfo: mCompatibilityFlags - 0
  63. 06-03 13:23:38.003 2279 3495 D CompatibilityInfo: applicationDensity - 461
  64. 06-03 13:23:38.003 2279 3495 D CompatibilityInfo: applicationScale - 1.0
  65. 06-03 13:23:38.006 2279 3441 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  66. 06-03 13:23:38.006 2279 3441 D CompatibilityInfo: mCompatibilityFlags - 0
  67. 06-03 13:23:38.006 2279 3441 D CompatibilityInfo: applicationDensity - 461
  68. 06-03 13:23:38.006 2279 3441 D CompatibilityInfo: applicationScale - 1.0
  69. 06-03 13:23:38.011 2279 3441 D CompatibilityInfo: mCompatibilityFlags - 0
  70. 06-03 13:23:38.011 2279 3441 D CompatibilityInfo: applicationDensity - 461
  71. 06-03 13:23:38.011 2279 3441 D CompatibilityInfo: applicationScale - 1.0
  72. 06-03 13:23:38.033 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  73. 06-03 13:23:38.038 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  74. 06-03 13:23:38.038 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  75. 06-03 13:23:38.039 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=3
  76. 06-03 13:23:38.079 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  77. 06-03 13:23:38.083 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  78. 06-03 13:23:38.083 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  79. 06-03 13:23:38.123 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  80. 06-03 13:23:38.128 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  81. 06-03 13:23:38.128 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  82. 06-03 13:23:38.130 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=4
  83. 06-03 13:23:38.132 11529 11529 D MediaController: updatePlayingState isPaused = true
  84. 06-03 13:23:38.139 10293 10293 I NearbyDiscovery: onAclChange: state=CONNECTED, device=XX:XX:XX:XX:5E:AE [CONTEXT service_id=49 ]
  85. 06-03 13:23:38.152 10293 17858 I NearbyDiscovery: FastPair: lock scan rate if needed, device=XX:XX:XX:XX:5E:AE, bondState=10 [CONTEXT service_id=49 ]
  86. 06-03 13:23:38.158 19662 19731 I BistoWorker: bluetoothConnectionStateChanged. Action: android.bluetooth.device.action.ACL_CONNECTED
  87. 06-03 13:23:38.169 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  88. 06-03 13:23:38.170 10293 20943 I NearbyDiscovery: FastPairBattery: No associated accountKey is found when query battery info, address:XX:XX:XX:XX:5E:AE [CONTEXT service_id=49 ]
  89. 06-03 13:23:38.173 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  90. 06-03 13:23:38.173 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  91. 06-03 13:23:38.213 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  92. 06-03 13:23:38.012 2279 3441 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  93. 06-03 13:23:38.215 2279 2335 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  94. 06-03 13:23:38.218 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  95. 06-03 13:23:38.218 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  96. 06-03 13:23:38.224 19662 19698 I BistoWorker: Failed to get bistoDeviceInfo 28:EC:9A:96:5E:AE
  97. 06-03 13:23:38.235 19662 19698 I DeviceDetector: Not bonded or not refresh cache.
  98. 06-03 13:23:38.259 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  99. 06-03 13:23:38.263 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  100. 06-03 13:23:38.263 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  101. 06-03 13:23:38.304 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  102. 06-03 13:23:38.308 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  103. 06-03 13:23:38.308 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  104. 06-03 13:23:38.349 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  105. 06-03 13:23:38.353 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  106. 06-03 13:23:38.353 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  107. 06-03 13:23:38.393 11529 11529 D MediaController: updatePlayingState isPaused = true
  108. 06-03 13:23:38.395 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  109. 06-03 13:23:38.403 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  110. 06-03 13:23:38.403 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  111. 06-03 13:23:38.404 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=3
  112. 06-03 13:23:38.404 17797 17883 D bt_btif_scanner: btif_gatts_upstreams_evt: Unhandled event (26)
  113. 06-03 13:23:38.404 17797 17883 I chatty : uid=1002(bluetooth) BT Service Call identical 4 lines
  114. 06-03 13:23:38.404 17797 17883 D bt_btif_scanner: btif_gatts_upstreams_evt: Unhandled event (26)
  115. 06-03 13:23:38.405 17797 17883 D BtGatt.GattService: onClientConnUpdate() - connId=10, status=0
  116. 06-03 13:23:38.406 21822 21836 D BluetoothGatt: onConnectionUpdated() - Device=28:EC:9A:96:5E:AE interval=6 latency=0 timeout=500 status=0
  117. 06-03 13:23:38.418 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=4
  118. 06-03 13:23:38.449 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=5
  119. 06-03 13:23:38.471 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=3
  120. 06-03 13:23:38.486 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=4
  121. 06-03 13:23:38.516 17797 17953 I bt_stack: [INFO:gatt_api.cc(634)] GATTC_Discover conn_id=10 disc_type=5
  122. 06-03 13:23:38.546 17797 17953 W bt_bta_gattc: bta_gattc_explore_srvc no more services found
  123. 06-03 13:23:38.547 17797 17883 E bt_btif_gattc: btif_gattc_upstreams_evt: Unhandled event (7)!
  124. 06-03 13:23:38.547 17797 17883 I chatty : uid=1002(bluetooth) BT Service Call identical 1 line
  125. 06-03 13:23:38.547 17797 17883 E bt_btif_gattc: btif_gattc_upstreams_evt: Unhandled event (7)!
  126. 06-03 13:23:38.547 17797 17883 D BtGatt.GattService: onSearchCompleted() - connId=10, status=0
  127. 06-03 13:23:38.551 17797 17883 D bt_bta_gattc: bta_gattc_get_gatt_db
  128. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: onGetGattDb() - address=28:EC:9A:96:5E:AE
  129. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got service with UUID=00001800-0000-1000-8000-00805f9b34fb id: 1
  130. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a00-0000-1000-8000-00805f9b34fb id: 3
  131. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a01-0000-1000-8000-00805f9b34fb id: 5
  132. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a02-0000-1000-8000-00805f9b34fb id: 7
  133. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a03-0000-1000-8000-00805f9b34fb id: 9
  134. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a04-0000-1000-8000-00805f9b34fb id: 11
  135. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got service with UUID=00001801-0000-1000-8000-00805f9b34fb id: 12
  136. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=00002a05-0000-1000-8000-00805f9b34fb id: 14
  137. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got descriptor with UUID=00002902-0000-1000-8000-00805f9b34fb id: 15
  138. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got service with UUID=0000ffe0-0000-1000-8000-00805f9b34fb id: 16
  139. 06-03 13:23:38.556 17797 17883 D BtGatt.GattService: got characteristic with UUID=0000ffe1-0000-1000-8000-00805f9b34fb id: 18
  140. 06-03 13:23:38.557 17797 17883 D BtGatt.GattService: got descriptor with UUID=00002902-0000-1000-8000-00805f9b34fb id: 19
  141. 06-03 13:23:38.557 17797 17883 D BtGatt.GattService: got descriptor with UUID=00002901-0000-1000-8000-00805f9b34fb id: 20
  142. 06-03 13:23:38.561 21822 21836 D BluetoothGatt: onSearchComplete() = Device=28:EC:9A:96:5E:AE Status=0
  143. 06-03 13:23:38.567 21822 21840 I godot : [13:23:38] [_on_characteristic_finding] processing
  144. 06-03 13:23:38.581 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a00-0000-1000-8000-00805f9b34fb, readable:True, real_mask:2, service_uuid:00001800-0000-1000-8000-00805f9b34fb, writable:False, writable_no_response:False}
  145. 06-03 13:23:38.582 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a01-0000-1000-8000-00805f9b34fb, readable:True, real_mask:2, service_uuid:00001800-0000-1000-8000-00805f9b34fb, writable:False, writable_no_response:False}
  146. 06-03 13:23:38.583 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a02-0000-1000-8000-00805f9b34fb, readable:True, real_mask:10, service_uuid:00001800-0000-1000-8000-00805f9b34fb, writable:True, writable_no_response:False}
  147. 06-03 13:23:38.584 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a03-0000-1000-8000-00805f9b34fb, readable:True, real_mask:10, service_uuid:00001800-0000-1000-8000-00805f9b34fb, writable:True, writable_no_response:False}
  148. 06-03 13:23:38.586 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a04-0000-1000-8000-00805f9b34fb, readable:True, real_mask:2, service_uuid:00001800-0000-1000-8000-00805f9b34fb, writable:False, writable_no_response:False}
  149. 06-03 13:23:38.588 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  150. 06-03 13:23:38.588 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:00002a05-0000-1000-8000-00805f9b34fb, readable:False, real_mask:32, service_uuid:00001801-0000-1000-8000-00805f9b34fb, writable:False, writable_no_response:False}
  151. 06-03 13:23:38.590 21822 21840 I godot : [13:23:38] [_on_characteristic_found] {characteristic_uuid:0000ffe1-0000-1000-8000-00805f9b34fb, readable:True, real_mask:22, service_uuid:0000ffe0-0000-1000-8000-00805f9b34fb, writable:False, writable_no_response:True}
  152. 06-03 13:23:38.591 21822 21840 I godot : [13:23:38] [_on_characteristic_finding] done
  153. --------- beginning of crash
  154. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: FATAL EXCEPTION: GLThread 4388
  155. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: Process: org.godotengine.btdemo, PID: 21822
  156. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.bluetooth.BluetoothGattCharacteristic android.bluetooth.BluetoothGattService.getCharacteristic(java.util.UUID)' on a null object reference
  157. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at com.example.godotbluetooth344.BluetoothManager.subscribeToCharacteristic(BluetoothManager.java:534)
  158. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at org.godotengine.godot.plugin.GodotPlugin.nativeEmitSignal(Native Method)
  159. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at org.godotengine.godot.plugin.GodotPlugin.lambda$emitSignal$0(GodotPlugin.java:380)
  160. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at org.godotengine.godot.plugin.GodotPlugin$$ExternalSyntheticLambda0.run(Unknown Source:6)
  161. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1500)
  162. 06-03 13:23:38.625 21822 21840 E AndroidRuntime: at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)
  163. 06-03 13:23:38.218 2279 2335 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  164. 06-03 13:23:38.641 2279 3495 W ActivityManager: Force finishing activity org.godotengine.btdemo/com.godot.game.GodotApp
  165. 06-03 13:23:38.643 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
  166. 06-03 13:23:38.643 693 17950 I [email protected]_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
  167. 06-03 13:23:38.645 17797 17883 D bt_btif_scanner: btif_gatts_upstreams_evt: Unhandled event (26)
  168. 06-03 13:23:38.645 17797 17883 I chatty : uid=1002(bluetooth) BT Service Call identical 4 lines
  169. 06-03 13:23:38.645 17797 17883 D bt_btif_scanner: btif_gatts_upstreams_evt: Unhandled event (26)
  170. 06-03 13:23:38.645 17797 17883 D BtGatt.GattService: onClientConnUpdate() - connId=10, status=0
  171. 06-03 13:23:38.646 21822 21836 D BluetoothGatt: onConnectionUpdated() - Device=28:EC:9A:96:5E:AE interval=30 latency=0 timeout=600 status=0
  172. 06-03 13:23:38.646 2789 15111 D Launcher: get showing item successandroid.graphics.Bitmap@a0b3033
  173. 06-03 13:23:38.649 2279 4427 I OpenGLRenderer: Initialized EGL, version 1.4
  174. 06-03 13:23:38.649 2279 4427 D OpenGLRenderer: Swap behavior 2
  175. 06-03 13:23:38.654 2279 3495 D ActivityTrigger: ActivityTrigger activityPauseTrigger
  176. 06-03 13:23:38.667 2279 2293 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x11 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
  177. 06-03 13:23:38.667 2279 2293 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x11 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
  178. 06-03 13:23:38.668 2279 2293 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  179. 06-03 13:23:38.671 11529 11529 D MediaController: updatePlayingState isPaused = true
  180. 06-03 13:23:38.682 21822 21840 I Process : Sending signal. PID: 21822 SIG: 9
  181. 06-03 13:23:38.683 693 17950 I [email protected]_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
  182. 06-03 13:23:38.687 2279 3441 D ActivityTrigger: activityResumeTrigger: The activity in ApplicationInfo{6f9cc18 com.miui.home} is now in focus and seems to be in full-screen mode
  183. 06-03 13:23:38.687 2279 3441 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/41201228
  184. 06-03 13:23:38.688 717 741 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
  185. 06-03 13:23:38.690 2279 3441 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  186. 06-03 13:23:38.693 2279 2401 D ActivityManagerServiceInjector: Begin to report package foreground events...
  187. 06-03 13:23:38.696 3260 3276 I ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10049, mForegroundPid=2789, mLastForegroundPackageName='org.godotengine.btdemo', mLastForegroundUid=10643, mLastForegroundPid=21822, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
  188. 06-03 13:23:38.696 3260 3276 I GameBoosterService: onForegroundInfoChanged: Cur=com.miui.home last=org.godotengine.btdemo
  189. 06-03 13:23:38.696 3260 3276 D GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10049, mForegroundPid=2789, mLastForegroundPackageName='org.godotengine.btdemo', mLastForegroundUid=10643, mLastForegroundPid=21822, mMultiWindowForegroundPackageName='null', mMultiWindowForegroundUid=-1, mFlags=0}
  190. 06-03 13:23:38.696 3260 3276 I GameBoosterService: onForegroundInfoChanged: Exit
  191. 06-03 13:23:38.706 2279 3441 I Timeline: Timeline: App_transition_ready time:42130098
  192. 06-03 13:23:38.708 2279 2837 D ActivityManager: report kill process: killerPid is:21822, killedPid is:21822
  193. 06-03 13:23:38.709 2279 2293 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  194. 06-03 13:23:38.709 2789 2789 D Launcher.Lifecycle: onStart:UserHandle{0},5030b5c,false
  195. 06-03 13:23:38.711 2480 2480 D StatusBar: recevie broadbcast ACTION_APPLICATION_MESSAGE_QUERY, requestFirstTime=false
  196. 06-03 13:23:38.711 2789 2993 I RenderThread: RenderThread resumed
  197. 06-03 13:23:38.712 2789 2993 I RenderThread: All controllers paused.
  198. 06-03 13:23:38.712 2789 2993 I RenderThread: RenderThread paused, waiting for signal
  199. 06-03 13:23:38.714 2789 2789 D Launcher.Lifecycle: onResume:UserHandle{0},5030b5c,false
  200. 06-03 13:23:38.714 2789 2890 D Launcher: disableStatusBarClock:false
  201. 06-03 13:23:38.714 2789 2789 D Launcher_DesktopWallpaperManager: adapterHomeToWallpaperAsync in launcher resume
  202. 06-03 13:23:38.714 2789 2993 I RenderThread: RenderThread resumed
  203. 06-03 13:23:38.714 2789 2789 D Launcher_DesktopWallpaperManager: adaptHomeToWallpaperAsync
  204. 06-03 13:23:38.714 2789 2993 I RenderThread: All controllers paused.
  205. 06-03 13:23:38.714 2789 2993 I RenderThread: RenderThread paused, waiting for signal
  206. 06-03 13:23:38.715 2789 2966 D Launcher_WallpaperManagerCompatVOMR1: getWallpaperColorMode, staticWallpaperColorMode=0
  207. 06-03 13:23:38.716 2789 2966 D Launcher_WallpaperManagerCompatVOMR1: getStatusBarColorMode, statusBarRect=Rect(0, 0 - 1080, 58)
  208. 06-03 13:23:38.723 2279 2289 I Timeline: Timeline: App_transition_ready time:42130116
  209. 06-03 13:23:38.729 2279 2355 W InputDispatcher: channel 'e6485b7 org.godotengine.btdemo/com.godot.game.GodotApp (server)' ~ Consumer closed input channel or an error occurred. events=0x9
  210. 06-03 13:23:38.729 2279 2355 E InputDispatcher: channel 'e6485b7 org.godotengine.btdemo/com.godot.game.GodotApp (server)' ~ Channel is unrecoverably broken and will be disposed!
  211. 06-03 13:23:38.730 751 9245 V AudioFlinger: 21822 died, releasing its sessions
  212. 06-03 13:23:38.731 17797 18251 D Avrcp_ext: AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:1000/2480 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
  213. 06-03 13:23:38.731 17797 18251 D Avrcp_ext: AudioManager Player: ID:15 -- type:android.media.SoundPool -- u/pid:1000/2279 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null
  214. 06-03 13:23:38.732 751 9245 V AudioFlinger: pid 2763 @ 0
  215. 06-03 13:23:38.732 751 9245 V AudioFlinger: pid 21822 @ 1
  216. 06-03 13:23:38.732 17797 17810 D BtGatt.GattService: Binder is dead - unregistering client (10)!
  217. 06-03 13:23:38.732 751 9245 V AudioFlinger: removing entry for pid 21822 session 2153
  218. 06-03 13:23:38.732 751 9245 V AudioFlinger: pid 751 @ 1
  219. 06-03 13:23:38.732 751 9245 V AudioFlinger: purging stale effects
  220. 06-03 13:23:38.732 751 9245 V AudioFlinger: session 2153 still exists for 751 with 1 refs
  221. 06-03 13:23:38.723 751 751 W Binder:751_5: type=1400 audit(0.0:25400): avc: denied { write } for name="logd" dev="tmpfs" ino=13951 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
  222. 06-03 13:23:38.734 17797 17810 D BtGatt.GattService: unregisterClient() - clientIf=10
  223. 06-03 13:23:38.734 17797 18251 D Avrcp_ext: AudioManager isPlaying: false, mA2dpState: 11, isMusiActive: true
  224. 06-03 13:23:38.735 17797 18251 V Avrcp_ext: updateCurrentMediaState: mMediaController: MediaController (com.google.android.videos@f8a14e8) null
  225. 06-03 13:23:38.735 17797 17953 I bt_stack: [INFO:gatt_api.cc(1225)] GATT_Disconnect conn_id=10
  226. 06-03 13:23:38.735 17797 17883 D BtGatt.GattService: onDisconnected() - clientIf=10, connId=10, address=28:EC:9A:96:5E:AE
  227. 06-03 13:23:38.735 17797 18251 V Avrcp_ext: isMusicActive: true getBluetoothPlayState: 1
  228. 06-03 13:23:38.735 17797 18251 V Avrcp_ext: updateCurrentMediaState: isPlaying = false
  229. 06-03 13:23:38.735 17797 17883 E BtGatt.ContextMap: Context not found for ID 10
  230. 06-03 13:23:38.736 17797 18251 D Avrcp_ext: updateCurrentMediaState: playState is null, mAudioManagerIsPlaying=false, isMusicActive=true
  231. 06-03 13:23:38.736 17797 18251 V Avrcp_ext: updateCurrentMediaState: get media attributes:
  232. 06-03 13:23:38.736 17797 18251 W Avrcp_ext: playState object null, sending STOPPED
  233. 06-03 13:23:38.737 1012 1012 I Zygote : Process 21822 exited due to signal (9)
  234. 06-03 13:23:38.737 2279 3512 I ActivityManager: Process org.godotengine.btdemo (pid 21822) has died: vis +99TOP
  235. 06-03 13:23:38.738 2279 2296 W libprocessgroup: kill(-21822, 9) failed: No such process
  236. 06-03 13:23:38.738 2279 2296 I libprocessgroup: Successfully killed process cgroup uid 10643 pid 21822 in 0ms
  237. 06-03 13:23:38.740 17797 18251 W Avrcp_ext: playState object null, sending STOPPED
  238. 06-03 13:23:38.740 17797 18251 I Avrcp_ext: Skipping update due to invalid playback state
  239. 06-03 13:23:38.740 17797 18251 V Avrcp_ext: updatePlaybackState, state: null device: null
  240. 06-03 13:23:38.740 17797 18251 V Avrcp_ext: Device: no name:
  241. 06-03 13:23:38.740 17797 18251 V Avrcp_ext: Device: no name:
  242. 06-03 13:23:38.740 17797 18251 V Avrcp_ext: updatePlayerStateAndPosition, old=PlaybackState {state=3, position=-1, buffered position=0, speed=1.0, updated=143016107, actions=0, custom actions=[], active item id=-1, error=null}, state=null
  243. 06-03 13:23:38.740 17797 18251 I Avrcp_ext: updatePlayerStateAndPosition: device: state = null
  244. 06-03 13:23:38.743 2279 2337 I Timeline: Timeline: App_transition_ready time:42130136
  245. 06-03 13:23:38.746 2279 2337 I Timeline: Timeline: App_transition_ready time:42130138
  246. 06-03 13:23:38.747 2279 3317 I WindowManager: WIN DEATH: Window{e6485b7 u0 org.godotengine.btdemo/com.godot.game.GodotApp}
  247. 06-03 13:23:38.747 2279 3317 W InputDispatcher: Attempted to unregister already unregistered input channel 'e6485b7 org.godotengine.btdemo/com.godot.game.GodotApp (server)'
  248. 06-03 13:23:38.750 2279 3317 I Timeline: Timeline: App_transition_ready time:42130142
  249. 06-03 13:23:38.766 2279 3512 I Timeline: Timeline: App_transition_ready time:42130159
  250. 06-03 13:23:38.773 2279 2337 I Timeline: Timeline: App_transition_ready time:42130166
  251. 06-03 13:23:38.777 2789 2789 D Launcher.Lifecycle: onWindowFocusChanged:true,UserHandle{0},5030b5c,false
  252. 06-03 13:23:38.780 2279 2337 I Timeline: Timeline: App_transition_ready time:42130173
  253. 06-03 13:23:38.781 2279 2337 I Timeline: Timeline: App_transition_stopped time:42130173
  254. 06-03 13:23:38.783 751 751 W AudioOut_D: type=1400 audit(0.0:25401): avc: denied { write } for name="logd" dev="tmpfs" ino=13951 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
  255. 06-03 13:23:38.798 2467 2467 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3204
  256. 06-03 13:23:38.799 2467 2467 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2100 checkRepeatedly = false, unlocked = true
  257. 06-03 13:23:38.799 2467 2467 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1903 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.miui.home fieldId=2131296290 fieldName=null extras=null}, false)
  258. 06-03 13:23:38.799 2467 2467 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2100 checkRepeatedly = true, unlocked = true
  259. 06-03 13:23:38.803 751 945 V AudioFlinger: removeClient_l() pid 21822, calling pid 751
  260. 06-03 13:23:38.803 751 927 V AudioFlinger: releasing 2153 from 751 for 751
  261. 06-03 13:23:38.803 751 927 V AudioFlinger: decremented refcount to 0
  262. 06-03 13:23:38.803 751 927 V AudioFlinger: purging stale effects
  263. 06-03 13:23:38.804 751 927 V AudioFlinger: removeClient_l() pid 751, calling pid 751
  264. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: stopOutput() output 13, stream 3, session 2153
  265. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: getNewOutputDevice() selected device 0
  266. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: setOutputDevice() device 0000 delayMs 96
  267. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: setOutputDevice() prevDevice 0x0002
  268. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: setOutputDevice() setting same device 0x0000 or null device
  269. 06-03 13:23:38.804 751 927 V AudioPolicyManagerCustom: checkOutputForStrategy(): policy related outputs
  270. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: selectOutputForMusicEffects selected output 13
  271. 06-03 13:23:38.804 751 927 V APM_AudioPolicyManager: releaseOutput() 13
  272. 06-03 13:23:38.805 2480 2480 D EventBus: [2480, u0] send(AppTransitionFinishedEvent)
  273. 06-03 13:23:38.805 2480 2480 D EventBus: [2480, u0] -> ForcedResizableInfoActivityController [0x5662382, P1] onBusEvent(AppTransitionFinishedEvent)
  274. 06-03 13:23:38.805 2480 2480 D EventBus: [2480, u0] onBusEvent(AppTransitionFinishedEvent) duration: 30 microseconds, avg: 2861
  275. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] send(AppTransitionFinishedEvent)
  276. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] -> ForcedResizableInfoActivityController [0x5662382, P1] onBusEvent(AppTransitionFinishedEvent)
  277. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] onBusEvent(AppTransitionFinishedEvent) duration: 24 microseconds, avg: 2860
  278. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] send(AppTransitionFinishedEvent)
  279. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] -> ForcedResizableInfoActivityController [0x5662382, P1] onBusEvent(AppTransitionFinishedEvent)
  280. 06-03 13:23:38.807 2480 2480 D EventBus: [2480, u0] onBusEvent(AppTransitionFinishedEvent) duration: 9 microseconds, avg: 2859
  281. 06-03 13:23:38.808 2279 3512 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  282. 06-03 13:23:38.811 2279 2301 W ActivityManager: setHasOverlayUi called on unknown pid: 21822
  283. 06-03 13:23:38.812 2789 2966 D Launcher_StaticWallpaper: current wallpaper is static wallpaper
  284. 06-03 13:23:38.814 2279 2335 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  285. 06-03 13:23:38.814 2279 2335 D CompatibilityInfo: mCompatibilityFlags - 0
  286. 06-03 13:23:38.814 2279 2335 D CompatibilityInfo: applicationDensity - 461
  287. 06-03 13:23:38.814 2279 2335 D CompatibilityInfo: applicationScale - 1.0
  288. 06-03 13:23:38.828 2279 2301 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{2a1bff5 u0 com.miui.home/.launcher.Launcher t1} time:42130221
  289. 06-03 13:23:38.851 2279 3512 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  290. 06-03 13:23:38.872 2789 2966 D Launcher_WallpaperManagerCompatVOMR1: getIsCurrentWallpaperScrollable, isCurrentWallpaperScrollable=false
  291. 06-03 13:23:38.873 2789 2789 D Launcher_DesktopWallpaperManager: adaptHomeToWallpaper, notify everyone
  292. 06-03 13:23:38.876 2480 2480 D IconCustomizer: Content Ratio = -1.0
  293. 06-03 13:23:38.879 2480 2480 D IconCustomizer: Generate customized icon for org.godotengine.btdemo.png
  294. 06-03 13:23:38.884 2480 2480 D StatusBar: disable disable2
  295. 06-03 13:23:38.884 2480 2480 D PhoneStatusBar/NavigationBarView: setDisabledFlags back:false home:false recent:false
  296. 06-03 13:23:38.894 2279 3317 D ActivityManager: Raise procstate to external provider: ProcessRecord{13bf055 10600:com.google.android.gms/u999a7}
  297. 06-03 13:23:38.895 2279 3317 D CompatibilityInfo: mCompatibilityFlags - 0
  298. 06-03 13:23:38.895 2279 3317 D CompatibilityInfo: applicationDensity - 461
  299. 06-03 13:23:38.895 2279 3317 D CompatibilityInfo: applicationScale - 1.0
  300. 06-03 13:23:38.923 11529 11529 D MediaController: updatePlayingState isPaused = true
  301. 06-03 13:23:39.018 2789 2964 D Launcher_WallpaperManagerCompatVOMR1: getGadgetAreaColorMode, static wallpaper, rect=Rect(40, 126 - 1040, 822), colorMode=0
  302. 06-03 13:23:39.018 2789 2964 D Launcher_DesktopWallpaperManager: updateGadgetColorByWallpaperInner, gadget(GadgetInfo, id=735, itemType=5, user=UserHandle{0}, mCategoryId=2, title=Часы, screenId=1, container=-100, cellX=0, cellY=0, spanX=5, spanY=2, isLandscapePos=false), rect=Rect(40, 126 - 1040, 822), colorMode=0
  303. 06-03 13:23:39.076 2789 2789 E Launcher: changeViewByFsGestureState, view=FitSystemWindowView, alpha=1.0, scale=1.0
  304. 06-03 13:23:39.076 2789 2789 E Launcher: changeViewByFsGestureState, view=ShortcutMenuLayer, alpha=1.0, scale=1.0
  305. 06-03 13:23:39.165 2279 2288 I system_server: NativeAlloc concurrent copying GC freed 64192(3MB) AllocSpace objects, 10(416KB) LOS objects, 36% free, 41MB/65MB, paused 294us total 203.021ms
  306. 06-03 13:23:39.191 11529 11529 D MediaController: updatePlayingState isPaused = true
  307. 06-03 13:23:39.242 17797 18251 V Avrcp_ext: AvrcpMessageHandler: received message=30
  308. 06-03 13:23:39.244 17797 18251 V Avrcp_ext: updateCurrentMediaState: mMediaController: MediaController (com.google.android.videos@f8a14e8) null
  309. 06-03 13:23:39.245 17797 18251 V Avrcp_ext: isMusicActive: false getBluetoothPlayState: 1
  310. 06-03 13:23:39.245 17797 18251 V Avrcp_ext: updateCurrentMediaState: isPlaying = false
  311. 06-03 13:23:39.247 17797 18251 D Avrcp_ext: updateCurrentMediaState: playState is null, mAudioManagerIsPlaying=false, isMusicActive=false
  312. 06-03 13:23:39.248 17797 18251 V Avrcp_ext: updateCurrentMediaState: get media attributes:
  313. 06-03 13:23:39.252 17797 18251 V Avrcp_ext: Media update: id -1➡-1? [MediaAttributes: none] : [MediaAttributes: none]
  314. 06-03 13:23:39.252 17797 18251 V Avrcp_ext: newPlayStatus:2mReportedPlayStatus:-1
  315. 06-03 13:23:39.252 17797 18251 V Avrcp_ext: updatePlaybackState, state: PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143032628, actions=0, custom actions=[], active item id=-1, error=null} device: null
  316. 06-03 13:23:39.252 17797 18251 V Avrcp_ext: Device: no name:
  317. 06-03 13:23:39.252 17797 18251 V Avrcp_ext: Device: no name:
  318. 06-03 13:23:39.253 17797 18251 V Avrcp_ext: updatePlayerStateAndPosition, old=PlaybackState {state=3, position=-1, buffered position=0, speed=1.0, updated=143016107, actions=0, custom actions=[], active item id=-1, error=null}, state=PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143032628, actions=0, custom actions=[], active item id=-1, error=null}
  319. 06-03 13:23:39.253 17797 18251 V Avrcp_ext: old state = PlaybackState {state=3, position=-1, buffered position=0, speed=1.0, updated=143016107, actions=0, custom actions=[], active item id=-1, error=null}, new state= PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143032628, actions=0, custom actions=[], active item id=-1, error=null}
  320. 06-03 13:23:39.256 17797 18251 I Avrcp_ext: updatePlayStatusForDevice: device: null
  321. 06-03 13:23:39.256 17797 18251 V Avrcp_ext: updatePlaybackState (1): old=PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143012386, actions=0, custom actions=[], active item id=-1, error=null}(2), new=PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143032628, actions=0, custom actions=[], active item id=-1, error=null}(2)
  322. 06-03 13:23:39.256 17797 18251 I Avrcp_ext: Exit updatePlayStatusForDevice
  323. 06-03 13:23:39.258 17797 18251 I Avrcp_ext: updatePlayStatusForDevice: device: null
  324. 06-03 13:23:39.258 17797 18251 V Avrcp_ext: updatePlaybackState (1): old=PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143012386, actions=0, custom actions=[], active item id=-1, error=null}(2), new=PlaybackState {state=2, position=-1, buffered position=0, speed=0.0, updated=143032628, actions=0, custom actions=[], active item id=-1, error=null}(2)
  325. 06-03 13:23:39.258 17797 18251 I Avrcp_ext: Exit updatePlayStatusForDevice
  326. 06-03 13:23:39.258 17797 18251 D Avrcp_ext: Enter sendPlayPosNotificationRsp
  327. 06-03 13:23:39.258 17797 18251 D Avrcp_ext: sendPlayPosNotificationRsp: Not registered or requesting.
  328. 06-03 13:23:39.258 17797 18251 D Avrcp_ext: Enter sendPlayPosNotificationRsp
  329. 06-03 13:23:39.258 17797 18251 D Avrcp_ext: sendPlayPosNotificationRsp: Not registered or requesting.
  330. 06-03 13:23:39.258 17797 18251 V Avrcp_ext: Exit updatePlayerStateAndPosition
  331. 06-03 13:23:39.258 17797 18251 V Avrcp_ext: Exit handleMessage

Is there any chance you can fix it? Thanks.

ManufacturerData

Hi, can you advise on how to read the full BLE advert - including ManufacturerData - please?

thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.