Re: [Tinyos-help] PoolP: get(),put() and free

2008-01-25 Thread Nue Noi
PROTECTED] wrote: On Jan 24, 2008, at 5:05 AM, Nue Noi wrote: Hi, I don't really get the idea of using get() and put() function offered by the Pool interface. For example, if I want to put something to the Pool without calling get() at the first place, put() will return FAIL. Yes

[Tinyos-help] PoolP: get(),put() and free

2008-01-24 Thread Nue Noi
Hi, I don't really get the idea of using get() and put() function offered by the Pool interface. For example, if I want to put something to the Pool without calling get() at the first place, put() will return FAIL. In init(), free is defined as size. Does this mean the initial state the Pool is

Re: [Tinyos-help] PoolP: get(),put() and free

2008-01-24 Thread Nue Noi
should be able to, for example, read(index), delete(index). It's not really a replacement of TinyAlloc from T1. Nuenoi On Jan 24, 2008 6:09 PM, Omprakash Gnawali [EMAIL PROTECTED] wrote: On Jan 24, 2008 5:05 AM, Nue Noi [EMAIL PROTECTED] wrote: Hi, I don't really get the idea of using get

Re: [Tinyos-help] tos-bsl error under Cygwin/T2

2008-01-21 Thread Nue Noi
the file is under Deluge someplace so I just built that. You are using T2 so the path is different. Perhaps look in tos/lib/tosboot and see if there is a Makefile. Otherwise a top level make might do it. MS Nue Noi wrote: I guess it doesn't exist. What did you rebuild? Nuenoi On Jan 17

[Tinyos-help] frequency hopping and energy consumed by TelosB

2008-01-21 Thread Nue Noi
Hi, Does anybody know how much energy is consumed by tuning the radio channel? I've read some papers about frequency hopping. I'm wondering if this technique is really reasonable to do in WSNs or too expensive. Thanks in advance. Nuenoi ___ Tinyos-help

[Tinyos-help] tos-bsl error under Cygwin/T2

2008-01-17 Thread Nue Noi
Hi, I have a problem with tos-bsl under Cygwin. I installed T2 by checking out the CVS repository and installed rpm packages. Everything else works fine (TOSSIM, java, ..). I could compile every platform. When I do make telosb reinstall, it gives me this error $ make telosb reinstall cp

Re: [Tinyos-help] tos-bsl error under Cygwin/T2

2008-01-17 Thread Nue Noi
I guess it doesn't exist. What did you rebuild? Nuenoi On Jan 17, 2008 7:28 PM, Michael Schippling [EMAIL PROTECTED] wrote: well, does that tosboot file exist? I found when installing Boomerang that it was bad or missing and fixed it by rebuilding it. MS Nue Noi wrote: Hi, I have

[Tinyos-help] Tossim2: display sent packets

2007-11-19 Thread Nue Noi
Hi, I'm wondering if we can display sent packets in TOSSIM (tinyos2.0). I'm more familiar with TOSSIM in TinyOS1.x. So basically we did export DBG=am in order to see sent packets. How can we do something like this in Tossim 2? One more question to the tutorial lesson 11, I've tried to inject a

[Tinyos-help] never get ACK from BMAC (CC2420)

2006-07-24 Thread Nue Noi
Hi all,I wonder why I never get an acknowledgement from BMAC. Am I doing something wrong here?Below is how I use it with the application OscilloscopeRF (telosB, tinyos 1.1.15).in Oscilloscope.nc components Main, OscilloscopeM , TimerC , LedsC , CC2420RadioC , GenericComm as Comm;

[Tinyos-help] Send a big packet or split into multiple packets?

2006-05-11 Thread Nue Noi
Hi all,There have been a lot of discussions on the packet size we should use (esp. on IEEE 802.15.4 compliant platforms).We all know that the maximum packet size we could use is 128 bytes and normally what we have as a defult packet size is 28 bytes for IEEE 802.15.4. But I couldn't find a clear

[Tinyos-help] Is WMEWMA from A.Woo fully implemented in MintRoute?

2006-03-27 Thread Nue Noi
Hi,I have a question about MintRoute protocol.I have read the paper from A.Woo. I couldn't find a similar formulardescribed in the paper, especially the factor alpha. I went throughthe codes in /tos/lib/MintRoute many times but I couldn't find where this alpha is used. I am doubtful that the alpha

Re: [Tinyos-help] GDB in TOSSIM

2005-11-23 Thread Nue Noi
Hi Phil, Sorry that I gave a wrong trace. I never used gdb before. This is the stack trace: Program received signal SIGSEGV, Segmentation fault. 0x7c809f64 in KERNEL32!IsBadWritePtr () from /cygdrive/c/WINDOWS/system32/kernel32.dll (gdb) where #0 0x7c809f64 in KERNEL32!IsBadWritePtr () from

[Tinyos-help] GDB in TOSSIM

2005-11-21 Thread Nue Noi
Hi all, I'm trying to use GDB in TOSSIM. I followed the instruction in the tutorial lesson 5. For some application, e.g. Blink, GDB works fine. But for many applications, it doesn't work at all. [EMAIL PROTECTED] /opt/tinyos-1.x/apps/CntToLedsAndRfm $ export DBG=usr1,am,led [EMAIL PROTECTED]