Hi Hafid, The base station's serial is not fast enough for the incoming packets. Try the 115200L baudrate. You also have to connect to your mote on the PC with serial@/dev/tty0:115200
Best, Miklos On Sat, Jul 23, 2011 at 10:14 AM, hafid oussaadi <oussaadiha...@live.com> wrote: > Hi Miklos, >>Try running at half the speed (8.7 KHz) to see if that works. Your >>Basestation also needs to be special, use the one we have on our >>website (it needs 125 kbps UART and a fastserial library). > Yes, you are right, I eliminated the red led blinking problem by increasing > the sampling period in MicreadStreamTestC.nc : line 76 .I downloaded the > BaseStation from > http://szte-wsn.svn.sourceforge.net/viewvc/szte-wsn/tinyos-2.x/trunk/apps/BaseStation/ and > the FastSerial library from > http://szte-wsn.svn.sourceforge.net/viewvc/szte-wsn/tinyos-2.x/trunk/tos/lib/FastSerial/. > However, when I compiled your BaseStation app for IRIS mote, I got an error > apparently because of this option in its Makefile : CFLAGS += > -DPLATFORM_BAUDRATE=230400L. > when I removed this line everything went fine but the yellow led in MIB520 > was blinking which means queue overflow (serial transmission too slow) and > loss packet percentage in the java application side was about 20%.So what > was wrong ? > Regards, > Hafid > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help