[Tinyos-help] Receiving serial messages from the PC

Giri Baleri mbaleri at xbow.com
Tue Jul 3 13:13:54 PDT 2007


Hyperterminal is meant more for sending ASCII characters. I don't think
it handles binary/hex packets well. 
You might want to consider using XServe/XServeTerm (available with
MoteWorks installer) to send commands to the nodes in the network. This
is what MoteView uses to actuate LEDs, adjust data rates etc.
More info can be availed from XServe User's manual below.
http://www.xbow.com/Support/Support_pdf_files/XServe_Users_Manual.pdf
 
Giri

________________________________

From: tinyos-help-bounces at Millennium.Berkeley.EDU
[mailto:tinyos-help-bounces at Millennium.Berkeley.EDU] On Behalf Of basma
tantawi
Sent: Tuesday, July 03, 2007 5:22 AM
To: Tinyos-help at Millennium.Berkeley.EDU
Subject: [Tinyos-help] Receiving serial messages from the PC


hi,

We want to use the UART module in mica2  to receive data from the PC. We
used the hyperterminal to send to the mote but Leds don't toggle when
receiving from serial as we adjust them. Is the problem in the
HyperTerminal? should we use another program? what is the length of data
we should send in case not using a message_t structure? , further more
how can we receive data from the UART module and put it an a variable
and override the message_t methods.......? 

thanks in advance 

regards,
Basma


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20070703/c6a50478/attachment.html


More information about the Tinyos-help mailing list