[Tinyos-help] Install to the Iris motes

2009-04-26 Thread David Li
Hi, I have Iris motes from Xbow. I didn't see any instructions on the TinyOS Tutorial how to install compiled TinyOS images onto an Iris mote. Maybe this has been discussed here before. Can someone explain? Also Xbow comes with a OTAP mechnisim in Moteworks to install their code Over-The-Air. But

Re: [Tinyos-help] Install to the Iris motes

2009-04-27 Thread David Li
Hi Milos, Do you know how the Iris mote is connected to the MIB520 board? Is there a diagram that shows this? Thanks. David On Mon, Apr 27, 2009 at 12:48 AM, milos rovcanin wrote: > > make iris install > > I don't think it's feasible! > > -- > Best regards, Milos Rovcanin >

Re: [Tinyos-help] Install to the Iris motes - OTAP way?

2009-04-28 Thread David Li
rt number associated with the programming board. > > To communicate with the mote, set the MOTECOM variable > > export MOTECOM=serial@/dev/ttyUSB1:iris > > (replace /dev/ttyUSB1 with the higher numbered port associated with the > mib520) > > Janos > > > On Sun, Apr 2

[Tinyos-help] Error help: undefined reference to `main'

2009-05-05 Thread David Li
Hi, I am trying to compile the BlinkToRadio app in the Tutorial for Iris mote (make iris) and got this clueless error. Can anyone help? ncc -o build/iris/main.exe -Os -Wall -Wshadow -Wnesc-all -target=iris -fnesc-cfile=build/iris/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline

Re: [Tinyos-help] Error help: undefined reference to `main'

2009-05-06 Thread David Li
Hi Phil, No, I am using Ubuntu 9.10 with TinyOS 2.1 tool chain installed. David On Tue, May 5, 2009 at 9:12 PM, Philip Levis wrote: > On May 5, 2009, at 4:37 PM, David Li wrote: > > Hi, >> >> I am trying to compile the BlinkToRadio app in the Tutorial for Iris mote &

Re: [Tinyos-help] Install to the Iris motes error - MIB510 must be defined

2009-05-06 Thread David Li
replace /dev/ttyUSB1 with the higher numbered port associated with the > mib520) > > Janos > > > On Sun, Apr 26, 2009 at 9:46 PM, David Li wrote: > > Hi, > > > > I have Iris motes from Xbow. I didn't see any instructions on the TinyOS > > Tutorial

Re: [Tinyos-help] Install to the Iris motes error - MIB510 must be defined

2009-05-06 Thread David Li
quot;make iris > reinstall,17 mib520,/dev/ttyUSB0" and it works fine. You type it in > once more, and you get an error message. > > If that is the case, I don't know what your problem is. > > Janos > > On Wed, May 6, 2009 at 12:14 PM, David Li wrote: > > Hi Janos,

[Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-08 Thread David Li
Hi All, I am following the tutorial direction to compile the TestSerial application for Iris mote. The following Java error is what I got so far. I am using Ubuntu 9.10 with Tinyos2.1. I think I am using JDK 1.5. My classpath is .:/opt/tinyos-2.1.0/support/sdk/java. Is this a JDK impatibility issu

[Tinyos-help] An IDE for nesC?

2009-05-08 Thread David Li
Hi Everyone: Does any know a good IDE or plugin (emacs, Eclipse) for nesC? I am looking for syntax hi-lighting, auto indentation at a minimum. Thanks. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cg

Re: [Tinyos-help] Java error: SerialPacket cannot be resolved to a type

2009-05-09 Thread David Li
s to see if that helps. > > MS > > David Li wrote: > >> Hi All, >> >> I am following the tutorial direction to compile the TestSerial >> application for Iris mote. The following Java error is what I got so far. I >> am using Ubuntu 9.10 with Tinyos2.1. I t

[Tinyos-help] PowerTOSSIM status in Tinyos 2.1?

2009-05-13 Thread David Li
Hi, I have some questions regarding its current status: 1. Has it been integrated into the TOSSIM in TinyOS2.1 release? 2. Has it been upgraded to support CC2420 radio? 3. Which mote platform can it support now? Is anyone aware of any latest development work on PowerTOSSIM? Thanks. David _

[Tinyos-help] Power consumption measurement

2009-05-13 Thread David Li
Hi, This is probably an age old question that was asked many times. I did search the archive but didn't find exactly what I was looking for. I am using TinyOS 2.1 on Ubuntu 9.10 on Iris motes. What's kind of instruments do people normally use to measure current and power consumptions? What's the

Re: [Tinyos-help] Power consumption measurement

2009-05-14 Thread David Li
then measure the voltage > over the resistor with a digital oscilloscope. This allows me to sample the > power consumption at a high frequency and thus distinguish between different > phases of operation (radio turning on vs. listening vs. actually sending > data). > > Cheers, &g

Re: [Tinyos-help] Power consumption measurement

2009-05-14 Thread David Li
th a digital oscilloscope. This allows me to >> sample the power consumption at a high frequency and thus distinguish >> between different phases of operation (radio turning on vs. listening vs. >> actually sending data). >> >> Cheers, >> Urs >> >&g

Re: [Tinyos-help] Power consumption measurement

2009-05-14 Thread David Li
ive mode), then the voltage drop > measured over the resistance is 200mV = 0.2V. > > So far, I have not used any simulations for power measurements and can't > comment on this. > > Cheers, > Urs > > > Da

[Tinyos-help] Oscilloscope Java compiling warnings and launch failure

2009-05-17 Thread David Li
Hi, Following the tutorial, I compiled the Oscilloscope java code and got the warnings which I think was probably harmless: - Warnings mig -target=null -java-classname=OscilloscopeMsg java ../

[Tinyos-help] Options to control TX power

2009-05-18 Thread David Li
Hi, I am working on Iris mote on Ubuntu 9.10 with Tinyos 2.1. My goal is to measure the transmission range under different tx power levels. After searching the archive I concluded that I would like to use the following to control the tx power: CC2420.h: #define CC2420_DEF_RFPOWER 31 Questions:

[Tinyos-help] SerialForwarder error: TOSComm JNI library runtime error

2009-05-19 Thread David Li
Hi, I am running Tinyos 2.1 on Ubuntu 9.10 and Sun Java SDK 1.5. Before this the SerialForwarder was ok and I had just ran "update-java-alternatives" to switch from GIJ Java to Sun Java 1.5. Now I am having problems the SerialForwarder GUI keeps showing the following: Could not open /dev/ttyU

Re: [Tinyos-help] SerialForwarder error: TOSComm JNI library runtime error

2009-05-19 Thread David Li
and lower numbered port USB0 is for programming. What went wrong? David On Tue, May 19, 2009 at 11:31 AM, David Li wrote: > > Hi, > > I am running Tinyos 2.1 on Ubuntu 9.10 and Sun Java SDK 1.5. Before this > the SerialForwarder was ok and I had just ran "update-java-alte

Re: [Tinyos-help] SerialForwarder error: TOSComm JNI library runtime error

2009-05-20 Thread David Li
kefiles are, but you could try compiling directly from this directory. If > it doesn't work, you can recompile all tools (from $TOSROOT/tools). > > If all else fails, you could use the C version of the serial forwarder. > > Cheers, > Urs > > > > David Li wrote:

Re: [Tinyos-help] Options to control TX power

2009-05-20 Thread David Li
will not > work. > > On Mon, May 18, 2009 at 4:01 PM, David Li wrote: > > Hi, > > > > I am working on Iris mote on Ubuntu 9.10 with Tinyos 2.1. My goal is to > > measure the transmission range under different tx power levels. After > > searching the archive I

Re: [Tinyos-help] Options to control TX power

2009-05-20 Thread David Li
o it manually. What message do you use? Miklos > > On Wed, May 20, 2009 at 7:16 PM, David Li wrote: > > Hi Miklos, > > > > > > Is there any way that I can put the tx power level into the packet and > > display the tx power when the packet reaches the base station? &g

Re: [Tinyos-help] Options to control TX power

2009-05-20 Thread David Li
Thanks. I think I got the idea. One missing piece is how to read the Tx power. Do you have an interface to recommend? David On Wed, May 20, 2009 at 2:20 PM, Miklos Maroti wrote: > Hi David, > > On Wed, May 20, 2009 at 11:15 PM, David Li wrote: > > Hi Miklos, > > I pla

Re: [Tinyos-help] Options to control TX power

2009-05-22 Thread David Li
OADCAST_ADDR, &sendBuf, sizeof local) == SUCCESS) sendBusy = TRUE; } } On Wed, May 20, 2009 at 10:55 PM, Miklos Maroti wrote: > Hi David, > > On Thu, May 21, 2009 at 2:57 AM, David Li wrote: > > > > Thanks. > > > > I think I got the idea. One m

Re: [Tinyos-help] Options to control TX power

2009-05-22 Thread David Li
ynamically change the TX power level for > outgoing packets. (Just to clarify, I assume you really wanted to get > the tx power level and not the received RSSI signal, right?) > > Miklos > > On Fri, May 22, 2009 at 8:20 PM, David Li wrote: > > > > Hi Miklos, > &

[Tinyos-help] Iris node radio frequency change

2009-06-05 Thread David Li
Hello, I am using Iris node with RF230 radio chip. My understanding is the frequency is fixed at 2.4 Ghz. You can't change that. Can anyone confirm that? David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berke

Re: [Tinyos-help] Iris node radio frequency change

2009-06-06 Thread David Li
1 MHz, so in fact you can slightly change the > frequency. > > Miklos > > On Sat, Jun 6, 2009 at 5:59 AM, David Li wrote: > > Hello, > > > > I am using Iris node with RF230 radio chip. My understanding is the > > frequency is fixed at 2.4 Ghz. You can't

[Tinyos-help] RSSI Demo For IRIS mote: install problem

2009-06-14 Thread David Li
Hi, I am using Iris mote, tinyos2.1.0, and Ubuntu 9.01. I compiled "Sendingmote" application for Iirs (make iris) under app/tutorials/RssiDemo/Sendingmote. But I got the following error installing the image on a mote: Reading | ## | 100% 0.05s avr

[Tinyos-help] RSSI and Tx Range Estimation

2009-06-15 Thread David Li
Hello everyone: Does anyone know of any work using RSSI values to estimate the transmission range between two motes? This assumes that you know the tx power level on the sender and you can read the RSSI on the receiver. You also have knowledge about the radio propagation channel. Thanks. David _

[Tinyos-help] Rssi values for Iris mote

2009-06-16 Thread David Li
Hello, RF230 datasheet states that the RSSI values are from 0 to 28. But in the RssiDemo I saw they went beyond the range to something around 40. Anyone knows why? David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millen

Re: [Tinyos-help] Rssi values for Iris mote

2009-06-16 Thread David Li
HI Miklos, So if I remove the RF230_RSSI_ENERGY flag from the Makefile then the true RSSI values would show up? On Tue, Jun 16, 2009 at 12:54 PM, Miklos Maroti wrote: > Hi David, > > On Tue, Jun 16, 2009 at 5:02 PM, David Li wrote: > > Hello, > > > > RF230 datasheet

[Tinyos-help] SWAT question

2009-07-08 Thread David Li
Hi, Has anyone here used Stanford's SWAT tool? I only have Iris motes and it seems the tool doesn't support Iris. Is this correct? David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman

[Tinyos-help] Questions on how to use the telosb mote and basestation in the Sentilla Perk Kit

2009-07-08 Thread David Li
Hi, I have got a Sentilla Perk Kit. It comes with two telosb motes, a USB basestation with plastic case and a USB basestation without case. I am using Ubuntu 9.10 and tinyos 2.1. My questions are: 1. Which base station should I use to program the mote? 2. What's the command to program a telosb m

[Tinyos-help] Make xxx failed

2009-07-13 Thread David Li
Hi, I downloaded an application for Tinyos 2.1, untared and put it under my tinyos2.1.0/apps/. But when I tried to compile it it just failed. 'make iris' (or for any other platform) returned: make: *** No rule to make target `iris'. Stop. The strange thing is I could compiled other apps under t

[Tinyos-help] Quick question on RssiDemo code

2009-07-22 Thread David Li
Hi, I was trying to find out how RSSI values were inserted into the packets on the "SendingMote". It seems that "RssiMsgSender" was the key and it was wired to AMSenderC. However the AMSenderC under tos/system doesn't have such an interface. So did I look at the wrong component? Anyone knows where

Re: [Tinyos-help] Quick question on RssiDemo code

2009-07-22 Thread David Li
eiving mote and then appended to the received > message. Do you mean where does rssi get inserted, if indeed it does, > in multi-hop messages? > > MS > > David Li wrote: > >> Hi, >> >> I was trying to find out how RSSI values were inserted into the packets on >&

[Tinyos-help] Retrieve tx power level on Iris mote in RssiDemo

2009-07-24 Thread David Li
Hi, I am trying to read the tx power on the Sending mote in the RssiDemo code. The strange thing is if I do: message_t msg; RssiMsg* buf = (RssiMsg*)(call RssiMsgSend.getPayload(&msg, sizeof(RssiMsg))); tx_power = call PacketTransmitPower.get(&msg); Then everything compiles OK. But if I reverse

[Tinyos-help] Problem reading tx power on Iris mote

2009-07-27 Thread David Li
Hello, I am modifying RssiDemo to read tx power values in addition to rssi values. What I did was: 1. added a field in the RssiMsg: typedef nx_struct RssiMsg{ nx_int16_t rssi; nx_uint16_t tx_power_reading; //new } RssiMsg; 2. read the tx power on the SendingMote: event void SendTimer.fir

[Tinyos-help] Tymo status

2009-08-03 Thread David Li
Hi Everyone: This was just mentioned in another thread couple days ago but I 'd like to get some details: 1. What's the current status for Tymo? Is it stable and being maintained actively? 2. Where to get the latest stable version? The sourceforge http://tymo.sourceforge.net/news/ says it's in t

[Tinyos-help] Packet overhead for Iris/RF230 motes

2009-08-10 Thread David Li
Hi, I would like to know the precise packet overhead bytes (802.15.4 + MAC) in a Iris/RF230 node. It seems 802.15.4 header and footer are defined in tos/chips/rf230/ieee154packet.h and total count is 13 bytes for a T-Frame. Is there anything else in MAC and others? Thanks. David

Re: [Tinyos-help] Packet overhead for Iris/RF230 motes

2009-08-11 Thread David Li
Hi Miklos, Thanks. Maybe this is my ignorance. I am curious why there is no MAC in the TinyOS2 implementation. David On Mon, Aug 10, 2009 at 3:22 PM, Miklos Maroti wrote: > Hi David, > > On Mon, Aug 10, 2009 at 9:44 PM, David Li wrote: > > Hi, > > > > I would like

[Tinyos-help] Power consumption on Iris motes with TestLpl

2009-08-19 Thread David Li
Hi, I wonder if anyone has measured power consumption ( or current) on a pair of Iris motes using TestLpl. My measurements of the current range from 17.6 mA to 18.2 mA which I think are very high given this is a Low Power application. But I wonder if these are what people see under this applicati

Re: [Tinyos-help] Power consumption on Iris motes with TestLpl

2009-08-19 Thread David Li
ained in the readme.txt file. > > Janos > > On Wed, Aug 19, 2009 at 12:48 PM, David Li wrote: > >> Hi, >> >> I wonder if anyone has measured power consumption ( or current) on a pair >> of Iris motes using TestLpl. My measurements of the current range from 17.6

[Tinyos-help] Questions on Low Power Listening

2009-08-24 Thread David Li
Hi, Here are some questions on TEP105: 1. TEP 105 states: "the transmitter could send the same message over and over again for the duration of the receiver's receive check period. The receiver could wake up and see that another node is transmitting, receive a full message, and finally send back a

Re: [Tinyos-help] Questions on Low Power Listening

2009-08-24 Thread David Li
Thanks for the info. I am using Iris mote (RF230 radio). So I am wondering if there is a paper describing LPL implementation for RF230. Or this is similar to the CC2420 implementation? David On Mon, Aug 24, 2009 at 7:08 PM, Razvan Musaloiu-E. wrote: > Hi! > > On Mon, 24 Aug 2009,

[Tinyos-help] Iris mote LPL MAC implementation in Tinyos 2.1

2009-08-27 Thread David Li
Hello, Does anyone know the Low Power Listening MAC implementation for Iris mote in 2.1? Is it Box-Mac-1 or Box-Mac-2? Any papers describing the implementation? Thanks. David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.m

[Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-01 Thread David Li
Hi, I am using this on Iris motes without any sensing boards. The ReadMe says to compile with default sensor using "SENSORBOARD= make ". My questions are: 1. How should I set "sensorboard name"? 2. How should I set "mote"? Any string will do? 3. Should this line be added to the Makefile? I did

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-02 Thread David Li
make iris > to build your program for the iris devices. > > I think most of this is covered in the doc/tutorial. > > MS > > David Li wrote: > >> Hi, >> >> I am using this on Iris motes without any sensing boards. The ReadMe says >> to comp

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-02 Thread David Li
ch as the demo app Blink, on the iris? > > MS > > > David Li wrote: > >> Unfortunately this is still not working. I compiled the code for base and >> sensor node by using: >> >> SENSORBOARD=micasb make iris >> >> It was fine. Hoever, the base and s

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-02 Thread David Li
ion should start blinking as messages > are being received. > > Janos > > On Wed, Sep 2, 2009 at 2:21 PM, Michael Schippling wrote: > >> Ok, lets step back a bit... >> >> Have you worked through the doc/tutorial? >> >> Have you successfully instal

Re: [Tinyos-help] Questions: MultihopOscilloscope on Iris nodes

2009-09-03 Thread David Li
node and a base station > depending the node id. > It's the root of the collection tree what you're mentioning. That's the > node that initiates routing tree formation, and toward which the messages > will be routed. But it's not a mote-pc gateway. > > >

[Tinyos-help] Reading sensor data on Iris motes

2009-10-30 Thread David Li
Hi, I am running Oscilliscope application on Iris motes with Tinyos 2.1. My questions is: Can I read the native sensor data using this code? I don't see any obvious sensor driver code under "platform" directory. Thanks. - David ___ Tinyos-help mailing

[Tinyos-help] IPBaseStation

2010-03-24 Thread David Li
Hi, I am currently using 2.1.0. I installed it on Ubuntu 9.10 by apt-get install. The BLIP tutorial mentioned the IPBasestation in $TOSROOT/apps but I couldn't find it. Can someone let me know where I can download or sync up to this app or maybe the entire Blip package? -- Regards, - David __

Re: [Tinyos-help] IPBaseStation? (2nd try)

2010-03-25 Thread David Li
Hi, I am not sure if anyone see my previous questions regarding Blip package. I am trying again to see if there can be any help. Thanks. David On Wed, Mar 24, 2010 at 8:45 AM, David Li wrote: > Hi, > > I am currently using 2.1.0. I installed it on Ubuntu 9.10 by apt-get > inst

Re: [Tinyos-help] IPBaseStation? (2nd try)

2010-03-25 Thread David Li
s.net/index.php/Installing_from_CVS/GIT ) > > Hope this helps. > > -- > Giuseppe Cardone > > > > On Thu, Mar 25, 2010 at 2:42 PM, David Li wrote: > > Hi, > > I am not sure if anyone see my previous questions regarding Blip package. > I > > am trying again t

Re: [Tinyos-help] IPBaseStation compiling error for Iris target in tinyos-2.x

2010-03-26 Thread David Li
wiki instructions starting > from step 3. > > Regards > > -- > Giuseppe Cardone > > > > On Fri, Mar 26, 2010 at 3:48 AM, David Li wrote: > > Hi Guiseppe, > > > > Thanks for the link. I downloaded the cvs tree for 2.x. I have a > question >

[Tinyos-help] Blip on Iris mote?

2010-03-27 Thread David Li
Hi, Anyone is using Blip on Iris mote? I downloaded the tinyos-2.x but couldn't compile IPBasestation for Iris target. The tutorial says Iris is one of the supported platforms. I wonder if I did something incorrectly. -- Regards, - David ___ Tinyos-h

Re: [Tinyos-help] IPBaseStation compiling error for Iris target in tinyos-2.x

2010-03-28 Thread David Li
Hi Miklos, Thanks for getting IPBasestation to compile for Iris. I installed it by using: make blip iris,1 mib520,/dev/ttyUSB0. Now I moved on to the next step and could build the ip driver. Here is the next error when I tried to start the ip driver on the Iris mote: >tinyos-2.x/support/sdk/c

[Tinyos-help] Blip: ip-driver error on iris mote

2010-03-29 Thread David Li
Hi, I am using the latest tinyos-2.x tree on Ubuntu9.10. I have compiled for Iris target and installed IPBasestation. Now I am puzzled by the following error when starting the ip-driver /tinyos-2.x/support/sdk/c/blip$ sudo driver/ip-driver /dev/ttyUSB1 iris 2010-03-29T10:12:26.683PST: INFO: Read

[Tinyos-help] Blip: UDPEcho help

2010-03-30 Thread David Li
Hi, I am using tinyos2.x, Ubuntu 9.10 and Iris mote. Following the tutorial I have installed the IPBasestation and UDPEcho. From the Ubuntu host, I can ping6 fec0::64 (the IPBasestation Edge router attached to the host). But I couldn't ping6 the note router that is running UDPEcho. They both use

Re: [Tinyos-help] Tinyos-help Digest, Vol 83, Issue 105

2010-03-31 Thread David Li
Hi Steve, I have the exact same problem with Iris mote. Appreciate if you can debug this and let us know how to proceed. > "INFO: Read config from 'serial_tun.conf' > INFO: Using channel 15 > INFO: Retries: 5 > INFO: telnet console server running on port 6106 > INFO: created tun device: tun0 > FA

Re: [Tinyos-help] Blip: UDPEcho help

2010-03-31 Thread David Li
> Hi David! > > In tinyos-2.x/apps/tests/rf230/RF230Sniffer there is an application > that will print out all messages. You can run that so we can see what > is going on. You have to change the makefile there to set the channel > to 15. Search the tinyos-help forum to see how to u

[Tinyos-help] Blip: ip-driver problem on Iris mote

2010-04-07 Thread David Li
Hi Everyone: I don't know if the following ip-driver driver start problem on Iris mote has been resolved in the Blip package. 2010-04-07T07:14:14.065PST: INFO: Read config from 'serial_tun.conf' 2010-04-07T07:14:14.065PST: INFO: Using channel 15 2010-04-07T07:14:14.065PST: INFO: Retries: 5 2010-0

[Tinyos-help] CTP in TestNetwork questions

2010-04-12 Thread David Li
Hi, I was trying to set up a CTP example using TestNetwork app. But the instructions in README is a little confusing to me. According to the README, I will need to install this app on two motes which I did: "To test, start with two motes with no program that transmits packets. Example., erase th

Re: [Tinyos-help] CTP in TestNetwork questions

2010-04-13 Thread David Li
pr 12, 2010 at 1:22 PM, Omprakash Gnawali wrote: > On Mon, Apr 12, 2010 at 9:11 AM, David Li wrote: > > Hi, > > > > I was trying to set up a CTP example using TestNetwork app. But the > > instructions in README is a little confusing to me. > > > > Accordin

Re: [Tinyos-help] CTP in TestNetwork questions

2010-04-14 Thread David Li
akash Gnawali wrote: > On Tue, Apr 13, 2010 at 9:10 AM, David Li wrote: > > Hi Om_p: > > > > Thanks for the hint. Yes, now I can see the action matching the > description. > > > > If I don't use a Basestation how can I view the packet from my PC host? > I

Re: [Tinyos-help] [blip-users] Re: Iris problem on IPBaseStation

2010-04-21 Thread David Li
That's exact the same problem I have been facing with ip-driver. Don't know if anyone has spent time on it. David On Wed, Apr 21, 2010 at 6:23 PM, bouakkaz issam wrote: > Thanks Miklos; > > I did the update and it working, but still have an error on the ip-driver. > Did you know if it is workin

Re: [Tinyos-help] CTP in TestNetwork questions

2010-04-25 Thread David Li
, Apr 14, 2010 at 11:31 AM, David Li wrote: > > Hi Om_p: > > > > Thanks for the pointer. I turned on the serial listener on mote #0 and > was > > able to see the receive raw output. I set it up like: > > > > PC - #0 -#1#2. >

[Tinyos-help] TestNetwork app: How to use dissemination?

2010-05-01 Thread David Li
Hi, I was able to run CTP using TestNetwork. The README also mentions that dissemination can be used. I 'd like to send small values from the host PC (attached to the root mote) to all other motes in the network. README file doesn't specify how to do this. Can anyone show me an example or a point

Re: [Tinyos-help] CTP in TestNetwork questions

2010-05-01 Thread David Li
Hi Om_p: So is there another application that can perform both CTP and Dissemination functions? - David On Sat, May 1, 2010 at 3:31 PM, Omprakash Gnawali wrote: > On Sun, Apr 25, 2010 at 12:09 PM, David Li wrote: > > Hi Omprakash, > > > > Another question: The README see

[Tinyos-help] TestNetwork app problem communicating with serial port

2010-05-04 Thread David Li
Hi, I am trying to print out more meaningful messages sent to serial port from a small network formed in TestNetwork app. So I created a java directory under TestNetwork and added a Makefile: Makefile BUILD_EXTRA_DEPS += TestNetwork.class CLEAN_EXTRA = *.class TestNetwor

[Tinyos-help] A TestNetwork app question

2010-05-30 Thread David Li
Hi, In TestNetworkAppC.nc configuration, why the following two lines use "CL_TEST" not "AM_TESTNETWORKMSG" as parameter? components new CollectionSendC(CL_TEST); components new SerialAMSenderC(CL_TEST); I thought AM_TESTNETWORKMSG was the real AM message type used in TestNetwork app. Did I miss

[Tinyos-help] TinyOS Newbie Install Help

2009-02-22 Thread David Li
Hi, I am new to this community and trying to get my first TinyOs up and running. I am using Ubuntu 8.04 and tried to follow the two step debian package install outlined in: http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Two-step_install_on_your_host_OS_with_Debian_packages Everything was

[Tinyos-help] Development Platform Question

2009-02-24 Thread David Li
Hi All, Being new to the TinyOS development, I have a few questions for more experienced users: 1. Which software platform is better for development in terms of ease of use? I have seen Windows and Linux. For Linux is it Ubuntu or Fedora? 2. Which hardware platform is better to use, Mica based

Re: [Tinyos-help] Newbie TinyOS Development Platform Questions - power consumption and Java development?

2009-02-25 Thread David Li
e sensor boards available for the > MicaZ. > > Cheers, > Urs > > David Li wrote: >> >> Hi All, >> >> Being new to the TinyOS development, I have a few questions for more >> experienced users: >> >> 1. Which software platform is better

[Tinyos-help] TinyOS development platform question

2009-04-07 Thread David Li
Hi, I am new to TinyOS. From what I have learned there seems to have two platoforms to develop. One is commercial and the other is open source. Commercial package such as Crossbow's Moteworks runs on Windows and provides nice GUI. So it might be easier for beginners but I am not sure what the limit

Re: [Tinyos-help] TinyOS development platform question

2009-04-07 Thread David Li
see: >http://tinyos.net/ > http://docs.tinyos.net/index.php/Main_Page > > MS > > David Li wrote: > >> Hi, >> I am new to TinyOS. From what I have learned there seems to have two >> platoforms to develop. One is commercial and the other is open source. >

[Tinyos-help] Zigbee support

2009-04-10 Thread David Li
Hi, Does TinyOS support Zigbee? Which platform (mote) does it support? Can anyone show me some pointers? Thanks. David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-h

[Tinyos-help] Newbie Question: tos-env-check

2009-04-16 Thread David Li
Hi, I installed tinyos 2.1 on Ubuntu 8.10 and ran "tos-env-check". There are two warnings I am not sure if they are a big concern: 1. Classpath: --> WARNING: CLASSPATH environment variable doesn't exist. Your classpath should contain and a pointer to the cwd (a dot) Question: Is this a Java cla

[Tinyos-help] Python compile errors in TOSSIM

2009-04-17 Thread David Li
Hi Everyone, I was compiling Tossim for Iris platform by "make iris sim" under tinyos-2.1.0/app/Blink. I am puzzled by the following errors. Anyone has any clue? I didn't search the archive. David --- compiling Python support and C libraries into pytossim.o, tossim.o,

Re: [Tinyos-help] Python compile errors in TOSSIM

2009-04-18 Thread David Li
Hi Razvan, Yes you are right. I am missing python2.5-dev! Thanks. Maybe the wiki needs to specifically mention about python2.5-dev for Ubuntu. David 2009/4/18 Razvan Musaloiu-E. > Hi! > > On Fri, 17 Apr 2009, David Li wrote: > > Hi Everyone, >> >> I was compiling

[Tinyos-help] Q: TinyOS MAC and Routing support

2009-04-20 Thread David Li
Hi, I believe TinyOS doesn't support Zigbee or 6loPAN out of the box. But I haven't been able to find out exactly what 's been implemented as I am new to this. Can anyone explain or show me some pointers what kind of MAC and routing protocols TinyOS 2.x supports? Thanks. David ___

[Tinyos-help] TOSSIM compile error: SerialPacket

2009-04-21 Thread David Li
Hi, I was trying to build tossim for RadioCountToLedsC app. I am using 2.1 on Ubuntu 8.10. So far I got Java errors: mkdir -p simbuild/iris javac RadioCountMsg.java /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/message/Message.java:84: cannot find symbol symbol : class SerialPacket location: c

[Tinyos-help] Q: Tossim code reusability on real mote platform

2009-04-21 Thread David Li
Hi, After reading through the TOSSIM tutorial I am wondering how much of TOSSIM can be used directly on the real hardware platform (e.g. iris mote). It seems that only radio or phyical layer is simulated. so the question is can the code above radio (MAC etc.) be used directly on the real hardward

Re: [Tinyos-help] IPBaseStation compiling error for Iris target in tinyos-2.x

2010-03-26 Thread w . david . li
: Hi, The IPBaseStation code is CC2420 specific, so it will not run on the iris. It's trivial, though, to change the code to work with the RF230. As far as I can tell, it uses the CC2420Config interface only to change the radio channel. Janos On Fri, Mar 26, 2010 at 12:24 PM

Re: [Tinyos-help] Blip: ip-driver error on iris mote

2010-03-29 Thread w . david . li
making some changes to both the IPBasestation and blip > code. > > 2010/3/29 David Li w.david...@gmail.com> >> >> Hi, >> >> I am using the latest tinyos-2.x tree on Ubuntu9.10. I have compiled for >> Iris target and installed IPBasestation

Re: [Tinyos-help] Development Platform Question

2009-02-24 Thread w . david . li
Thank you all for the responses. It looks like going for Linux (either virtual or real) is the best option for development. Hardware doesn't matter as none of the platform provides SDR capability anyway. Another question about tools/source install for TinyOS 2.1: Is there any one stop sho

Re: [Tinyos-help] Development Platform Question

2009-02-24 Thread w . david . li
On Feb 24, 2009 6:58pm, Parkurm wrote: On Tue, Feb 24, 2009 at 3:00 PM, w.david...@gmail.com> wrote: Thank you all for the responses. It looks like going for Linux (either virtual or real) is the best option for development. Hardware doesn't matter as none of the platform provides SDR