In TOS1.x the OscilloscopeRF and SenseToRfm demo apps send ADC readings
over the radio. TOSBase is used at the PC receiving end to forward the
messages through the UART into the host PC. Oscope has a host side display
program, or you can use the tools/java/net/tinyos/tools/Listen.java program
to peek at the messages themselves. You shouldn't have to fiddle with
any code to get this working and they provide a reasonable basis for
your own development.
You should also read through the doc/tutorial where most of this is covered.
MS
Ruoshui Liu wrote:
Dear all,
Currently, I have implemented a single transmission link containing one
transmitter and one receiver. What I want to do next is to use the PC or
laptop to read the received raw data from the receiver over the UART
channel. I know I have to plug the receiver to the programming board
acting as the basestation, and I think the start point is probably to
modify the TOSBase. However, there are many other functions included in
the TOSBase application. What I want to do is just the simple job to
send the raw data back to the PC via UART. Could anyone tell me how to
simplify this? I mean what is the core part or key function I should use
in order to read the raw data. Thank you very much!
Best regards,
Ruoshui Liu
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help