Raw HID command problem

I'm trying to send some commands via BlueSMiRF HID module.

I can send this...

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x80);
Serial.write(0x00);

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x00);
Serial.write(0x00);

...which is a play/pause command, and works perfect.

I'm having problems when the HEX value is 5 digits instead of 4.

For example - here's a HID track forward command.

This presses the key:

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x100);
Serial.write(0x00);

And this signals the key release:

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x00);
Serial.write(0x00);

The paired device (galaxy s3 or iphone, tried both) doesn't seem to see the 0x100 command.

According to the BlueSMiRF documentation, this is the format to send a HID raw report:

0xFD 3bytes 0x3 Byte1 Byte 2

And give and example using the following:

0xFD 0x3 0x3

Any idea what to do?

The paired device (galaxy s3 or iphone, tried both) doesn't seem to see the 0x100 command.

Because it doesn't see 0x100, it sees 0x00, I'm guessing.

AWOL:

The paired device (galaxy s3 or iphone, tried both) doesn't seem to see the 0x100 command.

Because it doesn't see 0x100, it sees 0x00, I'm guessing.

Serial.write() - Arduino Reference

OK, how do I get it to see 0x100?

OK, how do I get it to see 0x100?

0x100 is outside the range of a byte - 0x00 to 0xFF.

PaulS:

OK, how do I get it to see 0x100?

0x100 is outside the range of a byte - 0x00 to 0xFF.

Hmm. Here's the list of Hex codes in the manual:

Any idea how I would send the commands that are outside the byte range? I'm admittedly a newb...

Update - Got it!

Instead of:

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x100);
Serial.write(0x00);

It ended up being:

Serial.write(0xFD);
Serial.write(0x03);
Serial.write(0x03);
Serial.write(0x00);
Serial.write(0x01);

Thanks to all who replied.