I am trying to send messages from within a program I am writing and all
indications within the program are that the messages are sending ok, but
they never show up at the base station.  Below is where I am requesting the
message be sent (using GENERIC_COMM).  The code within the if statement runs
and I also recieve the SUB_MSG_SEND_DONE event.  I am using generic_base to
listen for the messages and not hearing anything (no leds and nothing within
the java listening program on the pc).

if
(TOS_CALL_COMMAND(XC_SUB_SEND_MSG)(TOS_BCAST_ADDR,AM_MSG(xc_msg),&VAR(msg)[V
AR(curr)])){
        VAR(curr)++;
        VAR(curr) &= 1;
        printf("initial message sent");
        TOS_CALL_COMMAND(XC_LEDy_off)();
}

Things that I've already checked are:
1) generic_base is recieving msgs from sens_to_rfm
2) the actual mote I'm trying to transmit with succesfully transmits when
running sens_to_rfm (I've also tried two different motes)
3) i think I have all the latest versions off the cvs tree

Does anybody have any ideas as to what might be going wrong here?
Thanks,
Neal

-----------------
Neal Tanner
[EMAIL PROTECTED]
-----------------

Reply via email to