[Tinyos-help] Question about nx_structs in C

Philip Levis pal at cs.stanford.edu
Wed Jul 2 08:59:03 PDT 2008


On May 27, 2008, at 12:27 PM, Ashik Manandhar wrote:

> Hi,
>
> I am currently using TinyOS 1.1, and am using the serial forwarder  
> program to forward messages from my motes to a specific C file.  I  
> want get data from these messages since they are a known message  
> type, but I don't know how to incorporate this nx_struct into my C  
> code.  Does anyone know how to this, or if there is another dynamic  
> way to do this?

Please read the TinyOS programming manual. While a lot of the  
component stuff is for T2, the nx_struct text should be helpful for 1.x.

Phil


More information about the Tinyos-help mailing list