Re: [Tinyos-help] About Events and Commands

2006-06-29 Thread Aditya Bhave
The SendMsg.send() coomand is actually implemented in AMstandard.nc. You must be reading Chapter 4 of the tutorials. Look at the wiring of SendMsg.send. It is wired to GenericComm. This in turn is wired to AMStandard which in turn uses several low level system modules wherein the individual bits

RE: [Tinyos-help] difference between events and async events

2006-06-29 Thread Hari Hara Sudhan
Hi Phil, I went through your programming manual. And in chapter4 I found this following example. Consider a packet layer on top of a UART. When the UART receives a byte, it signals an interrupt. In the interrupt handler, software reads the byte out of the data register and puts it in a buffer.

[Tinyos-help] Tmote-sky/telosb

2006-06-29 Thread mothanna alkubeily
hi i want to know if the Tmote-skyand the telosb are the same. thanks Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] (no subject)

2006-06-29 Thread mothanna alkubeily
Spam detection software, running on the system mail.Millennium.Berkeley.EDU, has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

Re: [Tinyos-help] Tmote-sky/telosb

2006-06-29 Thread Matthew J Whelan
Hi,The Tmote Sky and the Telosb motes are pretty much the same, however, there is one difference in the board layout related to the 8-pin JTAG connector. You can find more info at:http://www.moteiv.com/products/docs/an001-changes.pdfbut basically the change allows the USB connection to power

[Tinyos-help] Re to Re :tmote/telosb

2006-06-29 Thread mothanna alkubeily
thank you very much Matt. however,i can use the tmote's way of calcuing the temp.and humidity for telosb? Sneak preview the all-new Yahoo.com. It's not radically different. Just radically better. ___ Tinyos-help mailing list

[Tinyos-help] help needed, problem with upgrading tinyos

2006-06-29 Thread Esmaeil Nadimi
Hi all I have tried to upgrade my TinyOS environment from TinyOS 1.1.0 tinyos1.1.10Jan2005...) to CVS tinyos1.1.15DEC2005... but I have got problems. What I have done was 1) Upgrading cygwin and installing all the new packages 2) Installing CVS snapshot in the rpm directory. Now that I want to

Re: [Tinyos-help] generate docs

2006-06-29 Thread Andres Aberasturi
Hi, Thanks Rahul, but we do not understand it. We do not have matlab or anything which perhaps uses dot.exe (we suposed). Actually, we have installed TinyOS Plugin for Eclipse. And this plugin has installed TinyOs 1.1.15, and it works, but when we write make micaz docs, we do not get the

[Tinyos-help] Adding new events

2006-06-29 Thread robycannone
Hi everyone, I'm trying to add new events in tinydb. I have notices that in the file CommandMsgs.java the class EventMsg doesn't exist. Now, what should i do? Do I have to implement this class? There are also another file called CommandMsg.java but that reports This class is automatically

Re: [Tinyos-help] Tmote-sky/telosb

2006-06-29 Thread Joe Polastre
Actually, there's a few other changes now that Tmote Sky has but TelosB does not. For example, Tmote Sky can run up to 8MHz whereas TelosB can only run up to 4MHz. Tmote Sky also has the option of setting the external voltage reference for sampling, whereas TelosB does not. Finally, Tmote Sky

Re: [Tinyos-help] generate docs

2006-06-29 Thread Rahul Sawant
what i meant was there should be 2 dot.exe files on ur comp. one installed by tinyos in \tos\ATT\Graphviz\bin folder and other some where else installed by some other software. try searching ur comp for dot.exe to see if u indeed have 2 dot.exe files. if u do have 2 dot.exe files when tinyos

[Tinyos-help] send_lqi on Telosb/tmote

2006-06-29 Thread song guo
Hi Phil,I got the same problem as Ben Kelley, I tried the command:java net.tinyos.script.VMBufferReader -comm [EMAIL PROTECTED]:teloshowever, it still did not work:Received UART message containing type NONE, ignoring. Received UART message containing type NONE, ignoring.could you please give me

[Tinyos-help] MicaZ and TelosB communicating

2006-06-29 Thread Joseph Lutz
I am wanting to use a telosB mote as a base station to listen to a MicaZ mote. What would need to be changed so this is possible. It seems that the packet headers for the MicaZ and the Telos Motes are different. What I believe is that one of the headers is in the form in the

[Tinyos-help] how to store the VM program on tmote sky

2006-06-29 Thread song guo
Hi all,Currently I am dealing with tmote sky programing using mate' VM. One big problem I got is that, when I moved the mote down from the usb port of my computer, the programs all disapear. Another thing is that with mica2dot, if you program one mote, the mote will automatically broadcast the

Fwd: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ming
Hi allI am try to run the SerialForwarder for telos byjava net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:telosHowever the follow error is displayed.Listening to serial@/dev/ttyUSB0:telosb Platform telosListening for client connections on port 9001serial@/dev/ttyUSB0:57600 died -

Re: [Tinyos-help] Mate and send_lqi on Telosb/tmote

2006-06-29 Thread Philip Levis
On Jun 28, 2006, at 3:51 PM, Ben Kelley wrote: Hi, I'm going through the tutorial on Mate and having some issues with send_lqi (or maybe not) on T-Sky/telosb. If I am reading the documentation right, send_lqi acts as a drop-in for send, and thus the packets forwarded via send_lqi would be

RE: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ben Kelley
What kind of Java Comm are you running? IBM, Sun, RXTX, TOSComm? If its the IBM version, you can uncomment a line in the javax.comm.properties file and change to serial. But if memory serves me, that output is from the Java version. I know I did something to get it working; if its

[Tinyos-help] Associate with Tmote

2006-06-29 Thread Arun Venkateshwaran
Hi,I am trying to associate another device with tmote for an application?Is it possible to do it?If so, How can I do it? Thanks in advance.Regards,Arun ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

RE: [Tinyos-help] Mate and send_lqi on Telosb/tmote

2006-06-29 Thread Ben Kelley
-Original Message- From: [EMAIL PROTECTED] [mailto:tinyos-help- [EMAIL PROTECTED] On Behalf Of Philip Levis Sent: Thursday, June 29, 2006 12:05 To: [EMAIL PROTECTED] Cc: tinyos-help@Millennium.Berkeley.EDU Subject: Re: [Tinyos-help] Mate and send_lqi on Telosb/tmote On Jun 28,

RE: [Tinyos-help] Mate and send_lqi on Telosb/tmote

2006-06-29 Thread Philip Levis
On Thu, 2006-06-29 at 11:29, Ben Kelley wrote: MateRoute to the MultiHop format? I can't help but wonder if this also has something to do with the AM_BUFFERMSG that my makefile keeps trying to mig. It doesn't have much to do with AM_BUFFERMSG. This is just how the Mate' build system gets

[Tinyos-help] Can I detect sound levels with a Mica2 mote?

2006-06-29 Thread Mark Bramwell
I would like to perform a query that gives me the nodeID and the relative sound level of a room. Nothing fancy or high calibration is required, just some returned value that is low if it is quiet in the room, higher if someone is talking nearby. I see that there is a noise attribute but it

[Tinyos-help] timing accelerator usage?

2006-06-29 Thread Michael Siegel
Hello, I've been attempting to implement an RF-based TDOA localization algorithm on Mica1 Motes. (Yeah, I know it's a long shot, given that the hardware timing resolution supposedly can't be better than 1/4 microsecond, but I guess there's hope in being able to achieve finer resolution by

Re: [Tinyos-help] Tmote-sky/telosb

2006-06-29 Thread Joe Polastre
Nope, only the motes available after the FCC certification (the ones with the shield on top) -Joe On 6/29/06, Matthew J Whelan [EMAIL PROTECTED] wrote: Joe, Is there a newer version of Tmote Sky (I know there was a small change with the FCC certification where the SMA connection has a cover

[Tinyos-help] the range of the mica2 temperature readings

2006-06-29 Thread Xing Jin
Hi everyone, Wouldsomeone tell me the range of the mica2 thermistor readings?Or the ceilus temperature reading range (format like :0~30C)?Thanks a lot. Xing Jin Yahoo! Music Unlimited - Access over 1 million songs. Try it free. ___

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Justin Dugger
This is a one of those fantastic features of using Java for hardware access. Java has no idea what ports qualify as serial ports, and rather than let you specify at the command line a particular file, it will error out if it doesn't match it's own list of such things. If you're using sun's java,

RE: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ben Kelley
Just as an aside to this; I did this and it worked (for the java comm)but then all of a sudden the driver crashed on the third or fourth access of the port. TOSComm seems to work fairly well if you can get it installed. -Original Message- From: [EMAIL PROTECTED] [mailto:tinyos-help-

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Justin Dugger
I haven't noticed this, however I have noticed that you might want to configure udev to bind motes to a particular device node. Otherwise you get races like which mote gets which device node when plugging in a micaz base station and a telosb. I haven't figured out yet how to get the MIB520

[Tinyos-help] error installing postgresql

2006-06-29 Thread Rohan Mudholkar
Hi everyone, here's the error which i am getting while installing postgresql:- The Cacls command can be run only on disk drives that use the NTFS file system.The Cacls command can be run only on disk drives that use the NTFS file system.The Cacls command can be run only on disk drives that use

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Philip Levis
On Jun 29, 2006, at 2:47 PM, Ben Kelley wrote: Just as an aside to this; I did this and it worked (for the java comm)but then all of a sudden the driver crashed on the third or fourth access of the port. TOSComm seems to work fairly well if you can get it installed. Yeah, all of these

[Tinyos-help] #ifdef support in nesc.

2006-06-29 Thread Tehn Yit Chin
Hi, Does anyone know if #ifdef is supported in nesc? I was experimenting with SurgeM.nc in apps/surge, and the following bit of code is not compiling for me. event result_t Timer.fired() { dbg(DBG_USR1, SurgeM: Timer fired\n); timer_ticks++; if (timer_ticks % TIMER_GETADC_COUNT

[Tinyos-help] Loading programs onto Mica2: Prelim question

2006-06-29 Thread Arijit Ghosh
Hello, I am loading some of the test apps onto a Mica2 mote using the MIB510 board. The Blink and the CntToLedsAndRfm(only the blinking of the LEDs) apps work fine. However I am having the following problems: 1) The MicaHWVerify would not load and uisp just hangs. I tried both the

Re: [Tinyos-help] Loading programs onto Mica2: Prelim question

2006-06-29 Thread Tehn Yit Chin
2) The RfmToLeds compiles and gets loaded. But when made to work in conjunction with another mote that has CntToLedsAndRfm, it does nothing. The LED still keeps on blinking on the mote that has the latter installed. Hi, I just completed this tutorial yesterday. Check that the group ID are

Re: [Tinyos-help] #ifdef support in nesc.

2006-06-29 Thread Tehn Yit Chin
Philip Levis wrote: On Jun 29, 2006, at 5:33 PM, Tehn Yit Chin wrote: Hi, Does anyone know if #ifdef is supported in nesc? The full C preprocessor is supported. Your bug is that you are not wiring the Sounder. You need to include it in the configuration. In Surge.nc, I was wiring

Re: [Tinyos-help] Problem to run SerialForwarder on telos

2006-06-29 Thread Ming
I am using the SUN's JAVACOMM and I have installed the TOSCOMM before. Should I un-install the TOSCOMM first? And how to do that?CMing On 6/29/06, Philip Levis [EMAIL PROTECTED] wrote: On Jun 29, 2006, at 2:47 PM, Ben Kelley wrote: Just as an aside to this; I did this and it worked (for the java

[Tinyos-help] msp430 hardware multiplier

2006-06-29 Thread An Liu
Hi, Is it possible to use msp430 hardware multiplier with -mdisable-hwmul? When I set -minline-hwmul, I always get segmentation fault. Can anyone share some experience? An Liu ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] serial port communication problem

2006-06-29 Thread zhiqiang zhang
hi,everyone: Recently ,i found a strange problem. I wrote a java file to print all the port on the command line. The source code i attached below: import java.util.*;import java.io.*;import javax.comm.*; public class listenraw {public static void main(String argv[]) {new listenraw();} public

Re: [Tinyos-help] Loading programs onto Mica2: Prelim question

2006-06-29 Thread Tehn Yit Chin
Arijit Ghosh wrote: I did set the same group id for both. I used the MakeXbowlocal file. Did yours work straight out of the box? Can you please send me your makelocal/makexbowlocal file? Mine work straight out of the box. All I added was to create a Makelocal which I placed into

[Tinyos-help] msp430

2006-06-29 Thread Anuja Juvekar
HI , I'm fairly new to motes, tinyOSand nesC. I wanted to know if I can use the InternalVoltageC available in msp430 platform on to a mica2 mote.? I have tried but it gives me a lot of errors. Is it that I have to use the VoltageC provided in tos/system and not the msp430 one..? Please get back

[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: