Hi, Thanks a lot. I have downloaded the C implementation. Regards, Apoorva.
On Wed, Jun 22, 2011 at 3:26 AM, Romain Bornet <[email protected]>wrote: > Hi, > > You can find the intermediate C code generated by the nesC compiler if > you build an application using CTP. After you compiled the application > you will find an "app.c" source file in the build/<platform> > subdirectory. This is the generated C code... > > Let's say for example that you build the MultihopOscilloscope in the > apps directory for the micaz: > > $ cd $TOSROOT/apps/MultihopOscilloscope > $ make micaz > > The generated C code is in > $TOSROOT/apps/MultihopOscilloscope/build/micaz/app.c > > You will see that the generated code is rather difficult to read and > follow but you can find CTP related function rather easily. > > If you are looking for other CTP implementations more easily portable > in plain C have a look at: http://sing.stanford.edu/gnawali/ctp/ > > Hope this helps > Romain > > On Wed, Jun 22, 2011 at 1:00 AM, Apoorva Gade <[email protected]> > wrote: > > Hi, > > I am working on a project where i should implement the Collection Tree > > Protocol for routing in sensor networks in C. Since it is already > > implemented in tinyOS, is there a way to get the intermediate C code > > generated by the nesc compiler? Else i should do it manually which seems > to > > be quite complicated. I am new to tinyOS. Any help would be greatly > > appreciated. > > > > > > Thanks in advance. > > > > Apoorva. > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
