BT crashes on connecting to BT device
Hello: I have 2 test apps I have tried, and they both seem to have the same issue.
Device: Raspberry Pi 4 8GB
BLE device: CC2650 Sensor Tag
Scanning works, but then after I call:
- scanResult.device.connectGatt(application, true, gattCallback)
I've also run the Apps on Samsung Tab3 Active Pro running Android 11 without issue.
I see the following in the logs (I've attached files for the full copy of the log error from both test apps)
packages/modules/Bluetooth/system/gd/hci/le_address_manager.cc:514 OnCommandComplete: Received command complete with op_code LE_REMOVE_DEVICE_FROM_FILTER_ACCEPT_LIST
2023-02-12 19:26:51.576 5263-5488 bluetooth pid-5263 A assertion 'op_code == OpCode::NONE' failed - Received COMMAND_COMPLETE event with OpCode 0x2016 (LE_READ_REMOTE_FEATURES) without a waiting command(is the HAL sending commands, but not handling the events?)
2023-02-12 19:26:51.576 5263-5488 libc pid-5263 A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 5488 (bt_stack_manage), pid 5263 (droid.bluetooth)
2023-02-12 19:26:51.673 6709-6709 crash_dump64 pid-6709 I obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2023-02-12 19:26:51.674 246-246 tombstoned pid-246 I received crash request for pid 5488