[Tinyos-help] Can Stargate be connected to Telos

2006-07-31 Thread Liu Haibin
Hi,I have a question about Stargate from Crossbow. Can it be connected to Telos (either from Moteiv or Crossbow) or other motes? Thanks.Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Init all motes at the same time

2006-07-19 Thread Liu Haibin
In Tossim 2.x, it's something liket.getNode(1).bootAtTime(11);t.getNode(2).bootAtTime(88);t.getNode(3).bootAtTime(189);HaibinOn 7/19/06, Lorenzo Mainardi [EMAIL PROTECTED] wrote: Hi, I'm working with routing protocols in TOSSIM/TinyViz; for my simulation I would to inizialize all the

Re: [Tinyos-help] make micaz sim for BaseStation application in TinyOS-2.x developement codes failed

2006-07-18 Thread Liu Haibin
On 7/15/06, Philip Levis [EMAIL PROTECTED] wrote: On Jul 14, 2006, at 2:29 AM, Liu Haibin wrote: Hi, I downloaded the development Tinyos-2.x codes. I got an error when I compiled the BaseStation application. [EMAIL PROTECTED] BaseStation]$ make micaz sim mkdir -p build/micaz placing object files

[Tinyos-help] how to run different applications on different nodes in Tossim

2006-07-18 Thread Liu Haibin
Hi,Tossim only allows to run the same application on all the nodes. Are there any tricks to play so that different nodes can run different applications in Tossim? Thanks.Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] is Mirage testbed still working?

2006-07-16 Thread Liu Haibin
Hi,I registered a new project on Mirage testbed. They asked me to send email to [EMAIL PROTECTED] (Mirage Administrator) or [EMAIL PROTECTED] (Philip Buonadonna) to enable my new account. But both of the email accounts bounced back. Does anyone know that if Mirage is still working?Regards,Haibin

[Tinyos-help] make micaz sim for BaseStation application in TinyOS-2.x developement codes failed

2006-07-14 Thread Liu Haibin
Hi,I downloaded the development Tinyos-2.x codes. I got an error when I compiled the BaseStation application.[EMAIL PROTECTED] BaseStation]$ make micaz simmkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BaseStationC to object file sim.oncc -c

[Tinyos-help] how to measure ambient noise

2006-07-14 Thread Liu Haibin
Hi,I want to measure the ambient noise. I think ambient noise is equal to the RSSI when there's no transmission. But according to the chipcon data sheet, the RSSI is appended to the frame. No transmission means no frame, then how can I measure the RSSI. I must have missed something. Could someone

Re: [Tinyos-help] make micaz sim for BaseStation application in TinyOS-2.x developement codes failed

2006-07-14 Thread Liu Haibin
[EMAIL PROTECTED] wrote: On Jul 14, 2006, at 2:29 AM, Liu Haibin wrote: Hi, I downloaded the development Tinyos-2.x codes. I got an error when I compiled the BaseStation application. [EMAIL PROTECTED] BaseStation]$ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML

[Tinyos-help] clearThreshold = -95 cannot be found in cc2420 data sheet

2006-07-13 Thread Liu Haibin
Hi,The clearThreshold in UscGainInterferenceModelC.nc is set to -95. It says that the value comes from cc2420 data sheet. But I searched the data sheet but didn't find it. So how does this value come out? Thanks. Regards,Haibin ___ Tinyos-help mailing

[Tinyos-help] where to find the developer's kit worth $600

2006-07-13 Thread Liu Haibin
Hi Phil,I remember that you mentioned a developer's kit at $600. Where can I find it? Is there any link? I only found that xbow has a kit at $3000. Thanks a lot.Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] T2

2006-07-12 Thread Liu Haibin
On 7/12/06, Terence Joseph [EMAIL PROTECTED] wrote: Hello,I have seen a number of references to the operating system T2 and was justwondering if this is an early reference to TinyOS 2.0 or a completely newoperating system?It's the same. Regards,Haibin

Re: [Tinyos-help] question on enqueue_receive_event from UscGainInterfaerenceModelC.nc

2006-07-12 Thread Liu Haibin
On 7/6/06, Philip Levis [EMAIL PROTECTED] wrote: On Jul 5, 2006, at 8:08 PM, Liu Haibin wrote: Hi, I'm confused with the following code from enqueue_receive_event from UscGainInterfaerenceModelC.nc. The condition at label 1 is understandable. It checks if the power is large enough against

[Tinyos-help] question on enqueue_receive_event from UscGainInterfaerenceModelC.nc

2006-07-05 Thread Liu Haibin
Hi,I'm confused with the following code from enqueue_receive_event from UscGainInterfaerenceModelC.nc. The condition at label 1 is understandable. It checks if the power is large enough against the destination noise plus all the other transmissions to the destination. What I don't understand is

[Tinyos-help] question on setNoise(node, mean, variance)

2006-07-04 Thread Liu Haibin
Hi,I have a question about the setNoise(node, mean, variance) in TOSSIM 2.x. I found that the larger the mean is, the more noisy it is. For example, setNoise(1, -100, 5.0) can make nodes receive packets, but setNoise(1, -10, 5.0) cannot. I was expecting to see that -100 would mean more noisy that

[Tinyos-help] no implementation in /platforms/micaz/chips/cc2420/sim/SimCC2420C.nc in Tinyos-2.x

2006-07-03 Thread Liu Haibin
Hi,According to the document for TOSSIM in Tinyos-2.x, it only supports micaz now and their implementation is under the sim directory.[EMAIL PROTECTED] tos]$ find . -name sim./platforms/micaz/sim

[Tinyos-help] why both AMPacket and Packet interfaces are used in tinyos-2.x/apps/tutorials/BlinkToRadio/BlinkToRadioC.nc

2006-06-29 Thread Liu Haibin
Hi,The following is tinyos-2.x/apps/tutorials/BlinkToRadio/BlinkToRadioC.nc from tinyos-2_0_devel-BRANCH. I found that it declares to use both AMPacket and Packet interfaces and actually it uses only Packet in the implementation. So is AMPacket redundant there? Regards,Haibin// $Id:

[Tinyos-help] where to find TEP104 and TEP105 for tinyos-2.x

2006-06-28 Thread Liu Haibin
Hi,Any idea where I can find TEP104 and TEP105 for tinyos-2.x? They're refered to in other TEP's but are nowhere to be found.Regards,Haibin ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] problem compiling Blink on tinyos-2.x

2006-06-22 Thread Liu Haibin
Hi,I installed the tinyos-2_0_devel-BRANCH code on Linux and followed the instructions from Upgrading from TinyOS 1.x to TinyOS 2.x. But I got an error when I compiled the Blink application. $ make micazmkdir -p build/micaz compiling BlinkAppC to a micaz binaryncc -o build/micaz/main.exe -Os

[Tinyos-help] inttypes.h: No such file or directory when compiling Blink on tinyos-2.x

2006-06-22 Thread Liu Haibin
`TinySchedulerC':..The first line says no inttypes.h is found. But I did install avr-libc and I can find it at /usr/avr/include/inttypes.h Regards,HaibinOn 6/22/06, Liu Haibin [EMAIL PROTECTED] wrote: Hi,I installed the tinyos-2_0_devel-BRANCH code on Linux and followed the instructions from

Re: [Tinyos-help] inttypes.h: No such file or directory when compiling Blink on tinyos-2.x

2006-06-22 Thread Liu Haibin
Yes. Thanks. I found that I had two avr-gcc, avr-gcc-3.3tinyos-1 and avr-gcc-3.4.2-1. So i deleted the former. Now it worked.Regards,HaibinOn 6/23/06, Philip Levis [EMAIL PROTECTED] wrote: On Jun 22, 2006, at 1:07 AM, Liu Haibin wrote: I found the answer at the tutorial lesson 1 under tinyos

Re: [Tinyos-help] tossim in tinyos-2.x

2006-06-15 Thread Liu Haibin
Thanks. But I installed rpm for tinyos-2.x and could not find the TOSSIM code. Any idea where I can find it? And any doc for the new TOSSIM?Regards,HaibinOn 6/15/06, Philip Levis [EMAIL PROTECTED] wrote:On Jun 14, 2006, at 2:41 AM, Liu Haibin wrote: Hi, According to tossim manual, tossim

Re: [Tinyos-help] tinyos-2.x TOSSIM with gdb?

2006-06-15 Thread Liu Haibin
If you download the latest code from the dev branch of tinyos-2.x. You should find a Where can I find the latest code? Is the rpm the latest code, or any code on cvs. I found no tinyos-2.x code on the sourceforge cvs server. tutorial under tinyos-2.x/docs/html/tutorial/lesson-t.html. Not sure if

[Tinyos-help] tossim in tinyos-2.x

2006-06-14 Thread Liu Haibin
Hi,According to tossim manual, tossim in tinyos-1.x only implemented mica platform. How about the tossim in tinyos-2.x? Any newer platforms are implemented in the simulator? I realized that there's no directory tos/platforms/pc in tinyos-2.x, then where can I find the tossim implementation in

[Tinyos-help] Re: question on mica sense carrier

2006-06-10 Thread Liu Haibin
starting to receive data, it should be in the state of START_SYMBOL_SEARCH (line 24). So even when someone is sending a lot of 0's, the receiving node is in the state of START_SYMBOL_SEARCH, so the test of 12 consecutive 0's (line 11) will never be executed.Cheers, HaibinOn 6/7/06, Liu Haibin

[Tinyos-help] question on mica sense carrier

2006-06-07 Thread Liu Haibin
Hi,I have a question on mica/ChannelMonC.nc, the implementation of the CSMA/CA on mica. The code below shows that uint8_t bit = TOSH_READ_RFM_RXD_PIN(); CM_search[0] = 1; CM_search[0] = CM_search[0] | (bit 0x1); if ((CM_search[0] 0xfff) == 0) { // 12 clock ticks CM_waiting = -1; signal

Re: [Tinyos-help] Re: question on simple_transmit from Rfm_model.c

2006-06-06 Thread Liu Haibin
ChannelMon.idleDetect() to show the channel is free. But actually mote 0 is using the channel and transmitting 0s.Why is it so? Any help is appreciated. Regards,Haibin On 6/2/06, Liu Haibin [EMAIL PROTECTED] wrote: Hi,I have a question about the following code from Rfm_model.c. The parameter bit can

[Tinyos-help] Re: question on simple_transmit from Rfm_model.c

2006-06-05 Thread Liu Haibin
[1] == 0, TOSH_rfm_rx_bit() returns 0. After 12 bits, it signal ChannelMon.idleDetect() to show the channel is free. But actually mote 0 is using the channel and transmitting 0s.Why is it so? Any help is appreciated.Regards,Haibin On 6/2/06, Liu Haibin [EMAIL PROTECTED] wrote: Hi,I have a question

[Tinyos-help] question on simple_transmit from Rfm_model.c

2006-06-02 Thread Liu Haibin
Hi,I have a question about the following code from Rfm_model.c. The parameter bit can be 1 or 0. When simple_trasmit is transmitting bit 1, transmitting[modeID] is set to 1, meaning it's transmitting. However, when simple_transmit is transmitting bit 0, transmitting[modeID] is set to 0, meaning

[Tinyos-help] atomic use in tutorial lesson 4

2006-05-25 Thread Liu Haibin
Hi,I found that in tutorial lesson 4, atomic is used as followsmessage-val = value;atomic { message-src = "">}Since we don't have any async interface used here, why do we need atomic to protect this assignment here? And why this assignment alone, how about the assignment one line above?

[Tinyos-help] fan-in in Sense application in tutorial lesson 2

2006-05-24 Thread Liu Haibin
Hi,I have a question on the Sense application in tutorial lesson 2. Why does SenseM want to use StdControl interface which is connected to DemoSensorC, since Main's StdControl is already connected to DemoSensorC's StdControl. I went through the code and couldn't understand this fan-in. The

[Tinyos-help] problem on installing moteiv tinyos on linux fedora 3

2006-05-04 Thread Liu Haibin
Hi, I got a problem when I was installing the moteiv tinyos on Linux Fedora 3. I followed the instruction at http://www.moteiv.com/community/Tmote_Linux_install. But when I tried to install TinyOS Java Tools with the command cd $TOSROOT/tools/java; make; I got some following errors.