You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run bumble-bench between an ubuntu host and an Android Device (using the BTBench app)
What I'm doing,
Android device
# Build and install BTBench
# Start in RFCOMM server mode
adb shell am start -n com.github.google.bumble.btbench/.MainActivity --es autostart rfcomm-server
Ubuntu Host
# $USB is the BT transport
# D4:3A:2C:53:29:BC is the BT address of the Android device that I got from the device's About page
python3 apps/bench.py --mode rfcomm-client --packet-count 100 central --peripheral D4:3A:2C:53:29:BC/P $USB
Android requires an encrypted connection for RFComm sockets to be connected.
There are several ways to enable encryption:
1/ temporarily, by using the --encrypt option for the central command.
2/ more permanently, by pairing. You can use the bumble-pair with the --mode classic option to pair with the Android phone. The pairing key will be stored in the default key store (location is platform-dependent, the logs, when DEBUG logging is enabled, will show the path of the JSON file where the pairing keys are stored).
I am trying to run bumble-bench between an ubuntu host and an Android Device (using the BTBench app)
What I'm doing,
Android device
Ubuntu Host
Output
I'm not entirely sure what "reason=5" is.
Any idea what I maybe doing wrong?
The text was updated successfully, but these errors were encountered: