H9 supports Bluetooth for H9 Control connection but it doesn't support Bluetooth MIDI. It can receive MIDI messages wirelessly if you set up correctly in H9 Control but it cannot send out MIDI messages wirelessly.
H9 can transmi MIDI PC messages only when you switch presets. You cannot have the H9 do nothing but only send out MIDI. Sorry, H9 is a pedal but not a MIDI controller.