packet.prependBytes(PREAMBLE);
packet.appendBytes(crc);
byte[] data = packet.getBytes();
System.out.println("Should send packet to radio!!!! " + packet.getTotalLength());
// Stuff to send to radio!!!
TimeEvent te = new TimeEvent(0) {
public void execute(long t) {
System.out.println("CC2420: Packet to send: ");
byte[] buffer = sendPacket.getBytes();
for (int i = 0; i < buffer.length; i++) {
System.out.print(Utils.hex8(buffer[i]));