trans.insertProbe(new Medium.Probe.Empty() {
public void fireBeforeTransmit(Medium.Transmitter t, byte val) {
handleTransmit(val);
}
});
fsm.insertProbe(new Probe() {
public void fireBeforeTransition(int arg0, int arg1) {
}
public void fireAfterTransition(int arg0, int arg1) {
//System.out.println("CC2420 - MicaZ FSM: " + arg0 + " " + arg1);
RadioEvent re = null;