Zend certified PHP/Magento developer

How to send commands to a set of headphones via USB?

I recently bought the Edifier W820NB Plus headphones, and they’re great. However, there’s one major problem: the software.

The only software these headphones have is the Android Edifier app (which tracks you and is full of bloatware BTW). But I also want to use these headphones for my PC. Since my PC doesn’t have Bluetooth, I decided to connect the headphones via USB-C.

There is only one issue: By default, the button on the side of the headphones can only switch between noise cancellation on and ambient sound; there is no way to just turn off noise cancellation. You can change that in the Edifier app, but as soon as you connect the headphones to power, this setting resets. And, since there isn’t any official Edifier app for PC, I’m unable to use these headphones without noise cancellation (or ambient sound mode).

Is there any script/command that would allow me to turn off noise cancellation via USB-C, or maybe there is a way to prevent the reset of an option that adds the ability to turn off noise cancellation via the button? I tried doing it myself, but since I’m not a programmer, I just don’t know how.