Nope can't do it.

Data coming from the BaseStation program is a binary framed protocol.   So
using a serial program like Putty which expects displayable bytes won't
work.

You can write a simple program that dumps out the hex data.

If you had gone through the tutorials (which is what is encouraged and what
most people do when starting out with TinyOS) you would have discovered

Tutorial 1.4 
(TinyOS_Tutorials<http://docs.tinyos.net/tinywiki/index.php/TinyOS_Tutorials>)
(1.4 
Mote-PC_serial_communication<http://docs.tinyos.net/tinywiki/index.php/Mote-PC_serial_communication_and_SerialForwarder>
)

and TEP 113 (Serial
Communications<http://www.tinyos.net/tinyos-2.x/doc/html/tep113.html>)
which talks explicitly about Active Messaging and the frame format that is
used.   This is the binary protocol used by default on the Radio and Serial
stacks.   Unless one is using BLIP (6lowpan) but that is a whole 'nutter
can of worms.   If you don't understand what I'm talking about there then
please go find an introductory networking class and learn the basic
concepts.


I don't know what you googled but when I googled "tinyos serial format" the
1st hit pointed me at TEP 113.


Please go back and do your homework.

I don't mind answering questions and helping out but you should have been
able to figure this one out.

Yes I agree that the state of the documentation and learning TinyOS could
be improved significantly.


On Thu, Oct 4, 2012 at 12:34 PM, Kumar, Vimal (S&T-Student) <
[email protected]> wrote:

>  Hi,
>
>  I was wondering if it was possible to use putty instead of Listen to get
> data from the BaseStation program. I tried using it but all I could receive
> was junk. Is it even possible? If yes then how and if not then why not. I
> tried googling it but could not find anything on it. Any help will be
> appreciated.
>
>
>  Thanks
> -vimal
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to