You have basically done it already. Your example sender code sends 8 bytes, 0x00.. 0x07 so just change that to send 0x00 or 0x01. You can still send 8 bytes, but only the first one is important.
Your receiver code receives the message so just add some code to check the data it receives. If the first byte, e.g. data[0] is 0x00 then turn the led off, it is is 0x01 then turn it on.