Program sending Packet for Transceiver

Thread Starter

Socheara

Joined Mar 17, 2008
9
Dear All!

How are you guy doing?? i got other question to let you guy help me with lol:p

I want to program my transceiver to send a packet with the contain of the raw string. i using C to do the program. if anyone can help it will be very helpful to me. Below i had include my Packet structure.

Preamble : 3bytes
Start : 1 bytes ready for transmission
Destination add :1 bytes
Source add: 1 bytes
Length : 1 bytes Legth of payload in bytes
Payload : 0 to 255 bytes Actual data
checksum : 1 byte make sure the data not corrupt


Thank a lot.
Hope to hear from you all.
Regard
Socheara
 

Mark44

Joined Nov 26, 2007
628
Socheara,
Your problem description is pretty vague. All you have given us is the structure for a struct that your code will send.

Before the transceiver sends a packet, it will need to do some setup tasks to wake up the receiver, find out if the receiver is ready to receive a packet, and communicate with the receiver about the format of the packet, just to name a few things. Then the transceiver has to send the packet, and receive some sort of confirmation that the receiver got the packet. In short, we need some more information.
 
Top