Are all messages starting with F0 sysexmessages?
Here is by the way how javascript handling it, i think it take it in hex also.
Bankchange message for Korg N364 anyone?
message = [240, 126, 127, 6, 1, 247]; // device ID request
outputPort = midi.outputs.get(portID);
outputPort.send(message);