Hi,

I am sending a packet of SimpleCmdMsg using GenericComm component's
SendMsg interface.

Wiring is BaseStationM.SendtoRfm -> GenericComm.SendMsg[AM_SIMPLECMDMSG];
Here, BasestationM is my component.

typedef struct SimpleCmdMsg {
    uint16_t seqno;
    uint8_t action;
    uint16_t source;
    uint16_t val[10];
    uint16_t parent;
    uint16_t volt;

} SimpleCmdMsg;

Do I need to modify AM_SIMPLECMDMSG = 29 in SimpleCmdMsg.h ? If so, every
time I modify my packet structure, I need to change AM_SIMPLECMDMSG.

I am really stuck at this point. Any help or document on this will be
appreciated.

Thanks.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to