Open danielle-h opened 2 years ago
From previous experience in Raspberry Pi, attempting to talk to the Bluetooth port /dev/ttyAMA0 as if is was a USB port /dev/ttyACM* can result in this type of crash. Perhaps it's connected?
@danielle-h : Thanks for reporting the issue. This library (Java version) is supposed to connect Aroma Shooter via USB only. You are trying to connect via Bluetooth?
No. I am trying to connecting to another device via Bluetooth while Aroma Shooter is connected via USB. This is impossible as connecting the Aroma Shooter (using USB) crashes Bluetooth on a Raspberry Pi.
Once connection was made to an Aroma Shooter, the Bluetooth becomes inoperative with error "Operation already in progress". Only a reboot restores the Bluetooth (until next Aroma Shooter connection).
Using Raspberry pi running Linux 10 (buster).
output of java -version:
Using Bleak and Python 3.7.3 to connect to Bluetooth device.
To reproduce: Python code to discover devices vi ble:
Java code to connect to Aroma Shooter: (error occurs after running this script regardless of whether saw aroma shooter or not, see issue #3 )
Steps to reproduce:
Any help would be most appreciated, as I require analysis of Bluetooth data in order to trigger the Aroma Shooter in my system.