Control OnePlus Buds Pro 3 from Windows using Bluetooth Classic RFCOMM.
This is a small Python script for changing ANC modes, Sound Master EQ presets, BassWave settings, and reading battery information without opening the HeyMelody app.
Prefer a graphical app? Check out the .NET (WPF) version with a full UI, live state sync and wear detection: oneplus_buds3_pro_dotnet
- ANC on/off/transparency
- ANC levels: High, Moderate, Low, Auto
- Sound Master EQ presets
- Custom 6-band EQ profile creation
- BassWave on/off and level control
- Battery levels
- Persistent session mode, so multiple commands reuse the same Bluetooth connection
- Windows
- Python 3.10 or newer
- OnePlus Buds Pro 3 paired with Windows over Bluetooth
No external Python dependencies are required. The script uses native Windows Bluetooth sockets.
You can pass the earbuds MAC address explicitly:
python op_buds3_pro.py XX:XX:XX:XX:XX:XX ancIf no MAC is passed, the script uses DEFAULT_MAC from op_buds3_pro.py:
python op_buds3_pro.py ancThe default RFCOMM channel is 15.
For normal use, session mode is the most convenient option. It opens the Bluetooth connection once and reuses it for each command.
python op_buds3_pro.py sessionOr with an explicit MAC:
python op_buds3_pro.py XX:XX:XX:XX:XX:XX sessionExample:
buds> anc
Done: ANC On
buds> low
Done: ANC Low
buds> bold
Done: EQ Bold
buds> basswave 3
Done: BassWave +3
buds> battery
Done: Left earbud: 80% | Right earbud: 75% | Case: 60%
buds> quit
Connection closed.
python op_buds3_pro.py anc
python op_buds3_pro.py off
python op_buds3_pro.py trans
python op_buds3_pro.py high
python op_buds3_pro.py mid
python op_buds3_pro.py low
python op_buds3_pro.py autoSession examples:
buds> anc
buds> trans
buds> auto
python op_buds3_pro.py balanced
python op_buds3_pro.py bold
python op_buds3_pro.py serenade
python op_buds3_pro.py bass
python op_buds3_pro.py dynaudioSession examples:
buds> balanced
buds> bold
buds> dynaudio
Turn BassWave on or off:
python op_buds3_pro.py basswave on
python op_buds3_pro.py basswave offSet BassWave level from -5 to +5:
python op_buds3_pro.py basswave 3
python op_buds3_pro.py basswave -2When setting a numeric level, the script enables BassWave first and then sends the level packet.
Session examples:
buds> basswave on
buds> basswave 3
buds> basswave off
Custom EQ uses six bands:
| Band | Frequency |
|---|---|
| 1 | 62 Hz |
| 2 | 250 Hz |
| 3 | 1000 Hz |
| 4 | 4000 Hz |
| 5 | 8000 Hz |
| 6 | 16000 Hz |
Each gain value is clamped to -6..+6 dB.
python op_buds3_pro.py customeq Rock 4 2 0 1 3 2Session example:
buds> customeq Rock 4 2 0 1 3 2
python op_buds3_pro.py batterySession examples:
buds> battery
Most Buds Pro 3 command traffic uses RFCOMM channel 15. For single commands,
you can pass another channel as the last argument:
python op_buds3_pro.py anc 17For session mode:
python op_buds3_pro.py session 17This project is unofficial and reverse engineered. It is not affiliated with OnePlus, Oppo, or HeyMelody.
Created by Nico with help from AI-assisted coding tools.