This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Simple tool to switch the Creative BT-W5 Bluetooth Audio dongle between AptX Adaptive **Low Latency** or **High Quality** mode. | |
# Of course, only works with Bluetooth headphones that support AptX Adaptive, such as the Tranya X3 | |
# Reverse engineered based on communication between Creative's desktop app for Windows and the BT-W5. | |
# Might also accidentally overwrite other settings as a whole config data array is sent without taking into account the existing config. | |
# | |
# Usage: sudo ./btw5-switch.py ll (for low-latency mode) | |
# sudo ./btw5-switch.py hq (for high-quality mode) | |
# |