Well, was easy, just added the following line before sending to the serial:
call UartAMPacket.setSource(msg, call RadioAMPacket.source(msg));
Cheers,
Alban
2007/8/7, Alban Hessler <[EMAIL PROTECTED]>:
>
>
> Hi,
>
> I have just upgraded to tinyOS 2.0.2, and noticed used BaseStation with
> the new compiler flags (i.e. NO_RECOGNITION, etc..)
>
> I have the problem that now on the Java side (or listen side), the source
> and destination seems incorrect. For example, when a packet is broadcasted,
> the source is also the broacast address (FFFF). For unicast, I didn't find
> the logic yet, but it seems at least partially incorrect. (Specially the
> source field),
>
> I know that there was some trouble with the source field a few months ago.
> Did the problem come back with the update?
>
> Am I the only one to have this trouble?
>
> Best regards,
>
> Alban
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help