Dual Boot: Changing the MAC Address of the Bluetooth Adapter in Linux only

Sometimes – I know, it’s like smoking – I still need to use Windows 11, so I have configured dual boot. But copying the keys for all the bluetooth devices is really exhausting. So I thought about just changing the Bluetooth MAC address for Linux, so the devices will see Linux and Windows as different devices.

Do you have an idea how that would work in Fedora? I tried this, but as you can see, no success:

office@OFFICE:~$ sudo hciconfig hci0 down
office@OFFICE:~$ sudo bluemoon --help
bluemoon - Bluemoon configuration utility
Usage:
        bluemoon [options]
Options:
        -A, --bdaddr [addr]    Set Bluetooth address
        -F, --firmware [file]  Load firmware
        -C, --check <file>     Check firmware image
        -R, --reset            Reset controller
        -B, --coldboot         Cold boot controller
        -E, --exception        Trigger exception
        -i, --index <num>      Use specified controller
        -h, --help             Show help options
office@OFFICE:~$ sudo bluemoon -A 2C:98:11:04:B3:D3
Invalid command line parameters
office@OFFICE:~$ sudo bluemoon -A "2C:98:11:04:B3:D3"
Invalid command line parameters
office@OFFICE:~$ sudo bluemoon -A "2C981104B3D3"
Invalid command line parameters

You might find some ideas in GitHub - Shadowinfinitywarrior/Bluetooth_spoofing-and-sniffing