[Tinyos-help] Need help on receiving multiple messages in tinyos-2.x

2007-06-25 Thread Murtuza
Hi Steve Thanks for ur reply...and i apologize for replying late I want to elaborate on these sentences of mine in the previous mail Two packets coming from different kinds of motes running different applications can be distinguished using AM types. Am I right ? [This was your reply] I'm

[Tinyos-help] GenericComm and AMStandard

2007-06-25 Thread Hari Om
Hello I was trying to udnerstand the code of GenericComm and AMStandard. Can someone please suggest any pointer to good documentation of the same ? TKS n RGDS Hariohm ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

RE: [Tinyos-help] GenericComm and AMStandard

2007-06-25 Thread Firat TARAKTAS
follow TEP-116 about Packet Protocols. Firat TARAKTAS ElectricalElectronics Engineer Reseracher GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED]

[Tinyos-help] BlockStorageC

2007-06-25 Thread lamiaimeil
Hi all, I have Boomerang 2.0.2 and I'm trying to use BlockstorageC for flash memory. I see only the following warning when I compile but BlockStorageC seems don't work.. Can someone help me? Thanks. C:/cygwin/opt/moteiv/tos/lib/Flash/STM25P/StorageManagerM.nc: In function

[Tinyos-help] Problems with symbol substitution on OS X

2007-06-25 Thread James Kebinger
Hello all, I'm trying to get tinyos 2.x up and running on my Mac, and I think I'm almost there, but I can't program node ids into my mica2 motes. I've followed a set of directions here: http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n It would appear that many of the changes from

[Tinyos-help] Measure TX time

2007-06-25 Thread Mehedi Bakht
Hi, I am working on tmotes in TinyOS 2.X on Cygwin. I want to measure the time spent by the radio in transmitting a message. Can someone suggest me how I can do it? Is there anyway to know when the radio has started sending a packet and when it is done? Thanks, --Mehedi

Re: [Tinyos-help] HELP on tinyos-1.x

2007-06-25 Thread Alexander Becher
* Amir: Can anyone explain to me the difference between these two declarations Comm.SendMsg[AM_MSG]; Comm.ReceiveMsg[AM_MSG]; and Comm.SendMsg; Comm.ReceiveMsg; I cannot comprehend why the former declaration is needed. TinyOS uses the Active Message abstraction. Which just means that every

Re: [Tinyos-help] Problems with symbol substitution on OS X

2007-06-25 Thread Bernardo Avila Pires
I have run into this problem recently and figured out a solution supposing that this $ was an avr separator. Go to line 33 in avr.rules and replace it for AMADDR = ActiveMessageAddressC\never1096WritEaddr (you should replace $ for \never1096WritE , which is the separator you've set)

[Tinyos-help] [TOSSIM]

2007-06-25 Thread vazoumana fofana
Hi i succeed in simulate Blink. Thern i decided to simulate BlinkToRadio. Firstly, i add a line to debug differents values of counter in BlinkToRadio code : dbg(BlinkToRadio,compteur : %s\n, btrpkt-counter); It doesn't work.How can i display the different values displayed by 2 motes. I use

[Tinyos-help] Dissemination with Deluge T2

2007-06-25 Thread J. Ryan Stinnett
I'm trying out Deluge T2, but I'm having trouble getting the images to transmit beyond the base station. I started by flashing GoldenImageC on to two motes, and then injecting same image onto volume 0 of each as well. When I ping volume 0, each one reports that the image is there. I then

[Tinyos-help] Led Blinking

2007-06-25 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] Interfaces

2007-06-25 Thread Bernardo Avila Pires
Deer TinyOS-ers, And so it came the day when I had to measure received signal strength, etc, in mica2 motes. I found that cc2420 has a nice and simple way to get such information. It is not the case for cc1000, is it? What if I define an interface for it and implement the operations? Would

[Tinyos-help] [TOSSIM]

2007-06-25 Thread vazoumana fofana
Hello bibudh and Mehdi, i don't understand very well your expanation about how displaying values with debug. indeed, i ve met the same problem than Mehedi Bakht. You say that : U need a debug mode, e.g., dbg(DBG_TEMP, Counter: Value is %i\n, (int)state); here the mode is 'temp'. To get the

[Tinyos-help] Re: [TOSSIM]

2007-06-25 Thread Bibudh Lahiri
Hi r u sure u wrote 'temp' in lowercase in the command export DBG=temp? I myself made the mistake once, so... Also, why don't u write the following statement dbg(DBG_TEMP,BlinkToRadio,compteur : %s\n,btrpkt-counter); as dbg(DBG_TEMP,BlinkToRadio computer : %s\n,btrpkt-counter); ? Can

Re: [Tinyos-help] Multichannel Adc sampling and DMA

2007-06-25 Thread Jan Hauer
Updated in CVS. I extended the test app in tinyos-2.x/apps/tests/msp430/Adc12. Jan On 6/19/07, Nicolas Esteves [EMAIL PROTECTED] wrote: Ok, I've enough other stuff to look at so i'll wait for the multi channel :) Thanks again for your reply regards Jan Hauer wrote: the buffer signaled by

[Tinyos-help] HelpTinyOS-1.x-Eclipse Plugin

2007-06-25 Thread antonio gonga
Hey all,I installed the eclipse plugin for TinyOS, but when I try to compile an application, I get the following error:nesc1.exe- Entry Point Not FoundThe procedure entry point __getreent could not be located in the dynamic link library cygwin1.dll

Re: [Tinyos-help] Led Blinking

2007-06-25 Thread Michael Schippling
Put a counter in the Timer.fired() method of the Blink demo app... MS Yesid Jarma wrote: 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

Re: [Tinyos-help] Interfaces

2007-06-25 Thread Michael Schippling
In T1, and I think T2 as well, you can look at the Tos_Msg.strength field in your message receive() function(s). This will give you the raw reading from the chip's rssi pin. I keep forgetting how to convert it to dbm, so search this list or the xbow manuals for the formula. MS Bernardo Avila

[Tinyos-help] message_t on micaz and tos_msg on telos

2007-06-25 Thread Jordi Casals
Hi, Is it possible to communicate via radio a micaz with T2 and a telos with T1? We have developed two applications in the diferent plataforms and we need to communicate them... I am trying to modify the header of message_t but it is not so simple. Thank you! -- Jordi Casals E-mail: [EMAIL

[Tinyos-help] Re: message_t on micaz and tos_msg on telos

2007-06-25 Thread Jordi Casals
sorry, i have seen there is a thread with the answer... Thank you 2007/6/25, Jordi Casals [EMAIL PROTECTED]: Hi, Is it possible to communicate via radio a micaz with T2 and a telos with T1? We have developed two applications in the diferent plataforms and we need to communicate them... I am

Re: [Tinyos-help] Interfaces

2007-06-25 Thread Bernardo Avila Pires
What I got from TEP 111 was that we should use interface programming, instead of accessing the field directly. Besides, Tos_Msg was replaced for message_t in T2... Thanks for the help 2007/6/25, Michael Schippling [EMAIL PROTECTED]: In T1, and I think T2 as well, you can look at the

Re: [Tinyos-help] Dissemination with Deluge T2

2007-06-25 Thread Chieh-Jan (Mike) Liang
Hi Ryan, I tried to reproduce the problem, but I couldn't. Could you please tell me the platform you are using (I currently assume Telosb), and the commands you typed? Thank you Mike J. Ryan Stinnett wrote: I'm trying out Deluge T2, but I'm having trouble getting the images to transmit

Re: [Tinyos-help] Interfaces

2007-06-25 Thread Michael Schippling
YetAnotherReason I will probably never upgrade to T2... MS Bernardo Avila Pires wrote: What I got from TEP 111 was that we should use interface programming, instead of accessing the field directly. Besides, Tos_Msg was replaced for message_t in T2... Thanks for the help 2007/6/25, Michael

[Tinyos-help] packet transmission

2007-06-25 Thread roberto pagliari
Hi All, I know from cc2420 datasheet that during the transmission of a packet the fsd pin must be kept high. Two questions regarding the sendPacket function: 1) where the sfd is set high 2) why the use of TOSH_uwait(450) instead of while (TOSH_READ_CC_SFD_PIN()){};only? void

[Tinyos-help] Regarding battery and Voltage Regulator

2007-06-25 Thread manu suryavansh
Hi, I am using tmote sky and I want to use a rechargeable battery with the motes. I wanted to know is there any specific type of battery I should use with particular amount of output current. Also if someone can tell me any voltage regulator/dc dc converter to use with the battery which can

[Tinyos-help] Error in generating documents

2007-06-25 Thread Mehedi Bakht
I am working with tmotes in TinyOS 2.x on Cygwin. When I type make tmote docs, I see a long list of filenames and finally get the following error: Traceback (most recent call last): File /usr/lib/tinyos/nesdoc/genhtml.py, line 88, in ? generate_component(ixml.documentElement) File

[Tinyos-help] Packet length (again)

2007-06-25 Thread Benjamin Madore
I'm sampling rssi values in my application, monitoring when a transmission occurs. However, I'm not sure of the time it takes to transmit a packet. So far for a standard packet I believe: Preamble is 8 bytes Sync is 2 bytes Message is between 7 and 36 bytes. In the standard Mica2 stack, using

[Tinyos-help] missing XMeshRouter file?

2007-06-25 Thread Christopher Jenkins
Hello, I recently installed MoteWorks 2.0F and went to try the example program, XMeshCountToLeds. When I went to do the make command, it was unable to find XMeshRouter, and my search of the directories yielded the same result. I found a similarly named file, XMeshBinaryRouter, but it does not

RE: [Tinyos-help] missing XMeshRouter file?

2007-06-25 Thread Giri Baleri
Hello Chris, The XMeshRouter is a component file available only through XMesh source (via Crossbow CVS access for Enterprise users). For standard users, the binary version of this is provided as XMeshBinary Router. The application refers to XMesh as MULTIHOPROUTER (defined by a macro) and this

Re: [Tinyos-help] Dissemination with Deluge T2

2007-06-25 Thread J. Ryan Stinnett
Mike - Sorry I left that part out! I am using MicaZ, so perhaps that is where the difference lies. I've included the commands I used below. They all appear to complete successfully. (Hook up mote 0) cd /opt/tinyos-2.x/apps/tests/deluge/GoldenImage make micaz install,0 mib510,/dev/ttyS4

[Tinyos-help] RadioTimeStamping.transmittedSFD

2007-06-25 Thread Mehedi Bakht
Hi, I want to know what does the variable time in the event RadioTimeStamping.transmittedSFD denotes. The interface RadioStamping.nc says that the event Provides the time at which start of frame delimiter has been transmitted: units are in terms of a 32kHz clock. Does this clock gets reset

Re: [Tinyos-help] Need help on receiving multiple messages in tinyos-2.x

2007-06-25 Thread Bernardo Avila Pires
2007/6/25, Murtuza [EMAIL PROTECTED]: Hi Steve Thanks for ur reply...and i apologize for replying late I want to elaborate on these sentences of mine in the previous mail Two packets coming from different kinds of motes running different applications can be distinguished using AM types.

Re: [Tinyos-help] Need help on receiving multiple messages in tinyos-2.x

2007-06-25 Thread Bernardo Avila Pires
Yes, you can. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] about CC2420

2007-06-25 Thread roberto pagliari
before testing some code that simply measures the rssi I just need to know a thing. When I get the RSSI value from the cc2420 register, or if I simply want to know if the rssi is greater then the cca threshold, using the call TOSH_READ_RADIO_CCA_PIN(), I know that this takes 8 symbol periods. Two

[Tinyos-help] building the tinyos-2.x jnilibs on osx

2007-06-25 Thread James Kebinger
Hello all, I'm struggling though getting the tinyos2.x environment up on my mac, and the last missing piece is building the jnilibs to talk to the serial port. I've mixed and matched two sets of directions: http://docs.google.com/View?docid=ajjph9mvqk3z_bchp66xkmgk6n and

[Tinyos-help] The distinguishment between configuration and module

2007-06-25 Thread Jin-serk Baik
Hello, I suddenly wonder why the 'configuration' and the 'module' should be distinguished. I think that it will be better to understand or implement the structure of NesC code, if we use just one keyword 'component' and declare the used child components to wire them in it, or define the

[Tinyos-help] using Python to receive and inject packets with real motes

2007-06-25 Thread James Kebinger
Hello again, I'm trying to figure out how to use Python with live motes (tiny os 2.x) rather than TOSSIM. I can generate a Python class with mig, but after that I'm stumped. What's the equivalent to message reader for python? Can python attach to the mote via the serial forwarder? I've googled

[Tinyos-help] CC2420 SACK question

2007-06-25 Thread Chieh-Jan (Mike) Liang
I am looking at CC2420ReceiveP.nc for software ACK. I see that strobing SACK to CC2420 is done after both the packet header and payload have been read. My question is when you strobe SACK, how does CC2420 know which packet to ACK for (since there might be multiple packets in the FIFO queue).

[Tinyos-help] ChipCon CC1000

2007-06-25 Thread Ahmed Said
Hi, How can i control the radio power of the ChipCon CC1000 in TinyOs 2.0..? Thanks in advance, Regards, Ahmed ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU