I saw that even if implementing CCA to my application it lacks retry upon CRC failure. How to make transmitter CC430f6137 transmit again on CRC error received on the receiver CC1110 side.
Need help here. :\
Hi rahul,
if you use SimpliciTI then you have 2 options:
You send the messages with Smpl_SendOpt(linkid, msg, len, SMPL_TXOPTION_ACKREQ) then the transmitter waits for an ACK message by the receiver. If the receiver does not receive the packet properly (CRC) then your transmitter can see this by the return value SMPL_NO_ACK and can simply send again.
or
The CRC is evaluated in the Radio Interrupt Code in the mrfi_radio.c file. You could set a flag that the receiver checks and requests another message if the crc fails.
Thanks,
I have used an exmaple code "RF_Toggle_LED_Demo" project and kept on enhancing it. The SimpliciTI was heavy on CC430f6137's RAM with compile time error for space for more than 32 EDs.
The SimpliciTI way will be a two way communication, which I want to avoid for the time being. If its automatic one like CCA then I'll be interested in that. I have to avoid the Tx (Rx-Tx-CCA) then be in Rx mode for receiving ACK in sense of time given in making the code flow etc. I'll also have to set RF settings for timeouts. Kind of over work in less time.
But if there is no other way ... that will be an only way out. :|