Are you using the mig/java tools?  If not, I recommend that approach
as it automatically generates most of the things you need.  For an
example, see tinyos-1.x/contrib/ucb/apps/Pong

-Joe

On 2/20/06, Rick <[EMAIL PROTECTED]> wrote:
>
> Hello!
>
> I'm trying to generate TOS packets and send them to a TelosB. I *think*
> I've got the Telos programmed to accept messages - I'm sending them from
> the Telos OK.
>
> Now, what goes in the packet that's sent? I've got the "type" field to match
> the declaration on the Telos, but I'm not sure what the address field should
> be. I've tried TOS_UART_ADDR (0x007e, 0x7d 0x5e 0x00 in byte stream)
> and I've tried TOS_BCAST_ADDR (0xffff) and neither of them work.
>
> Any suggestions?
>
> Thanks,
>
> Rick
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to