[Tinyos-help] Beacon mode
Hi all, I am working with Tmote Sky (MSP430 CC2420)and tinyos-1.1.15 and I am interested in beacon mode. I have understood from the documentation and mailing that tinyos's components support CSMA, but I would like to know if beacon mode of 802.15.4 is also supported and how I canuse it. Does anybody tried to write a program to send beacons? Thanks for your help ! Regards, Diego ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help CC2420RadioM
Hi all, I'm trying to implement a post facto synchronization. In the CC2420RadioM module, there is this procedure: async event result_t SFD.captured(uint16_t time) { switch (stateRadio) { . . . default: // fire RX SFD handler rxbufptr-time = time; signal RadioReceiveCoordinator.startSymbol(8,0,rxbufptr); } return SUCCESS; } What is the variable time? What does it contains? Thanks. Andrea. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
FW: [Tinyos-help] TINYSEC_KEYSIZE
Hi all, I wonder if there's a way to add more keys in TinySec. By default it uses 8 for encryption and 8 for MAC in /home/.tinyos_keyfile . I tried to simply change this file, but nothing happened. smime.p7s Description: S/MIME cryptographic signature ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TINYSEC_KEYSIZE
Hi all, I wonder if theres a way to add more keys in TinySec. By default it uses 8 for encryption and 8 for MAC in /home/.tinyos_keyfile . I tried to simply change this file, but nothing happened. smime.p7s Description: S/MIME cryptographic signature ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Re: Installing pytos on RedHat 9.0
Hi,I am successful in installing python2.4 and jpype. I have added $TOSROOT/contrib/python/pytos to my CLASSPATH. However, I couldn't import jimport. Here is the output: import jpype jpype.startJVM(jpype.getDefaultJVMPath()) from jpype import jimportTraceback (most recent call last): File stdin, line 1, in ?ImportError: cannot import name jimportI checked that my $TOSROOT/contrib/python/pytos is empty. I tried to browse cvs at sourceforge but it is down for maintenance. I will try again later. Is my error because of missing modules in $TOSROOT/contrib/python/pytos ?Thanks,- VinayakOn 4/9/06, Kamin Whitehouse [EMAIL PROTECTED] wrote:I would not recommend using apt on red hat.Instead, install python 2.4 via rpm or source, and then install jpype from source (asdescribed in the cygwin- Basic Install section of pytosinstructions).Once you get that working, you are all set.you can do everything but run Oscope.py, which is just a demo program anyway.If you reallyneed graphing capabilities, you can try to install numpy andmatplotlib per their own instructions or (probably preferred) just usenumpy/scipy with python's gplot libraries, which I am planning to use in the future anyway.kaminOn 4/9/06, Vinayak Naik [EMAIL PROTECTED] wrote: Hi, I would like to install pytos environment on RedHat 9.0 system. I am following instructions given at http://nest.cs.berkeley.edu/nestfe/index.php/Pytos_Installation_Instructions The webpage lists the debian packages to be installed. All the packages are for apt-get installation system. Since I have RedHat, which uses rpm installation system, I installed apt-get installation system on my RedHat system. BTW, I am not familiar with Debian and apt-get. Also, I am not sure how reliable is apt-get's port on RedHat. Anyway, I have edited /etc/apt/sources.list file add the following line: deb http://silhouette.cs.berkeley.edu/ pytosPackages/ I issued command apt-get install python2.4-tk without quotes. After that I received error E: Type 'deb' is not known in on line 42 in source list /etc/apt/sources.list E: The list of sources could not be read. I thought that the dep word is not suitable for RedHat. Therefore, I replaced it with rpm word. Then, I reissued the command apt-get install python-2.4-tk. I received following error: Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package python2.4-tk I was wondering whether the packages required for pytos are present http://silhouette.cs.berkeley.edu/ If they are and I am making a mistake, then please let me know. Thank you, - Vinayak ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Re: Installing pytos on RedHat 9.0
Hi Kamin,Here is the output of jpype.getDefaultJVMPath() jpype.getDefaultJVMPath()'/opt/jre1.5.0_06/lib/i386/client/libjvm.so'I was able to import JObject and JProxy from jpype: from jpype import JObject from jpype import JProxyAlso, I could import Queue and sys.But I am not able to import jimport. I am using JPype-0.5.1. I checked /usr/local/lib/python2.4/site-packages/jpype and /usr/local/lib/python2.4/site-packages/jpypex, I did not find jimport. I found _jobject.py, _jobject.pyc, _jproxy.py, _jproxy.pyc along with other files. Thank you,- VinayakOn 4/10/06, Kamin Whitehouse [EMAIL PROTECTED] wrote: please verify that jpype.getDefaultJVMPath() actually returns a paththat points to your jvm. Also, we are no longer using any code in contrib/python; it has allbeen moved to tools/python.be sure you compiled the java classes intools/python/pytos.On 4/10/06, Vinayak Naik [EMAIL PROTECTED] wrote: Hi, I am successful in installing python2.4 and jpype. I have added $TOSROOT/contrib/python/pytos to my CLASSPATH.However, I couldn't import jimport. Here is the output: import jpype jpype.startJVM(jpype.getDefaultJVMPath()) from jpype import jimport Traceback (most recent call last): File stdin, line 1, in ? ImportError: cannot import name jimport I checked that my $TOSROOT/contrib/python/pytos is empty. I tried to browse cvs at sourceforge but it is down for maintenance. I will try again later. Is my error because of missing modules in $TOSROOT/contrib/python/pytos ? Thanks, - Vinayak On 4/9/06, Kamin Whitehouse [EMAIL PROTECTED] wrote: I would not recommend using apt on red hat.Instead, install python 2.4 via rpm or source, and then install jpype from source (as described in the cygwin- Basic Install section of pytos instructions). Once you get that working, you are all set.you can do everything but run Oscope.py, which is just a demo program anyway.If you really need graphing capabilities, you can try to install numpy and matplotlib per their own instructions or (probably preferred) just use numpy/scipy with python's gplot libraries, which I am planning to use in the future anyway. kamin On 4/9/06, Vinayak Naik [EMAIL PROTECTED] wrote: Hi, I would like to install pytos environment on RedHat 9.0 system. I am following instructions given at http://nest.cs.berkeley.edu/nestfe/index.php/Pytos_Installation_Instructions The webpage lists the debian packages to be installed. All the packages are for apt-get installation system. Since I have RedHat, which uses rpm installation system, I installed apt-get installation system on my RedHat system. BTW, I am not familiar with Debian and apt-get. Also, I am not sure how reliable is apt-get's port on RedHat. Anyway, I have edited /etc/apt/sources.list file add the following line: deb http://silhouette.cs.berkeley.edu/ pytosPackages/ I issued command apt-get install python2.4-tk without quotes. After that I received error E: Type 'deb' is not known in on line 42 in source list /etc/apt/sources.list E: The list of sources could not be read. I thought that the dep word is not suitable for RedHat. Therefore, I replaced it with rpm word. Then, I reissued the command apt-get install python-2.4-tk. I received following error: Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package python2.4-tk I was wondering whether the packages required for pytos are present http://silhouette.cs.berkeley.edu/ If they are and I am making a mistake, then please let me know. Thank you, - Vinayak ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Different OS
Hi for my master thesis I need to compare different types of OS for sensor networks. Can anybody tell me some other OS working with Tmote or MicaZ than TinyOS. Thanks alot Christian ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Different OS
SOS, Mantis, Contiki... google is your friend. -Joe On 4/10/06, Hoell, Christian (EXT) [EMAIL PROTECTED] wrote: Hi for my master thesis I need to compare different types of OS for sensor networks. Can anybody tell me some other OS working with Tmote or MicaZ than TinyOS. Thanks alot Christian ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] UART connection
Hi, I have a mica2 mote connected to a gps, using UART and using UART component for handling. Also, I receive and send radio messages. GPS works at 4800 bps, so I use outp() command to set the speed properly. The GPS works, mica2 changes his baud rate successfully, and my program has no errors (tested with TOSSIM, signaling the rxByteReady event with the expected info). However, installed and running in the mica2, I cannot receive bytes from the gps (rxByteReady is not signaled), any ideas? __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] about surge_reliable test on xbow
Hi everyone, I am new to tinyos. I am doing a test on surge_reliable.I use Xbow to do this test.Does anyone tell me what the result looks like? I download the program on the moteusing "make mica2 install, 0 mib510,com1" and "export [EMAIL PROTECTED],java net.tinyos.tools.Listen" to listen.But no data is received. And after I take the mote off the programming broad, d0/d1/d2(the red ,green yellow leds), none of them is on.No ligth to show the mote is in work. I do not know which step is wrong. I did not change any line in the code. Please help me !!! I appreciate it. Thanks in advance. Xing Jin Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Help on installing XMesh/XMDA300 on mica2 motes
Chandresh, You need to copy the entire contrib/xbow folder to your windows machine rather than just the xbow/apps folder. The XMesh app uses interfaces modules under contrib/xbow/tos/. - Dongyan On 4/10/06, chandresh parekh [EMAIL PROTECTED] wrote: Hi all, I tried to download tinyos-1.x/contrib from my windows machine and got the following errors: [EMAIL PROTECTED] /opt $ cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/tinyos CVS password: cvs [login aborted]: end of file from server (consult above messages if any) $ cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P tinyos 1.x/contrib cvs checkout: warning: failed to open /home/Administrator/.cvspass for reading: No such file or directory cvs [checkout aborted]: end of file from server (consult above messages if any) After this failure, I managed to download the folder on a linux machine. Then, I copied the entire folder to ../tinyos-1.x/contrib/xbow/apps/ and hoping it should work. But I got the followng sequence of erros: [EMAIL PROTECTED] /opt/tinyos-1.x/contrib/xbow/apps/XMesh/XMDA300 $ make mica2 install,10 mib510,com1 mkdir -p build/mica2 compiling XMDA300 to a mica2 binary ncc -o build/mica2/main.exe -Os -finline-limit=10 -Wall -Wshadow -DDEF_TOS_A M_GROUP=0x7d -Wnesc-all -target=mica2 -fnesc-cfile=build/mica2/app.c -board=mda3 00 -DCC1K_DEFAULT_FREQ=RADIO_916BAND_CHANNEL_00 -DRADIO_XMIT_POWER=0xFF -I%T/lib /Deluge -DIDENT_PROGRAM_NAME=\XMDA300\ -DIDENT_USER_ID=\Administrator\ -DIDE NT_HOSTNAME=\piloo\ -DIDENT_USER_HASH=0x0a75adf5L -DIDENT_UNIX_TIME=0x443a8612 L -DIDENT_UID_HASH=0x280bd6ccL XMDA300.nc -lm XMDA300M.nc:122: C file XCommand not found XMDA300M.nc:125: C file sensorboard not found XMDA300M.nc:139: interface XCommand not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42: expected inte rface `XCommand', but got interface 'RouteControl' XMDA300M.nc:143: interface Sample not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/RouteControl.nc:42: expected inte rface `Sample', but got interface 'RouteControl' XMDA300M.nc:150: interface Relay not found C:/tinyos/cygwin/opt/tinyos-1.x/tos/interfaces/Timer.nc:42: expected interface ` Relay', but got interface 'Timer' XMDA300M.nc: In function `StdControl.start': XMDA300M.nc:285: interface has no command or event named `getSample' XMDA300M.nc:285: `TEMPERATURE' undeclared (first use in this function) XMDA300M.nc:285: (Each undeclared identifier is reported only once XMDA300M.nc:285: for each function it appears in.) XMDA300M.nc:285: `SAMPLER_DEFAULT' undeclared (first use in this function) XMDA300M.nc:287: interface has no command or event named `getSample' XMDA300M.nc:287: `HUMIDITY' undeclared (first use in this function) XMDA300M.nc:289: interface has no command or event named `getSample' XMDA300M.nc:289: `BATTERY' undeclared (first use in this function) XMDA300M.nc:293: interface has no command or event named `getSample' XMDA300M.nc:293: `ANALOG' undeclared (first use in this function) XMDA300M.nc:293: `EXCITATION_33' undeclared (first use in this function) XMDA300M.nc:295: interface has no command or event named `getSample' XMDA300M.nc:297: interface has no command or event named `getSample' XMDA300M.nc:299: interface has no command or event named `getSample' XMDA300M.nc:299: `DELAY_BEFORE_MEASUREMENT' undeclared (first use in this functi on) XMDA300M.nc:301: interface has no command or event named `getSample' XMDA300M.nc:303: interface has no command or event named `getSample' XMDA300M.nc:305: interface has no command or event named `getSample' XMDA300M.nc:307: interface has no command or event named `getSample' XMDA300M.nc:307: `AVERAGE_FOUR' undeclared (first use in this function) XMDA300M.nc:307: `EXCITATION_25' undeclared (first use in this function) XMDA300M.nc:309: interface has no command or event named `getSample' XMDA300M.nc:311: interface has no command or event named `getSample' XMDA300M.nc:313: interface has no command or event named `getSample' XMDA300M.nc:315: interface has no command or event named `getSample' XMDA300M.nc:317: interface has no command or event named `getSample' XMDA300M.nc:319: interface has no command or event named `getSample' XMDA300M.nc:319: `EXCITATION_50' undeclared (first use in this function) XMDA300M.nc:319: `EXCITATION_ALWAYS_ON' undeclared (first use in this function) XMDA300M.nc:324: interface has no command or event named `getSample' XMDA300M.nc:324: `DIGITAL' undeclared (first use in this function) XMDA300M.nc:324: `RESET_ZERO_AFTER_READ' undeclared (first use in this function) XMDA300M.nc:324: `FALLING_EDGE' undeclared (first use in this function) XMDA300M.nc:326: interface has no command or event named `getSample' XMDA300M.nc:326: `RISING_EDGE' undeclared (first use in this function) XMDA300M.nc:326: `EVENT' undeclared (first use in this
[Tinyos-help] Re: using matlab: Undefined variable net or class
Anyone can help me please? Hello, I'm trying to use tinyos classes from matlab in windows. I have followed the steps in the tutorial, but it doesn't work. I can execute java classes from matlab, but not the tinyos classes. Whenever I try to use any class, I get the error: ??? Undefined variable net or class net.tinyos.sf.SerialForward.main. I have compiled these classes, and I have added them to matlab classpath, so I can not see what I am doing wrong. Could anyone please help me? It is very important. Thanks in advance, regards. -- next part -- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Installing TinyOS on Suse 10.0 x86_64
Hi everybody, I'm currently having trouble with Tinyos 1.1.0 installation on a Suse 10.0 for x86_64 (also tried the latest version 1.1.15 but also without success). I have followed installation instructions from TinyOS Website. - Downloaded the newest IBM java compiler (5.0) (instaled in /opt/ibm/java2-x86_64-50 folder) - Downloaded JavaCOMM the instalation were fine, no problems. Next I got all necessary packages (rpm). I haven't installed Graphviz 1.0 since I had a newer version on my system. The packages installation proceeded fine until tinyos-tools. The tinyos-tools didn't found the java virtual machine and aborted the installation script. Searching the web I found tinyos-tools spec file (http://www.tinyos.net/dist-1.1.0/tinyos/source/SPECS/tinyos-tools.spec) and followed the script instructions to finish installation manually (just typed install /usr/local/lib/tinyos/libgetenv.so /opt/ibm/java...). Installing the tinyos rpm, again it can't find neither java or javac. Again the script halt and installation was completed manually Considering installation finished I tried to complie Blink for mica2 and got a lot of linkage errors. Something like this: /tmp/ccRdmsSc.s:653: Error: unknown opcode `ledson' /tmp/ccRdmsSc.s:673: Error: `,' required /tmp/ccRdmsSc.s:673: Error: constant value required /tmp/ccRdmsSc.s:673: Error: garbage at end of line /tmp/ccRdmsSc.s:673: Error: unknown opcode `ledson' /tmp/ccRdmsSc.s:682: Error: expected comma after name `TimerM' in .size directive /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet' /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet' make: ** [build/mica2/main.exe] Erro 1 By the way, I'm using gcc 4.0.2 Have someone already installed tinyos on Suse? Had this problem? Can anyone help me? -- Carlos Eduardo Rodrigues Lopes Mestrando em Engenharia Eletrica - UFMG ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Installing TinyOS on Suse 10.0 x86_64
I had the same problem. Take a look in the readme/installation files of the java packages that you downloaded from that IBM site. You have to update the PATH variable and maybe something else - don't remember exactly. When I did that java and javac were found, but I still couldn't get the tinyos to run normally. Let me know if you succeed, jazzy79 Quoting Carlos Eduardo Rodrigues Lopes [EMAIL PROTECTED]: Hi everybody, I'm currently having trouble with Tinyos 1.1.0 installation on a Suse 10.0 for x86_64 (also tried the latest version 1.1.15 but also without success). I have followed installation instructions from TinyOS Website. - Downloaded the newest IBM java compiler (5.0) (instaled in /opt/ibm/java2-x86_64-50 folder) - Downloaded JavaCOMM the instalation were fine, no problems. Next I got all necessary packages (rpm). I haven't installed Graphviz 1.0 since I had a newer version on my system. The packages installation proceeded fine until tinyos-tools. The tinyos-tools didn't found the java virtual machine and aborted the installation script. Searching the web I found tinyos-tools spec file (http://www.tinyos.net/dist-1.1.0/tinyos/source/SPECS/tinyos-tools.spec) and followed the script instructions to finish installation manually (just typed install /usr/local/lib/tinyos/libgetenv.so /opt/ibm/java...). Installing the tinyos rpm, again it can't find neither java or javac. Again the script halt and installation was completed manually Considering installation finished I tried to complie Blink for mica2 and got a lot of linkage errors. Something like this: /tmp/ccRdmsSc.s:653: Error: unknown opcode `ledson' /tmp/ccRdmsSc.s:673: Error: `,' required /tmp/ccRdmsSc.s:673: Error: constant value required /tmp/ccRdmsSc.s:673: Error: garbage at end of line /tmp/ccRdmsSc.s:673: Error: unknown opcode `ledson' /tmp/ccRdmsSc.s:682: Error: expected comma after name `TimerM' in .size directive /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet' /tmp/ccRdmsSc.s:682: Error: unknown opcode `signalonet' make: ** [build/mica2/main.exe] Erro 1 By the way, I'm using gcc 4.0.2 Have someone already installed tinyos on Suse? Had this problem? Can anyone help me? -- Carlos Eduardo Rodrigues Lopes Mestrando em Engenharia Eletrica - UFMG ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help