Re: [Tinyos-help] Hi Xiaohui Liu

2014-02-19 Thread Xiaohui Liu
Hi Sulaiman, You can use $TOSDIR/chips/msp430/timer/AlarmMicro16C.nc. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ On Sun, Feb 9, 2014 at 12:04 PM, Sulaiman Rais sulaimanr...@yahoo.comwrote: I am having same trouble finding Microsecond timer for telosb. i have to send

Re: [Tinyos-help] Snooping does not works

2014-02-18 Thread Xiaohui Liu
Hi Faisal, What platform are you using? Have you disabled address recognition, which is the default in cc2420 stack? One simply way is CFLAGS+=-DCC2420_NO_ADDRESS_RECOGNITION Hope this helps. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ On Tue, Feb 4, 2014 at 9:07 AM, Faisal

Re: [Tinyos-help] Calculate time taken for a function execution.

2013-12-19 Thread Xiaohui Liu
Hi everyone, AFAIK, TOSSIM does not simulate execution time. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ On Sat, Dec 7, 2013 at 8:23 PM, Eric Decker cire...@gmail.com wrote: you probably should also use LocalTimeMicroC for better resolution. I don't know how that behaves

Re: [Tinyos-help] Timer not fired

2013-11-02 Thread Xiaohui Liu
Hi, By log I mean a serial message sent from a mote to a PC. I'm using telosb and T2.1.1. Log fails because of a bug in my code. Sent from my iPhone On Nov 1, 2013, at 6:15 PM, Eric Decker cire...@gmail.com wrote: On Fri, Nov 1, 2013 at 2:00 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi

Re: [Tinyos-help] Timer not fired

2013-11-01 Thread Xiaohui Liu
-help -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Synchronization Precision with Ftsp using 32Khz timer

2013-10-28 Thread Xiaohui Liu
://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] What is DCO?

2013-05-12 Thread Xiaohui Liu
! http://www.google.co.kr/#newwindow=1sclient=psy-abq=dco+msp430+datasheetoq=dco+msp430+datasheetgs_l=hp.3...5186.6707.1.6864.10.10.0.0.0.0.138.930.6j3.9.0...0.0...1c.1.12.psy-ab.ITpRwb2Ld9Ipbx=1bav=on.2,or.r_qf.bvm=bv.46340616,d.aGcfp=c76d164efb6c1041biw=1177bih=775 2013/5/11 Xiaohui Liu xiao

Re: [Tinyos-help] What is DCO?

2013-05-12 Thread Xiaohui Liu
/w) being tweaked to be pretty stable. All the above is written assuming a 5438a On Sun, May 12, 2013 at 1:31 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, Thanks for the reply. If quartz crystal oscillator is used, it mostly does not drift more than 40 ppm. What about DCO's frequency

[Tinyos-help] What is DCO?

2013-05-10 Thread Xiaohui Liu
Hi everyone, One of the clock sources in TelosB is digitally-controlled oscillator (DCO). How does it work? How does it compare to RC oscillator and MHz quartz crystal oscillator, in terms of expense, accuracy, stability and etc.? Thanks. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu

[Tinyos-help] does shadow fading change if obstacles are fixed?

2013-03-25 Thread Xiaohui Liu
. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] signal attenuation depends on tx power?

2013-03-23 Thread Xiaohui Liu
across different radios, especially the lower levels, which they were poorly mapped. Best!! Sergio On Fri, Mar 22, 2013 at 9:33 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, Does signal attenuation depend on transmission power? Based on my limited knowledge of physics

[Tinyos-help] signal attenuation depends on tx power?

2013-03-22 Thread Xiaohui Liu
? How large is the typical variation if any? Look forward to your explanation. Thanks in advance. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https

Re: [Tinyos-help] SRFOFF and SRXON strobes necessary to switch channel

2013-03-04 Thread Xiaohui Liu
periods after changing the channel either way -- there's no way you to get around that. It's just physics. That's how PLLs behave. Janos On Sun, Mar 3, 2013 at 5:17 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, In CC2420 stack, channel switch can done through * CC2420ControlP

[Tinyos-help] SRFOFF and SRXON strobes necessary to switch channel

2013-03-03 Thread Xiaohui Liu
(); ** writeMdmctrl0(); ** writeId(); ** call CSN.set(); ** call CSN.clr(); ** call SRXON.strobe(); ** call CSN.set(); ** call SyncResource.release(); ** post syncDone(); ** }* Can anyone please give me some hint why SRFOFF and SRXON strobes are necessary here? Thanks. -- -Xiaohui Liu TelosB TinyOS 2.1.2

[Tinyos-help] Alarm fire before expiration

2013-02-25 Thread Xiaohui Liu
, fired() event should be signaled no later than *d0 + dt*. So the above phenomena should not occur. Can anyone please give me a hint? -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] bug to set default tx power in CC2420X stack

2013-02-19 Thread Xiaohui Liu
Hi everyone, There is a bug when you set default tx power for CC2420X stack. A quick fix is posted herehttp://xiaohuiliucuriosity.blogspot.com/2013/02/bug-to-set-tx-power-in-cc2420x-stack.htmlin case anyone else experiences it. Janos will commit it later. -- -Xiaohui Liu TelosB TinyOS 2.1.2

[Tinyos-help] CC2420X stack crash

2013-01-14 Thread Xiaohui Liu
, don't know if they are related. No node crashes if CC2420 stack is used. Does anyone encounter this problem using CC2420X? Please do not hesitate to share any thought. Thank you. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help

Re: [Tinyos-help] CC2420X stack crash

2013-01-14 Thread Xiaohui Liu
be more than happy to take a look at it. Janos On Mon, Jan 14, 2013 at 11:22 AM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, I'm using CC2420X stack to deliver unicast traffic over 100 links. Every sender transmits with a period of 100 ms. Around 10% of the nodes crash within 3

Re: [Tinyos-help] Msp430AlarmC not connected compilation error

2013-01-08 Thread Xiaohui Liu
instead. Janos On Mon, Jan 7, 2013 at 10:07 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, In the configuration: * components new Alarm32khz32C() as SlotTimer;* * Forwarder.SlotTimer - SlotTimer;* In the implementation module: *interface AlarmT32khz, uint32_t as SlotTimer

[Tinyos-help] CFLAGS vs PFLAGS

2013-01-07 Thread Xiaohui Liu
-td21537.html#a31485775 . Thanks in advance. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Msp430AlarmC not connected compilation error

2013-01-07 Thread Xiaohui Liu
if ftsp (i.e., TimeSyncMicroC) is included and disappears without compilation error if no ftsp is included. Hope this helps. Thanks in advance. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-31 Thread Xiaohui Liu
Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] cannot compile after upgrade to TinyOS 2.1.2 on MaC OS X Snow Leopard

2012-12-27 Thread Xiaohui Liu
for your reply. -Xiaohui On Wed, Dec 26, 2012 at 6:24 PM, Eric Decker cire...@gmail.com wrote: You need to get the current msp430-gcc available on macports. It is 4.6.3 On Wed, Dec 26, 2012 at 1:28 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, After I upgraded from TinyOS 2.1.1

Re: [Tinyos-help] cannot compile after upgrade to TinyOS 2.1.2 on MaC OS X Snow Leopard

2012-12-27 Thread Xiaohui Liu
Hi, The error vanishes after: sudo port install msp430-libc Hope this is complete for archive purpose. -Xiaohui On Thu, Dec 27, 2012 at 11:25 AM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, I upgraded msp430-gcc it to 4.6.3 and got the *two source files specified* compilation error witnessed

[Tinyos-help] cannot compile after upgrade to TinyOS 2.1.2 on MaC OS X Snow Leopard

2012-12-26 Thread Xiaohui Liu
the upgrade? Thanks in advance. -- -Xiaohui Liu TelosB OS X 10.6.8 TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-10 Thread Xiaohui Liu
Hi Janos, I'm porting my protocol from cc2420 to cc2420x. Is there any documentation on cc2420x besides the source code? Thanks. -Xiaohui On Wed, Dec 5, 2012 at 6:26 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, Once again, thanks very much for your prompt answer. How to use FTSP, 32khz

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-05 Thread Xiaohui Liu
is inside *Tasklet.run() {}*. (3) What is keyword *spi_atomic*? I'll be truly grateful if you could have me understand these questions. -Xiaohui On Tue, Dec 4, 2012 at 2:00 PM, Janos Sallai sal...@isis.vanderbilt.eduwrote: transmission -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-05 Thread Xiaohui Liu
Hi, Once again, thanks very much for your prompt answer. How to use FTSP, 32khz and microsecond precision, with CC2420X stack? Just make telosb cc2420x[_32khz]? -Xiaohui On Wed, Dec 5, 2012 at 6:14 PM, Janos Sallai sal...@isis.vanderbilt.eduwrote: Tasklet -- -Xiaohui Liu TelosB TinyOS

Re: [Tinyos-help] FW: when does CC2420 radio drop a frame?

2012-12-04 Thread Xiaohui Liu
the address recognition. Is there any other case that CC2420 discards a frame, at the hardware level? Thanks in advance. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-03 Thread Xiaohui Liu
, Xiaohui Liu xiao...@wayne.edu wrote: Xiaohui -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-03 Thread Xiaohui Liu
: FALSE -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu/ ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-03 Thread Xiaohui Liu
efficient to take a timestamp when issuing STXON and adjust it with a constant TX_SFD_DELAY than servicing an SFD interrupt. Janos On Mon, Dec 3, 2012 at 4:10 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, Thanks for clarifying the reception timestamping. Why is *TX_SFD_DELAY* accounted

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-03 Thread Xiaohui Liu
Hi, Another question: STXON is strobed when header is loaded in TXFIFO, while the payload is loaded later. Why is there no second STXON strobe to transmit the payload? Thanks for your patience. -Xiaohui On Mon, Dec 3, 2012 at 9:44 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi Janos, I see

[Tinyos-help] when does CC2420 radio drop a frame?

2012-12-03 Thread Xiaohui Liu
Hi everyone, If address recognition is enabled, the CC2420 radio hardware will drop any incoming frame failing the address recognition. Is there any other case that CC2420 discards a frame, at the hardware level? Thanks in advance. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-12-02 Thread Xiaohui Liu
? That question is related to the cc2420 stack, so I can't answer this. I more than happy to answer questions related to the cc2420x stack, though. Janos On Thu, Nov 15, 2012 at 2:12 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, So essentially, ftsp only works with cc2420x stack, not cc2420

[Tinyos-help] attempt to fix the timestamp bug in the default CC2420 radio stack

2012-12-01 Thread Xiaohui Liu
help will be sincerely appreciated. BTW, timestamping is only one small part of my protocol, which changes the default CC2420 stack extensively, thus switching to CC2420*X* stack is not a viable option for me. -- -Xiaohui Liu TelosB TinyOS 2.1.2 www.cs.wayne.edu/xliu

[Tinyos-help] large regression computation error in FTSP

2012-11-26 Thread Xiaohui Liu
will be sincerely appreciated. Best regards, -Xiaohui Liu TinyOS 2.1.2 TelosB ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] large regression computation error in FTSP

2012-11-26 Thread Xiaohui Liu
Hi Marcin, Thanks for your prompt reply. It turns out I'm using msp430-gcc 4.6.3, which works for you. Any other suggestion on what may go wrong? -Xiaohui Liu On Mon, Nov 26, 2012 at 10:24 PM, Marcin Szczodrak mar...@ieee.org wrote: Hi Xiaohui, I was digging this for a while and found

Re: [Tinyos-help] large regression computation error in FTSP

2012-11-26 Thread Xiaohui Liu
to try cc2420x. On Mon, Nov 26, 2012 at 10:33 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi Marcin, Thanks for your prompt reply. It turns out I'm using msp430-gcc 4.6.3, which works for you. Any other suggestion on what may go wrong? -Xiaohui Liu On Mon, Nov 26, 2012 at 10:24 PM

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-11-19 Thread Xiaohui Liu
is associated with the buffer. Janos On Sun, Nov 18, 2012 at 9:23 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, According to this figurehttp://www.cs.wayne.edu/xliu/downloads/offset_vs_local_time.jpg, there is definitely some bug for timestamping in the default CC2420 radio stack

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-11-19 Thread Xiaohui Liu
sync error this can help reduce given the timestamping bug. Any comment on this? Thanks all for your replies. -Xiaohui Liu On Mon, Nov 19, 2012 at 7:42 PM, Eric Decker cire...@gmail.com wrote: On Mon, Nov 19, 2012 at 4:21 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, Is it possible

[Tinyos-help] is timestamping working in CC2420 radio stack in TinyOS 2.1.2?

2012-11-18 Thread Xiaohui Liu
me some definite answer, please? Thanks. -Xiaohui Liu TelosB TinyOS 2.1.2 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-11-18 Thread Xiaohui Liu
CC2420 stack has? Thanks. On Thu, Nov 15, 2012 at 4:00 PM, Xiaohui Liu xiao...@wayne.edu wrote: Thanks. Anyone else wants to share some experience implementing microsecond ftsp on TelosB? -Xiaohui Liu On Thu, Nov 15, 2012 at 3:49 PM, Janos Sallai janos.sal...@vanderbilt.edu wrote: You

[Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-11-15 Thread Xiaohui Liu
default cc2420? If not, what changes are necessary to have it? Thanks for any hint in advance. -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] microsecond ftsp on TelosB without cc2420x

2012-11-15 Thread Xiaohui Liu
Thanks. Anyone else wants to share some experience implementing microsecond ftsp on TelosB? -Xiaohui Liu On Thu, Nov 15, 2012 at 3:49 PM, Janos Sallai janos.sal...@vanderbilt.eduwrote: You will probably have to change the clock source (change T32khz to TMicro). I'm not familiar with the code

Re: [Tinyos-help] cannot program TelosB after setting RST/NMI pin in NMI mode

2012-11-08 Thread Xiaohui Liu
Hi everyone, I finally recovered my TelosB motes. The whole procedure is listed herehttp://xiaohuiliucuriosity.blogspot.com/2012/11/how-to-recover-telosb-motes-after.html in case anyone encounters the same issue. -Xiaohui Liu On Mon, Oct 29, 2012 at 11:20 AM, Xiaohui Liu xiao...@wayne.edu wrote

[Tinyos-help] possible to connect to P1.1/BSLTX and P2.2/BSLRX from outside on TelosB?

2012-11-07 Thread Xiaohui Liu
information can be found in this threadhttp://e2e.ti.com/support/microcontrollers/msp43016-bit_ultra-low_power_mcus/f/166/p/191579/793553.aspx#793553 . Any help would be truly appreciated. Best regards, -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help

Re: [Tinyos-help] cannot program TelosB after setting RST/NMI pin in NMI mode

2012-10-29 Thread Xiaohui Liu
Liu xiao...@wayne.edu wrote: Hi, After RST/NMI pin is configured in NMI mode, More details please. What do you mean the pin is configured in NMI mode? I assume you are messing with WDTCTL. TI's NMI is strange in that it can be masked off. Also: Note: Holding RST/NMI Low When

[Tinyos-help] cannot program TelosB after setting RST/NMI pin in NMI mode

2012-10-28 Thread Xiaohui Liu
give some suggestion on how they can be programmed again? This seems also an issue for MSP430F1491http://www.ti.com/lit/er/slaz141/slaz141.pdf, as shown in bug BSL5. -Xiaohui Liu TelosB T2.1.2 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] watchdog timer triggers reset even when disabled and no security key violation

2012-10-27 Thread Xiaohui Liu
, it changes many low-level components, so it is incompatible with TOSSIM, making gdb not an option. Please weigh in if you have any suggestion. Thank you. -Xiaohui Liu TelosB T2.1.2 On Fri, Oct 26, 2012 at 10:24 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi, One correction: In case 2), there should

[Tinyos-help] watchdog timer triggers reset even when disabled and no security key violation

2012-10-26 Thread Xiaohui Liu
? -Xiaohui Liu TelosB T2.1.2 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] watchdog timer triggers reset even when disabled and no security key violation

2012-10-26 Thread Xiaohui Liu
Hi, One correction: In case 2), there should only be one place: /opt/tinyos-2.1.2/tos/lib/tosboot/msp430/HardwareC.nc:57:WDTCTL = 0; Sorry about the error. On Fri, Oct 26, 2012 at 6:39 PM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, My program is reset some time after a node boots

[Tinyos-help] when is tx timestamp invalid

2012-10-24 Thread Xiaohui Liu
the condition to regard a tx timestamp as invalid? Your help will be highly appreciated. -Xiaohui Liu TelosB TinyOS 2.1.2 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos

Re: [Tinyos-help] when is tx timestamp invalid

2012-10-24 Thread Xiaohui Liu
understand and thank you in advance. On Thu, Oct 25, 2012 at 1:00 AM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, When is transmission timestamp considered invalid for a packet? AFAIK, the only place to invalidate a packet being transmitted is in CC2420TransmitP$CaptureSFD$captured

Re: [Tinyos-help] Internal error: Segmentation fault

2012-10-22 Thread Xiaohui Liu
Hi, After I upgrade to T2.1.2, the compiler error goes away. On Mon, Oct 22, 2012 at 1:14 AM, Xiaohui Liu xiao...@wayne.edu wrote: Hi everyone, When my program is compiled, internal error: Segmentation fault error prompts as reported herehttp://mail.millennium.berkeley.edu/pipermail

[Tinyos-help] Internal error: Segmentation fault

2012-10-21 Thread Xiaohui Liu
/manual/c1685.html. I also tried to upgrade msp430-gcc by apt-get install msp430-gcc-tinyos. But it is incompatible with TinyOS 2.1.1. Does anyone know where or how I can get a copy of executable *msp430-gcc*compatible with TinyOS 2.1.1? Thanks for your help in advance. Best regards, -Xiaohui Liu

Re: [Tinyos-help] how to handle received packets whose length field is corrupted

2012-10-11 Thread Xiaohui Liu
Thanks again for your patient reply. Please CIL. On Thu, Oct 11, 2012 at 8:57 PM, Eric Decker cire...@gmail.com wrote: On Wed, Oct 10, 2012 at 10:53 PM, Xiaohui Liu whu...@gmail.com wrote: Hi Eric, Thanks for your prompt reply. Please see my comments inline. On Wed, Oct 10, 2012 at 9:12

[Tinyos-help] how to handle received packets whose length field is corrupted

2012-10-10 Thread Xiaohui Liu
a severe issue but I haven't found any measure to cope with it in the stack. Can anyone please give me a hint? Thanks sincerely in advance. -- TelosB -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https

Re: [Tinyos-help] how to handle received packets whose length field is corrupted

2012-10-10 Thread Xiaohui Liu
how far it was taken. I will one of these days visit this issue because I need a production quality radio stack for the CC2520 radio. So will dig into it at that time. In the meantime ... On Wed, Oct 10, 2012 at 4:05 PM, Xiaohui Liu whu...@gmail.com wrote: Hello everyone, Normally

[Tinyos-help] how to determine if there are more frames buffered in RXFIFO

2012-10-01 Thread Xiaohui Liu
SpiResource.release();* * }* *}* * }* The statement in red checks if there is more frames buffered in RXFIFO. Why not use *if (call FIFO.get()) {* ? Thanks in advance and await your explanation. -- TelosB -Xiaohui Liu ___ Tinyos-help mailing list Tinyos

Re: [Tinyos-help] why issue SFLUSHRX twice to flush RXFIFO?

2012-09-27 Thread Xiaohui Liu
herehttp://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg21417.htmlbut no answer is given. Please help me understand. Thanks in advance for your attention. -Xiaohui Liu On Tue, Sep 25, 2012 at 6:46 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, The following shows up

[Tinyos-help] why issue SFLUSHRX twice to flush RXFIFO?

2012-09-25 Thread Xiaohui Liu
is SFLUSHRX strobe issued twice? Thanks for your explanation. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] hardware vs software acknowledgement

2012-09-24 Thread Xiaohui Liu
percentage defined here? And why dropped acks are preferential over false acks? Your explanation will be sincerely appreciated. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin

Re: [Tinyos-help] WSN testbeds

2012-09-22 Thread Xiaohui Liu
. On Sat, Sep 22, 2012 at 4:46 PM, John Griessen j...@ecosensory.comwrote: On 09/22/2012 03:27 AM, wasif masood wrote: Thanks alot Xiaohui, but how can I register for that? On Sat, Sep 22, 2012 at 12:07 AM, Xiaohui Liu whu...@gmail.commailto: whu...@gmail.com wrote: Hi

Re: [Tinyos-help] WSN testbeds

2012-09-21 Thread Xiaohui Liu
@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] ChipSpiResource SPI release is never aborted in CC2420TransmitP.nc

2012-09-17 Thread Xiaohui Liu
. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-17 Thread Xiaohui Liu
Hi everyone, I have been stuck by this issue for quite a few days and tried many options. Still, none of them works as PIPhttp://www.cse.unl.edu/~zzhong/F12CSCE990/paper/PIPMACSenSys10.pdfdoes. Can anyone please help? On Fri, Sep 14, 2012 at 1:20 AM, Xiaohui Liu whu...@gmail.com wrote: Hi, I

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-13 Thread Xiaohui Liu
. The current architecture of the code may not be capable of doing what you are trying to do. I said MAY NOT. It depends on the timing constraints/requirements that you need for your algorithm to work properly. eric On Mon, Sep 10, 2012 at 8:44 PM, Xiaohui Liu whu...@gmail.com wrote: Hi

Re: [Tinyos-help] some questions regarding USART on TelosB

2012-09-11 Thread Xiaohui Liu
Thank you for your patient and clear reply. I'll try my best to improve :-) On Tue, Sep 11, 2012 at 2:24 AM, Eric Decker cire...@gmail.com wrote: On Mon, Sep 10, 2012 at 8:47 PM, Xiaohui Liu whu...@gmail.com wrote: One additional comment. 3) Can USART0 and USART1 be used in parallel

Re: [Tinyos-help] some questions regarding USART on TelosB

2012-09-10 Thread Xiaohui Liu
Thank you for your prompt and helpful reply. CIL. On Mon, Sep 10, 2012 at 1:25 AM, Eric Decker cire...@gmail.com wrote: On Sun, Sep 9, 2012 at 9:39 PM, Xiaohui Liu whu...@gmail.com wrote: Hello all, I have a few things uncertain about USART on TelosB. 1) This may be naive, but I'm

[Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Xiaohui Liu
.pdf . Any hint will be sincerely appreciated. Cheers, -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Xiaohui Liu
Hi, To be precise, my channel switch delay is defined as the interval from when CC2420Config.sync() is called to CC2420Config.syncDone() event is triggered. On Mon, Sep 10, 2012 at 11:02 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, I'm developing a protocol which requires fast switch

Re: [Tinyos-help] some questions regarding USART on TelosB

2012-09-10 Thread Xiaohui Liu
One additional comment. On Mon, Sep 10, 2012 at 10:25 PM, Xiaohui Liu whu...@gmail.com wrote: Thank you for your prompt and helpful reply. CIL. On Mon, Sep 10, 2012 at 1:25 AM, Eric Decker cire...@gmail.com wrote: On Sun, Sep 9, 2012 at 9:39 PM, Xiaohui Liu whu...@gmail.com wrote: Hello

[Tinyos-help] some questions regarding USART on TelosB

2012-09-09 Thread Xiaohui Liu
is being read using USART1? Your explanation will be highly appreciated. -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] questions about usage of keyword atomic

2012-08-29 Thread Xiaohui Liu
Thank you both for sharing your insights. I still have a few comments, CIL. On Tue, Aug 28, 2012 at 3:52 AM, Eric Decker cire...@gmail.com wrote: On Mon, Aug 27, 2012 at 6:59 PM, Xiaohui Liu whu...@gmail.com wrote: Hello all, 1) I have the following code snippet: *uint8_t

Re: [Tinyos-help] questions about usage of keyword atomic

2012-08-29 Thread Xiaohui Liu
Thanks again for your promptly reply. I still have a few follow-up questions, please CIL. On Wed, Aug 29, 2012 at 8:38 PM, Eric Decker cire...@gmail.com wrote: On Wed, Aug 29, 2012 at 4:40 PM, Xiaohui Liu whu...@gmail.com wrote: Thank you both for sharing your insights. I still have a few

[Tinyos-help] questions about usage of keyword atomic

2012-08-27 Thread Xiaohui Liu
except *a = 0;* in Timer. Can anybody please share the experience on atomic? Thanks in advance. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] telosB cpu speed

2012-08-08 Thread Xiaohui Liu
.html and herehttp://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-August/011727.html, but neither has definite answers for the questions above. If you can give any hint, that will be great. Thanks in advance. -- Cheers, -Xiaohui Liu ___ Tinyos

[Tinyos-help] is this a bug of FTSP? Re: extremely large skew of 56% in FTSP

2012-07-13 Thread Xiaohui Liu
* (int32_t)(*time - localAverage));* *return is_synced();* *}* I repeated my tests 6 times and ftsp runs like a charm now. The abnormal skew never shows up, even root's skew based on regression table can still be large. On Thu, Jul 12, 2012 at 10:01 PM, Xiaohui Liu whu...@gmail.com wrote

Re: [Tinyos-help] extremely large skew of 56% in FTSP

2012-07-12 Thread Xiaohui Liu
this is add instrumentation (logging) of various state in nodes. that is what I would recommend. I don't see anyway around it. On Tue, Jul 10, 2012 at 1:16 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, I'm using FTSP of T32khz accuracy (i.e., TimeSync32kC) to synchronize a network

[Tinyos-help] any TDMA protocol in T2?

2012-07-11 Thread Xiaohui Liu
is found. The only one I found is PRIMEhttp://mail.millennium.berkeley.edu/pipermail/tinyos/2003-September/97.html, which is only for T1. Thanks in advance. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https

[Tinyos-help] extremely large skew of 56% in FTSP

2012-07-10 Thread Xiaohui Liu
be regarded as normal. Does anyone know what might be causing this issue? One observation is that regardless of the skew in a run, all nodes report almost identical skews. Your reply will be greatly appreciated. -- -Xiaohui Liu ___ Tinyos-help mailing list

Re: [Tinyos-help] how to divide time into 10 ms slots?

2012-07-03 Thread Xiaohui Liu
Decker cire...@gmail.com wrote: sync will always have some jitter (unless you aren't really doing anything else besides the one task). so you will have to so the TDMA slotting at interrupt level and kick the transmitter stuff at sync level. On Mon, Jul 2, 2012 at 7:51 PM, Xiaohui Liu whu

Re: [Tinyos-help] How to speed up the SPI access on Telosb mote

2012-07-03 Thread Xiaohui Liu
Zhichao Cao ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos

[Tinyos-help] how to divide time into 10 ms slots?

2012-07-02 Thread Xiaohui Liu
. If you have any suggestion, please do not hesitate to share. Your help would be sincerely appreciated. -- Cheers -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo

[Tinyos-help] RSSI measurement and accuracy for CC2420

2012-06-04 Thread Xiaohui Liu
. Is there anyway to measure RSSI at better accuracy, say, 0.5 dB as my application requires? Thanks in advance. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo

[Tinyos-help] high frequency RSSI sampling

2012-05-24 Thread Xiaohui Liu
in advance. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] What is a CCA hysteresis?

2012-05-20 Thread Xiaohui Liu
Hi all, Does any one know what is a CCA hysteresis as said on the CCA section of CC2420's datasheet? Thanks for sharing. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin

Re: [Tinyos-help] how to measure code execution time

2012-05-09 Thread Xiaohui Liu
would suffice. Janos On Tue, Aug 9, 2011 at 10:27 PM, Xiaohui Liu whu...@gmail.com wrote: Hi everyone, How can I measure the time for a snippet of code (e.g., a function call foo), either synchronous or asynchronous, to execute? A straight forward way can be: start_time = Call

Re: [Tinyos-help] interrupt vs event

2012-05-09 Thread Xiaohui Liu
. On Sun, Jun 6, 2010 at 8:33 PM, Eric Decker cire...@gmail.com wrote: okay, let me try. On Sun, Jun 6, 2010 at 11:05 AM, Xiaohui Liu whu...@gmail.com wrote: Hi, Can I say event is at higher level while interrupt is at lower level? I guess event handler may be sync if you look

[Tinyos-help] difference between AMSenderC and ActiveMessageC

2012-05-09 Thread Xiaohui Liu
is a must in this case? Thanks in advance. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] will packets with CCA disabled backoff if channel is busy?

2012-05-01 Thread Xiaohui Liu
. Will call STXON.strobe() always return CC2420_STATUS_TX_ACTIVE and send the packet regardless of the channel state? If no, under what condition can this happen? Thanks for your attention. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] source code documentation for TOSSIM

2012-04-19 Thread Xiaohui Liu
Hi everyone, Is there source code documentation for TOSSIM like other platforms such as telosb http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/telosb/index.html? I tried to generate it using make micaz sim docs, which does not work. Any hint will be highly appreciated. -- -Xiaohui Liu

[Tinyos-help] set packet transmission power in TOSSIM

2012-04-19 Thread Xiaohui Liu
asks the same question, but no definite answer is given. Your assistance will be truly appreciated. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] how to change the carrier sensing threshold for CC2420?

2012-04-18 Thread Xiaohui Liu
Hi everyone, I'm wondering how to set the carrier sensing threshold for CC2420. Can anyone please help? BTW, I find CC2420_RSSI_CCA_THR = 8 in CC2420.h but not sure what 8 means and if this is the right place to change. Hope this contributes. -- -Xiaohui Liu

[Tinyos-help] will Send.sendDone() always be signalled if Send.cancel() is called

2012-04-09 Thread Xiaohui Liu
. So, in both cases, Send.sendDone() will be signalled. Am I right? Your help will be highly appreciated. -- -Xiaohui Liu TelosB ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo

[Tinyos-help] is there assert() available?

2012-04-05 Thread Xiaohui Liu
Hi everyone, Is there any function equivalent to assert()http://www.cplusplus.com/reference/clibrary/cassert/assert/ in TinyOS? If yes, can it be used on mote and/or TOSSIM? Thanks. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help

[Tinyos-help] where can I find detail information about framework and function of Edge Router

2012-03-13 Thread Caiquan Liu
In this web page, we can find detail information about how to use and configure Edge Router: http://docs.tinyos.net/tinywiki/index.php/BLIP_Tutorial Now I want to get more information about how the Edge Router working, but I can not find the on www.tinyos.net. Can you give me some clue to find

[Tinyos-help] 802.11 reference implementation recommendation

2012-03-09 Thread Xiaohui Liu
Hi everyone, I'm curious on how IEEE 802.11 standard works in reality. Can anyone recommend a good reference implementation of 802.11? It does not have to be written in nesc, C/C++ or java also work. Thanks in advance. -- -Xiaohui Liu ___ Tinyos-help

[Tinyos-help] Connection timed out accessing remote serial forwarder

2012-02-23 Thread Xiaohui Liu
very much in advance. BTW, I'm using Ubuntu and TelosB motes, serial forwarder uses port 9001. Two machines can ssh to each other. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi

  1   2   3   4   >