Hi Amzig,
The delay function you have mentioned is a blocking delay. I want a non-blocking delay function.
I am describing the exact problem I have faced. I am using the MC1319X_XBEE target. My XBee module is supposed to receive two data packets at a time and transmit them with slight modification.But as soon as it tries to send the first received packet, it looses the 2nd packet, since there is no Collision Sense in SMAC.So, I want to put a non-blocking delay in between the two receptions.As soon as it receives the first packet, it will enter the delay state.Then, as soon as it will receive the 2nd packet, it will be interrupted in the middle of the delay and the 2nd packet will be received. So we have to Enable Interrupts within the delay function.
But, I have already used the delay function you have mentioned about. It is not solving my purpose.
Can you help me in this regard?
Thanking You,
Mou