Hii Zipel, I am an absolute beginner to Tinyos Programming but I think the following may be of use to you :)
The HPLUART interface in T1 used to contain functions like put() get() and putDone() right ?? The SerialByteComm interface in tos/lib/serial contains the very same functions ...... I hope I was of any help :) Aravind. zipel hauzen wrote: > > Hi folks, > I have recently upgraded to T2, and have a porting issue. > > Back in T1, I used to use the HPLUART for a simple printing in to the > UART, > so that I was able to see values in the applications such as hyperterminal > (by simply running the tmote and hooking up the hyperterminal to the > corresponding COM.) > > The main function that I used was *UART.put(uint8_t data)*, which is > defined > in /opt/tinyos-1.x/tos/platform/msp430/*HPLUARTM.nc* (of course linked > with > which is wired with opt/tinyos-1.x/tos/platform/telos/*HPLUARTC.nc* and > opt/tinyos-1.x/tos/interface/*HPLUART.nc*) > > This function was called in applications such as *T**estSimpleM.nc* > located > in /opt/tinyos-1.x/apps/TestUart/*TestUartSimpleM.nc* > > However with the new T2 environment, it is not trivial to find this sort > of > functionality. I understand that T2 supports multiple ways of interacting > the motes with PC via SerialForwarder and java net.tinyos.tools.Listen, > but > I still think that simple UART flushing is a lot simpler and faster for > data > collection as well as debugging. > > If anyone has any idea about this, please enlighten me. > > Thanks > > Zipel > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- View this message in context: http://old.nabble.com/HPLUART-in-Tinyos1.x-equivalent-of-Tinyos-2.x-tp24386744p33316156.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
