2 #include "cc1110-ext.h"
4 char __xdata at 0xfe00 packet[256] ;
6 //! Transmit a packet out of the radio from 0xFE00.
8 unsigned char len=packet[0], i=0;
9 RFST=RFST_STX; //Begin transmit.
11 while(RFTXRXIF); //Wait for byte to be ready.
13 RFTXRXIF=0; //Clear the flag.
14 RFD=packet[i++]; //Send the next byte.
16 RFST = RFST_SIDLE; //End transmit.