In general it should work out of the box: I tried it with my Sony WH-1000XM2 and it worked fine. Maybe one hint: headphones normaly only connect to one source. So I needed to disconnect the headphones from my iPhone and then put in visible mode again.
Then moode-bt -> scan device, moode-bt-> pair device , moode-bt-> connect device and finally moode-bt -> switch mdp from local to bt
Another hint: I have disabled the volume during my S/PDIF connection to the speakers.So when switching to BT, the volume control switch to software back and is down to zero and needed to be increased to hear something.
Then moode-bt -> scan device, moode-bt-> pair device , moode-bt-> connect device and finally moode-bt -> switch mdp from local to bt
Another hint: I have disabled the volume during my S/PDIF connection to the speakers.So when switching to BT, the volume control switch to software back and is down to zero and needed to be increased to hear something.