Re: [Tinyos-help] tos-bsl problem

2013-03-27 Thread Dang Thi Hai Ha
One thing I did when I ran into this kind of exception: reset the mote. Then everything just worked. Hope this helps. Best, Ha. On Wed, Mar 27, 2013 at 10:48 AM, mjmohiud...@cdac.in wrote: Iam getting the tos-bsl problem whenever iam installing Blink program on telosb mote... MSP430

Re: [Tinyos-help] Check if a packet is being received after a given time.

2013-03-26 Thread Dang Thi Hai Ha
Hi, You are right about using a boolean and an additional timer (let's call them isReceived and CheckerTimer respectively). CheckerTimer should have half the duration when you want to check the receive() event. The first time CheckerTimer is fired will serve to switch the value of isReceived to

Re: [Tinyos-help] rpm not found

2013-03-04 Thread Dang Thi Hai Ha
Hope this help: http://www.inets.rwth-aachen.de/fileadmin/download/HOWTO_install_TinyOS2_on_Windows.pdf Ha. On Mon, Mar 4, 2013 at 5:28 PM, kh sabrine sabrine...@gmail.com wrote: Hello, I will use Telosb platform, so i will install TinyOS. I have Windows 7 (32 byte) as a OS , I tried a

Re: [Tinyos-help] mviz

2013-02-18 Thread Dang Thi Hai Ha
Hello, It seems that you have not compile the support java. Go to the folder /opt/tinyos-2.1.0/support/sdk/java/ then run make to compile those java classes then check back with your mviz thing. Good luck! Ha. On Mon, Feb 18, 2013 at 5:13 PM, meriam merioum...@yahoo.com wrote: hello, i

Re: [Tinyos-help] mviz

2013-02-18 Thread Dang Thi Hai Ha
problem i hope !! the window is closed so fast that i can't see any thing! any help will be precious thank you in advance :) -- *From:* Dang Thi Hai Ha [via TinyOS - Help] [hidden email]http://user/SendEmail.jtp?type=nodenode=22624i=0 *To:* meriam [hidden email

Re: [Tinyos-help] example Oscilloscope

2013-02-12 Thread Dang Thi Hai Ha
Hi, My answer is written inline below: /* Data received from mote nodeId containing NREADINGS samples from messageId * NREADINGS onwards. Tell parent if this is a new node. */ void update(int nodeId, int messageId, int readings[]) { if (nodeId = nodes.length) {

Re: [Tinyos-help] example Oscilloscope

2013-02-12 Thread Dang Thi Hai Ha
if (nodeId = newLength) { newLength = nodeId + 1; } This is to treat the case when node.length = 0. That seems like a rather convoluted (unclear) way of checking for 0. Why don't you simply check for node.length == 0? That was my initial guess. Maybe it

Re: [Tinyos-help] example Oscilloscope

2013-02-12 Thread Dang Thi Hai Ha
]; System.arraycopy(nodes, 0, newNodes, 0, nodes.length); nodes = newNodes; } .. best regads Antonio -- *Da:* Eric Decker cire...@gmail.com *A:* Dang Thi Hai Ha hris2...@gmail.com *Cc:* Antonio daita...@yahoo.it; tinyos forum tinyos-help

Re: [Tinyos-help] printf error

2013-01-16 Thread Dang Thi Hai Ha
00 1C 00 1C How do i read these values? Thank you in-advance! On Tue, Jan 15, 2013 at 4:22 PM, Dang Thi Hai Ha hris2...@gmail.comwrote: I may suggest you to reset your mote, re-install the programme on your mote and retry with the serial listenning... HH. On Tue, Jan 15, 2013 at 2:36

Re: [Tinyos-help] printf error

2013-01-15 Thread Dang Thi Hai Ha
I may suggest you to reset your mote, re-install the programme on your mote and retry with the serial listenning... HH. On Tue, Jan 15, 2013 at 2:36 PM, Sarah John Mwariti saraah1...@gmail.comwrote: Tried running it ober and over again...this what i am receiving serial@/dev/ttyUSB0:115200:

Re: [Tinyos-help] Help reg. 'make pc' error and Tinyviz

2012-12-06 Thread Dang Thi Hai Ha
Hi there, I never work with tinyviz so I can't say what problem you are facing. But I found this: http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg26142.html Hope you can find a solution for you from the link, or you can write directly to the person (named Amina Diarbakirli)

Re: [Tinyos-help] Help reg. 'make pc' error and Tinyviz

2012-12-05 Thread Dang Thi Hai Ha
Hi, The error message clearly stated what you've done wrong. 1. For make command, it should not be make pc but make target with the list of target indicated in the error message, in your case, they are: *Valid targets: all clean epic eyesIFX eyesIFXv1 eyesIFXv2 intelmote2 iris mica2

Re: [Tinyos-help] Modify printfClient.java to write to a file

2012-11-30 Thread Dang Thi Hai Ha
Are you sure you looked at the right folder where the file supposed to be created ? Ha. On Wed, Nov 21, 2012 at 3:31 PM, adnan mahfouz adna...@yahoo.com wrote: Hi I modified the printfClient.java file to write the content of the buffer to file instead of the screen. I compiled and I have

Re: [Tinyos-help] [Need help] Shimmer sensor: weird Bluetooth behavior or I am guilty

2012-11-28 Thread Dang Thi Hai Ha
Hi, Thanks Mike pour your reply. As a sanity check I've just tested the Bluetooth test app that you point to, built with the latest TinyOS main tree from googlecode, and connecting to it using minicom, and it works as expected for me. That's why I said it's weird that it does not work for

Re: [Tinyos-help] [Need help] Shimmer sensor: weird Bluetooth behavior or I am guilty

2012-11-28 Thread Dang Thi Hai Ha
://tinyprod.net/repos/debian/) Mike On Wed, Nov 28, 2012 at 10:47 AM, Dang Thi Hai Ha hris2...@gmail.comwrote: Hi, On Wed, Nov 28, 2012 at 11:36 AM, mike healy mikeghe...@gmail.comwrote: Hi, From your last mail I get the impression that you used the Shimmer Windows Bootstrap Loader Windows

[Tinyos-help] [Need help] Shimmer sensor: weird Bluetooth behavior or I am guilty

2012-11-27 Thread Dang Thi Hai Ha
Hi all, I've been trying to test the Bluetooth connection with my shimmer mote but I failed to make it run the Bluetooth test program downloaded from http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/swtest/Bluetooth/ . My steps (on Ubuntu 12.04): 1. Download and