Dear Erik,
 Yeah I see that you'v changed the title.
 I am following that page now for a while, Actually I am trying to work this in 
.NET, I installed TestSerial on a TelosB and made a custom .NET application to 
read packets, What I receive now is:
 Packet #4:
 7E 45 00 3F 3F 00 00 02 00 3F 00 04 65 74 7E
 Packet #3:
 7E 45 00 3F 3F 00 00 02 00 3F 00 03 3F 04 7E
 Packet #2:
 7E 45 00 3F 3F 00 00 02 00 3F 00 02 3F 14 7E
 Packet #1:
 7E 45 00 3F 3F 00 00 02 00 3F 00 01 3F 24 7E
 I can clearly see the counter is increasing fro 00 01 and up. So I guess my 
TinyOS .NET serial reader works good (if you can confirm the received packet is 
in OK shape).
 Next, TestSerial App, tells that if it receives a packet it will set the LED's 
on mote according to the counter. So again using my .NET program I fed in the 
same packets that I was receiving (writing to serial port). But notthing 
happens.
 I am really struggeling with sending correct packet from serial port to a mote 
:(

 If someone just let me know only 1 correct formated packet that can make a LED 
on a mote that is running TestSerial app, I promise I can go to the end 
myself!! I almost spend a month making this (An yes I want to make an open 
source .NET implementation of SerialForwarde/MessageReader)
 Also would you kindly tell me what is 'AM_TEST_SERIAL_MSG = 0x89' in Serial 
app, and what is it doing inside bracket in the implementation like this: 
App.Receive -> AM.Receive[AM_TEST_SERIAL_MSG];
 Please advice!
 Regards,
 Sean.
----- Original Message -----
From: Eric Decker
Sent: 10/21/12 01:15 AM
To: Sean Dekker
Subject: Re: [Tinyos-help] Mote-PC guide on tinyos.net site problem


 On Sat, Oct 20, 2012 at 3:48 PM, Sean Dekker < [email protected] > wrote:
Hi all,

 I am following the guide in http://tinyos.net  about serial communication. In 
the title it indicates that this guide is pre-T2.1.1 "Mote-PC serial 
communication and SerialForwarder (pre-T2.1.1)" Does this mean the guide is 
outdated? 

 I saw that. Not sure who did it. Not sure why.

 Well I just went back and looked at the history and I did it. ahhhh. mea 
culpa. Not sure what I was thinking. Seems like I started to change something 
and got distracted. Something about differentiating serial comm and serial 
forwarder stuff.

 I've changed it back. If I ever remember what I was doing maybe I'll fix it 
then.
I mean does everything in this guide works with tinyos 2.1.2 ? I am asking this 
because I can not get some certain part of guide to work...maybe its outdated?!

 thanks for the tweak.
Looking forward for your replies!

 Thanks,
 Sean.

 _______________________________________________
 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