Re: [Tinyos-help] Reducing micaZ transmission range in TinyOS 2.0

2007-07-12 Thread Urs Hunkeler
Hi Prem, As Christian pointed out, to reduce the transmission range you have to reduce the transmission power. In Tinyos 2 with a platform with the cc2420 (such as MicaZ and the Tmotes), you can use either a flag in the makefile: CFLAGS += -DCC2420_DEF_RFPOWER=1 or you can dynamically change

[Tinyos-help] [Fwd: HELP REGARDING USE OF MATCHbOX]

2007-07-12 Thread Urs Hunkeler
I probably got this message by mistake since I'm not using matchbox. Original-Nachricht Betreff: HELP REGARDING USE OF MATCHbOX Datum: Wed, 11 Jul 2007 14:04:54 -0700 (PDT) Von: Farhana Khan [EMAIL PROTECTED] An: [EMAIL PROTECTED] Hello I need help in using Matchbox. I

[Tinyos-help] Delay needed for dissemination's packet

2007-07-12 Thread Daniel Widyanto
Hi all, I'm building node-to-node multihop network using dissemination. Like the TEP118 sec 5 suggested, I'm adding my own predicate to make sure that only a certain node can receive the command. My problem is that whenever I send two or more commands to the different nodes too fast, one of

[Tinyos-help] forward 'Message' type. MoteIF

2007-07-12 Thread julien falco
Good Morning, I am trying to forward the type Message from a Class using MoteIF. Whatever I triy, I always get the error below, even if I call mpc.processMessage() without argument! Can we not send the type Message any further? Thank you for your help! Class using MoteIF: public void

[Tinyos-help] How to browse bugs in bug tracker system.

2007-07-12 Thread Zhifeng Lai
Dear all, How can I browse all the bugs recorded in the bug tracker located at SourceForge (http://sourceforge.net/projects/tinyos/)? Best regards, Yours, Zhifeng Lai ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] CC2420 sleep mode

2007-07-12 Thread mona zima
Hello, I am new in tinyos 2 and I have a question. I would like to let the tmote sky mote to go to sleep mode,I have read that the msp430..microcontroller does the job automatically! is that true? What about the C2420? How is it possible to switch it off and on. Many thanks for any help. mona

[Tinyos-help] [Storage]

2007-07-12 Thread vazoumana fofana
Hello, i m using an application wich use Logwrite. To use it, you have to include StorageVolumes.h. But when, i compile it displays it doesn t know this file. Someone can help me ? Thanks _ Ten : Messenger en illimité sur

[Tinyos-help] Getting CRC value from cc2420

2007-07-12 Thread Hi Its me
Hi, I would like to know if I can somehow get the 16 bit CRC which is calculated by the cc2420 radio for an incoming packet. And also how can I implement CRC calculation and verification in software and disable the hardware support for CRC in cc2420. Thanks in advance.

[Tinyos-help] [Storage]

2007-07-12 Thread vazoumana fofana
Hello I ve just understood a thing. To use , Log read function , you have to include XML file to specify the name of volume. I do it. there is a specific file if you to compile with telosb or micaz. _ Windows Live Spaces : créez

[Tinyos-help] BusyWaitCounterC

2007-07-12 Thread gmail . yeso
Hello, Has anyone been able to solve the wiring issue when using BusyWaitCounterC? Thanks ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help of MoteWorks

2007-07-12 Thread Chris Yao
Hi, I am new to TinyOS. I just installed MoteWorks (from www.xbow.com) on my Windows XP. However, I have the following two problems: 1. After I double click Cygwin button: I got the following error: C:\Crossbow\cygwin\bin\bash.exe (2308): *** fork: can't reserve memory for

[Tinyos-help] Sensornet (SP) and Make

2007-07-12 Thread David Henry
I've noticed the sentence SP = REMOVE in some of Moteiv application makefiles. What exactly does this mean and when do I need to use it? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Getting CRC value from cc2420

2007-07-12 Thread Hi Its me
Hi, Thank you Brian for such a fast reply. Actually my problem is that when the cc2420 radio recieves a packet (with the packet having last two bytes as the CRC bytes), it checks whether the CRC bytes in the packet are correct or not. and then it replaces the two CRC bytes at the

RE: [Tinyos-help] help of MoteWorks

2007-07-12 Thread Giri Baleri
Hi Chris, It sounds like you have Cygwin related issues. Did you install MoteWorks on top of previous version of TinyOS or Cygwin? The second error indicates that not all the tools properly got installed, which could very well be due to Cygwin issues. - Giri

[Tinyos-help] ask for help to get a detailed documentation for nesC

2007-07-12 Thread basma mohamed
Please i want your help to get a detailed documentation for nesC (specify how to declare variables, different variable types, loops, conditional statments, ...). thank you. - The fish are biting. Get more visitors on your site using Yahoo! Search

[Tinyos-help] Tmote Problem: Generating 32Khz clock on a GIO pin.

2007-07-12 Thread chinmay agarwal
Hi, i am a new user of tmote i need to nterface PARALLASX HITACHI H48C3 accelerometer module with tmote. I need to read from module in serial form. (I can't use SPI for some interfacing reasons.) I need to generate a greater than 10 KHZ square wave on a GIO pin. Parallely without blocking the

[Tinyos-help] TinyOS on ATmega1281 (AVR-ZLink)

2007-07-12 Thread Dedalo Dedalo
Hi everyone. I'm a new user of the mailing list I'm a student and I recently had some experience programming Crossbow Mica2. I worked with Gentoo Linux. Now I need to use Atmel AVR Z-link but I noticed that, in the version of TinyOS that I installed (2.0.1), there is no platform library for

[Tinyos-help] the struct NetSyncMsg

2007-07-12 Thread Omar E Marcillo Lara
HI everyone: I am using the compoent NetSync, I included an extra variable in the structure NetSyncMsg (uint32_t last PPS).. typedef struct NetSyncMsg { uint16_t addr; // 2 uint32_t on; // 4 uint32_t off; // 4 uint32_t period; // 4 uint32_t local_time;

[Tinyos-help] Multi hop, data aggregation and tmote / telosb

2007-07-12 Thread Yann-Ael Le Borgne
Hi all, I would like to implement on TELOSB or TMOTE platforms a data gathering protocol with in network data aggregation (for implementing operators similar to 'average' or 'quantiles'). So basically it requires the routing tree to synchronize nodes so that children nodes send their data

Re: [Tinyos-help] sending array with moteif

2007-07-12 Thread julien falco
and i wrong copied/pasted: here is example B again: example B: not working short[] CmdArray = new short[1]; short Cmd; int hex; protected RemoteController rc; public void justdoit(){ try{ String b1 = _byte1.getText(); hex =

[Tinyos-help] (no subject)

2007-07-12 Thread bou ahm
I am new to tinyos I am liveliness of implement the directed diffusion, I am facing problems with learning the nesc language ,the broadcast of many messages at same time from several source nodes to the same recipient node cause many problems mainly the loss of messages ,I have used a buffer

[Tinyos-help] Running TOSSIM simulation for specified virtual time

2007-07-12 Thread Muhammad Hamad Aliazi
Hi, In TinyOS-1 TOSSIM simulation could be run for a specified number of simulated seconds using -t option. However, in TinyOS-2 the simulation is configured by using a driver program which contains a loop that runs events from the simulation queue. Is there any way in TinyOS-2 to configure

[Tinyos-help] Interfacing SDRAM with Telos Mote

2007-07-12 Thread phate shawn
Hi all, I would like to interface SDRAM with my Telos Mote. Can anyone please guide me on how to proceed with interfacing SDRAM with Telos Mote using SPI (or I2C) interface? Thanks -Sandeep

[Tinyos-help] toscomm JNI library not found (when it's clearly there)

2007-07-12 Thread John Smith
Hi, I'm using tinyos-2.x on Linux (gentoo). Everything works fine, except Serial comm. I get the same error that JNI library is not found, when it is clearly there: [EMAIL PROTECTED] /opt/ibm-java2-i386-50/jre/bin $ ls -l libtos* -rwxr-xr-x 1 root root 89949 Jun 24 19:13 libtoscomm.so The

[Tinyos-help] Led Blinking

2007-07-12 Thread Yesid Jarma
Hello, Is there an easy way to make one led on a mote blink a determined number of times?? I want to show the value of a variable by making one led blink. For instance, if the variable is 5, the led should blink 5 times, every 10 seconds. But the leds should blink 1 time every 5 seconds so

[Tinyos-help] DRAM interface to telosb

2007-07-12 Thread ssnavada
Hi all, What would be the best way to interface a DRAM with Telosb board? I would really appreciate a reply. Thanks, -Sandeep ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Injecting Packets

2007-07-12 Thread Nicole Caruso
Hello. I wrote a small program that defines events for an active node. It compiles in TOSSIM. I am having trouble injecting packets using TOSSIM. I get the following error: from ActiveMsg import * Traceback (most recent call last): File stdin, line 1, in ? File ActiveMsg.py, line 7, in ?

[Tinyos-help] How to Connect TWO (or more) PCs using Tmote Sky/Connect

2007-07-12 Thread cwang
Hi Folks, I have some Tmote connect and Tmote sky. I want to use sensor networks as a bridge to connect two (or more) computers. I am considering the following two approaches. Method #1 - without Tmote connect Connect Tmote sky #1 to PC #1. Connect Tmote sky#2 to PC #2. How to send

[Tinyos-help] Topology

2007-07-12 Thread Nicole Caruso
Hello. I wrote a small program that defines events for an active node. It compiles in TOSSIM. I am having trouble defining a topology. In the Active folder, I have a Topo.txt file with contains the following (node, x, y): 0 1.0 1.0 1 1.0 10.0 I get the following error when trying to

[Tinyos-help] start frame delimiter (SFD) detection - time precision

2007-07-12 Thread ps.box
Hello tinyos-ers! I'm using the "time" metadata field to know when the packet was received/sent, but that is in 32khz time units. Is there any way to know the time in microseconds? And possibly in a larger integer than 16bit? Hope to hear from you, thanks

[Tinyos-help] Help with GPS for the motes

2007-07-12 Thread Félix Belzunce Arcos
Hi, I am looking for a way to get an accuracy of 1 microsecond in MTS420. I have seen that MTS420 provides a miximum accuracy of 1 ms and I need an accuracy of 1 usec for my application. Does anyone know of any? Thanks in advance tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Problems with UartDebugger.nc ?

2007-07-12 Thread Hossam El-Din Hassanein
Hello There , I need to know some things about the UartDebugger module : 1) I don't understand what is the old style programming board that I must use in order to put the mote on. 2) Unfortunately , I bought a topway LCD instead of the Scott Edwards LCD . So I need to know how could my LCD

[Tinyos-help] how to make mica mote receiver / transmitter ?

2007-07-12 Thread Hossam El-Din Hassanein
Hello there , I am using a mica2 mote and facing a problem at some points . One of these points can be described as follows: I need for the mote to act as a receiver and a transmitter of data at the same time . I tried to refer to some modules that are ready like CntToLedsAndRfm and RfmToLeds

[Tinyos-help] Problems with MDA320 Counter

2007-07-12 Thread Sean Scannell
I'm having trouble getting the Counter on the MDA320 to work properly. It acts more as a Digital I/O pin. I've looked into the code and it doesn't seem to be entering 'state 1'. Anyone have a quick fix for this? Any help would be appreciated. Thanks, Sean

{Spam?} [Tinyos-help] XSensorMTS300 compilation problem

2007-07-12 Thread mmikcinski
Hi, I had the same problem as you connected with compilation XSensorMTS300. I am new in Tinyos and I wonder how have you solved it? Could you give me some hints? Thanks, Mariusz___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] TinyOS on MacOSX (Intel)

2007-07-12 Thread Ibrahim Khalife
Hi, I am having trouble getting msp430-gcc working on my MAC OS X. Thank you very much for your help!! The message after running ./build-mspgcc install is: ./build-mspgcc: line 1: !/bin/bash: No such file or directory processing MSPGCC_CVS download MSPGCC_CVS: found

[Tinyos-help] modification of tinyos for other devices not supported yet

2007-07-12 Thread huangkaikiki
I just want to adapt the tinyos to the devices not supported yet. But with no idea of how to make the modification and where to begin from. Can you provide me some documents related. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] routing getParent()

2007-07-12 Thread 정관희
Hello all! I'm testing multihop routing. So, I modified the part of RouteControl.getParent() to set up gpCurrentParent-id. So, I wrote switch() below add= ~ line. command uint16_t RouteControl.getParent(){ -- addr = ( ~~ blablabla); switch( TOS_LOCAL_ADDRESS){ call

[Tinyos-help] Knowledgebase on Simulations Tools for Wireless Sensor Networks

2007-07-12 Thread Markus Becker
Dear researchers in the area of Wireless Sensor Networks, there is a multitude of simulation tools for WSNs around in the WWW. For beginners in the area, the multitude of tools might be very confusing, as there is no extensive comparison of the tools available. Within the EU project CRUISE a

[Tinyos-help] Can I know about avoiding busy channel ?

2007-07-12 Thread DAE HEE KIM
Hello. I am looking at the way that I can avoid busy channel. I am making routing protocol by TinyOS 2.0.1 and Tossim. While I am making fowarding function, I realized that a intermediate node cannot forward to destination node or other intermediate nodes due to busy channel. Can I get the

[Tinyos-help] Radio waves polarization of Tmote Sky

2007-07-12 Thread Tsenka Stoyanova
Hi all, I am curious about the polarization of the radio waves, when the internal antenna of Tmote Sky is used. I need this information for modeling the RF signal propagation. Based on our experiments and measurements, concerning the RSS behavior, I suspect that after the antenna the RF

[Tinyos-help] Consultation on nesC execution model.

2007-07-12 Thread Zhifeng Lai
Dear all, I have some confusion on nesC execution model: (1) Is it true that all the code is preemptable, except those contained in atomic blocks? (2) What is the difference when we call async and sync command from tasks? (3) Can events have more than one event handlers? Best regards,

[Tinyos-help] Errors on make mica2.

2007-07-12 Thread Zhifeng Lai
Dear all, When I invoke make mica2 in Cygwin, I got the following error messages: /cygdrive/d/Temp/ccclABYq.s:190: Error: garbage at end of line /cygdrive/d/Temp/ccclABYq.s:190: Error: unknown opcode `mstate' /cygdrive/d/Temp/ccclABYq.s:191: Error: missing ')' /cygdrive/d/Temp/ccclABYq.s:191:

[Tinyos-help] Seek simulator that can simulate interrupts.

2007-07-12 Thread Zhifeng Lai
Dear all, Is there simulator that can simulate the preemptive effects of interrupts on top of TinyOS model and nesC language? Thanks! Best regards, Yours, Zhifeng Lai ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

[Tinyos-help] Problem with CntToLedsAndRfm

2007-07-12 Thread Y.Gu
Dear All, I just start to use tmote sky. I follow the Tmote Sky: Quick Start Guide (3/1/2006) and Tmote Tools CD v2.0.5 to install Tmote tools in Windows. I want to compile and install an application named CntToLedsAndRfm under /opt/tinyos-1.x/apps/CntToLedsAndRfm I enter make

RE: [Tinyos-help] Running TOSSIM simulation for specified virtual time

2007-07-12 Thread vazoumana fofana
yes, i send you en ewample : it s in nanoseconds from TOSSIM import * import sys f = open(log2.txt, w) t = Tossim([]) r= t.radio() t.init r.add(0, 1, -54.0) r.add(1, 0, -53.0) t.addChannel(emission, sys.stdout); t.addChannel(reception, sys.stdout); t.addChannel(emission, f);

[Tinyos-help] TAG tiny aggregation

2007-07-12 Thread Arpan Solanki
Our final aim is to develop a system like TAG(tiny aggregation) but for start i am writing few small codes(Tinyos 1.1) for TAG. According to TAg all children nodes send data to their parent at a fixed epoch continuously. In our case for a start we are trying that, 3 children nodes send readings

[Tinyos-help] SPI clock frequency

2007-07-12 Thread roberto pagliari
Hi All, the HPLCC2420M module in tinyos 1.x is responsible for the communications between the uController and the cc2420. the Spi frequency should be around 3.6 Mhz. My question is: who is responsible to send and receive data at that frequency? Is it handled by the hardware automatically? thank

Re: [Tinyos-help] sending array with moteif

2007-07-12 Thread Michael Schippling
I missed the beginning of this...is this T2? I only find RemoteControl.java (no ...ler) in my T1 tools, and it doesn't have a sendCommand( short[] ) method. But a couple things to check anyway: First the mig struct is a byte and you are using a short, and second, assuming there is a send-array

[Tinyos-help] tinyos (help) oscilloscope help

2007-07-12 Thread nirfan
Hi I am running the Oscilloscope program on a TelosB Mote as described in the manual and I succesfully connected it to the java oscilloscope. Now I wonder what I am getting on a TelosB Mote. My results are all around 3200, is that normal? Is there any specific documentation available on using the

Re: [Tinyos-help] (no subject)

2007-07-12 Thread Michael Schippling
Radio contention is not really a nescc issue, but I admit it's not easy to learn...anyway, the general issue is that messages transmitted at the same time will interfere, and the only way to fix that is to have some kind of ACKnowledgement system with retries. If the transmitting nodes can all

Re: [Tinyos-help] SPI clock frequency

2007-07-12 Thread Marco Antonio Lopez Trinidad
Hi roberto, On the radio there are three pins: SI: Serial Input SO: Serial Output SPIClock: this is the clock input and the beating must be provided by the microcontroller, in particular the ATMega128L has a dedicated output for this propose that must be configured by software. ciao, --marco.

Re: [Tinyos-help] Listen Tool Problem

2007-07-12 Thread Michael Schippling
If by no data you mean a value of zero, you are correct... Those last 00 00 should be your two bytes of data. The program that is sending that message may be reading something at Ground potential, or not sensing anything at all. What code/platform/version/etc are you using? MS Thamilarasu,

Re: [Tinyos-help] Problem with CntToLedsAndRfm

2007-07-12 Thread Michael Schippling
How to solve this problem? Thank you! You can start by posting the actual error lines... MS [EMAIL PROTECTED] wrote: Dear All, I just start to use tmote sky. I follow the “Tmote Sky: Quick Start Guide (3/1/2006)” and Tmote Tools CD v2.0.5 to install Tmote tools in Windows. I want

[Tinyos-help] TestPC2420 - Component not found

2007-07-12 Thread Ittipong Khemapech
Dear all, I'm a newbie to TinyOS and just applied to this mailing list. I am trying to write a code to manipulate a mote transmitting at different transmission power levels. As I have no mote at hands now, I started using TOSSIM (make pc) to see how it went. Firstly, I tried CC2420RadioC and

Re: [Tinyos-help] SPI clock frequency

2007-07-12 Thread roberto pagliari
so the HPLCC2420M module doesnt care about the spi frequency because the output pins automatically. Do you know exactly what is the purpose of HPLPowerManagement module, used within AMStandard? On 7/12/07, Marco Antonio Lopez Trinidad [EMAIL PROTECTED] wrote: Hi roberto, On the radio there

[Tinyos-help] Tos 2.x printf service equivalent for 1.x?

2007-07-12 Thread James Kebinger
Is there an equivalent service for tiny os 1.x that does the same thing as the 2.x printf service? I'm looking at DiagMessage service under 1.x, but would prefer something that would dump the packets to the serial port instead. thanks -james ___

[Tinyos-help] Re: Tmote CPU frequency

2007-07-12 Thread Joe Polastre
When you are using Boomerang, you can compile for an 8MHz clock by using a compile time flag. Specifically: CFLAGS=-DMSP430_USE_ROSC_8MHZ make tmote I've cc'd tinyos-help@millennium.berkeley.edu for others that may find this information helpful. -Joe On 7/9/07, [EMAIL PROTECTED] [EMAIL

RE: [Tinyos-help] help of MoteWorks

2007-07-12 Thread Chris Yao
Hi Giri, Thanks for your reply. Several months ago, I installed cygwin and tinyos separately, and make it work. Then I plan to switch to MoteWorks. So, I manually remove the directory of Cygwin (because Cygwin does not have uninstall utility) and Tinyos. Then I install

RE: [Tinyos-help] help of MoteWorks

2007-07-12 Thread Giri Baleri
Chris, You probably didn't remove Cygwin registry files after you deleted Cygwin. Here's what I would suggest: 1. Uninstall MoteWorks from Add/Remove Programs. 2. Uninstall copy of Cygwin(s) as per instructions below: http://www.tinyos.net/tinyos-1.x/doc/uninstall.html#cygwin 3. Roboot the PC

RE: [Tinyos-help] help of MoteWorks

2007-07-12 Thread Chris Yao
Giri, You are right. I did not remove Cygwin registry. I will follow what you suggest. Many thanks, Chris Giri Baleri [EMAIL PROTECTED] wrote: Chris, You probably didn't remove Cygwin registry files after you deleted Cygwin. Here's what I would suggest: 1.

Re: [Tinyos-help] CC2420 sleep mode

2007-07-12 Thread Peizhao Hu
I guess by saying sleep mode, people is referring to two types: (a) turn on all power management features for radio, MCU, etc; (b) simply, implement your own sleep mode schema, turn on/off the radio according to timer fired. mona zima wrote: Hello, I am new in tinyos 2 and I have a question.

[Tinyos-help] SFD handling

2007-07-12 Thread roberto pagliari
where is the SFD handling in tinyos 1.x versions = then 1.7 ? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] How to browse bugs in bug tracker system.

2007-07-12 Thread Zhifeng Lai
Dear Peizhao, Thanks for your reply. There are altogether 247 bugs recorded in the bug tracker. However, I can only access only 5 of them. How can I browse all of them? Best regards, Yours, Zhifeng Lai -Original Message- From: Peizhao Hu [mailto:[EMAIL PROTECTED] Sent: Friday, July

[Tinyos-help] MoteWorks and TinyOs/Cygwin

2007-07-12 Thread Chris Yao
hi, I am wondering what is the difference between the following two: 1. install TinyOS and Cygwin to develop applications; 2. install MoteWorks to develop applications which one is better? more powerful? Sorry for the silly question, I am new to MoteWorks. Thanks,

RE: [Tinyos-help] help of MoteWorks

2007-07-12 Thread Chris Yao
Hi Giri, Sorry to bother again. I am new to MoteWorks. I follow your suggestions, and try to upload the lesson1 again. And I got the following error: ide.pl Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $ Executing:

Re: RE: [Tinyos-help] How to browse bugs in bug tracker system.

2007-07-12 Thread J. Ryan Stinnett
Change the Status from Open to Any and click Browse. However, the bug tracker is not used very frequently and the mailing lists are usually a better resource. - Ryan Zhifeng Lai wrote: Dear Peizhao, Thanks for your reply. There are altogether 247 bugs recorded in the bug tracker. However,