Hello -
I've been toying with Holtek encoders/decoders and Linx rf Tx/Rx modules for a short, low data rate, half-duplex rf link. I wish to transmit several bytes of data every several seconds or so. The encoder/decoder can only transmit/receive one byte at a time. However, my data are more than a byte long, so I break up the data into several bytes on the Tx side and send it to the encoder for transmission - easy stuff. However, on the Rx side, these data bytes come in with no guaranteed order whatsoever, of course. So here is my question(s): 1) Can anyone suggest encoders/decoders that can handle multi-byte data and don't cost an arm and a leg (the Holteks are just over US$5/pair if you buy one pair only - quite reasonable). 2) If I must stay with single byte packets, any neat tricks to suggest for sending and reassembling the packets? I have Microchip micros on both sides of the link. Bytes to be sent are sent in parallel to the Holtek encoder, which then sends them on serially to the Linx Tx module. On the Rx side, the decoder gets the byte serially from the Linx rf receiver and sets a "valid data" pin high when data is ready for the micro to digest it.
Should I send "marker" bytes followed by the data byte and then reassemble/reorder the marker bytes to reconstruct the data bytes in order? What do people normally do in this case..... ?
Thanks very much for pointers! Bill