[Tinyos-help] issues with serial throughput PC - Mote (-PC)

2009-03-02 Thread Andrey Gursky
Hi! I did some measurements on serial throughput using IRIS mote. The C-Program sends the data as quickly as possible (the send function returns ACK/NACK), mote doesn't send it back. The results are: using: 2 byte payload (9 byte in all), transmitting direction: mote - PC: 1) standard 57600 bit/s

Re: [Tinyos-help] Listen Tossim

2009-02-25 Thread Andrey Gursky
Hi Rubenalia! You can supply to applications from java SDK, such as Listen, a parameter e.g. -comm s...@localhost:9001 If you start the special SerialForwarder for TOSSIM (in e.g. Driver.cpp) on the port 9001, you could connect to it with Listen. Best wishes, Andrey Rubenalia wrote: Hi,

Re: [Tinyos-help] wireless communication speed

2009-02-25 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Hi Andrey, On Tue, Feb 24, 2009 at 10:23 AM, Andrey Gursky andrey.gur...@online.ua wrote: Hi Miklos! Miklos Maroti wrote: These are acknowledged messages, right? What if you turn off acknowledgments? Miklos Yes. If I'm calling

Re: [Tinyos-help] wireless communication speed

2009-02-25 Thread Andrey Gursky
Miklos Maroti wrote: On Tue, Feb 24, 2009 at 10:33 AM, Andrey Gursky andrey.gur...@online.ua wrote: Miklos Maroti wrote: Hi Andrey, And may be you know the actual state about enabling blip (b6lowpan) on IRIS? Unfortunately no. Can you give some pointers? There was one conversation

Re: [Tinyos-help] wireless communication speed

2009-02-25 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Hi Andrey, My first effort to use channel switching is failed. The event setChannelDone() should be signaled only if the channel was successfully switched. This event is being signaled in my program (I let the LED toggling in this event), but the channel

Re: [Tinyos-help] wireless communication speed

2009-02-25 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Hi Andrey, But regarding ACKs. There are some statistics for default MAC with 2 motes (only the first mote sends): ACK default: 160 packets/s noAck: 160 requestAck: 145 So the ACKs seem to be off by default. And ACKs cost almost nothing at all.

Re: [Tinyos-help] wireless communication speed

2009-02-25 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Hi Andrey, It's OK. Thanks for the implementation! So, the getChannel() on the remote mote returns the new channel, while on the basestation the old channel and motes can communicate. I'm using the radio stop/start between switch. No need to do that, but

Re: [Tinyos-help] wireless communication speed

2009-02-24 Thread Andrey Gursky
at 11:48 PM, Andrey Gursky andrey.gur...@online.ua wrote: Hi Miklos! Miklos Maroti wrote: On Tue, Feb 17, 2009 at 5:05 PM, Andrey Gursky andrey.gur...@online.ua wrote: Hi Miklos! Miklos Maroti wrote: Did you try RF230_SLOTTED_MAC ever? You should be able to get better performance. No, I

Re: [Tinyos-help] wireless communication speed

2009-02-24 Thread Andrey Gursky
Miklos Maroti wrote: Hi Andrey, And may be you know the actual state about enabling blip (b6lowpan) on IRIS? Unfortunately no. Can you give some pointers? There was one conversation between you and Steve (blip developer):

Re: [Tinyos-help] wireless communication speed

2009-02-24 Thread Andrey Gursky
Miklos Maroti wrote: The test with 3 motes is now ready. Every mote sends the next packet in a task that is being posted in sendDone(). The results in comparison to default MAC: 53 - 60 packets/s Just to clarify, this means 3 times 60 messages? Yes. The first mote sends the message. Only

Re: [Tinyos-help] can't find PowerTOSSIM in TinyOS-2.1

2009-02-24 Thread Andrey Gursky
Hi! levy david wrote: Hello everyone, I use TinyOS 2.1 (with Cygwin) and I can't find PowerTOSSIM. You can find it in tinyos-2.x-contrib cvs (in subdirectory cedt). According to README it should work with TinyOS 2.0.2. I personally didn't ever use PowerTOSSIM. Best wishes, Andrey

Re: [Tinyos-help] 6lowpan and 802.15.4 support on TinyOS

2009-02-20 Thread Andrey Gursky
Hi! Raunak Roongta wrote: Hi All, I am developing various security mechanisms for connecting Wireless sensor networks with Internet. I am using TinyOS as the operating system. I need implementation for 6lowpan and 802.15.4 to be deployed over TinyOS. It will give me the framework to start

Re: [Tinyos-help] IRIS, not a valid target

2009-02-19 Thread Andrey Gursky
Hi Milos! Maybe you try to install the latest 2.1? But if you want to use 2.0.2, try this: http://w3.isis.vanderbilt.edu/projects/NEST/tinyos-2.x-iris/doc/html/install-tinyos-iris.html Best wishes, Andrey milos rovcanin wrote: Listen to this: I have managed to install tinyOs 2.0.2 and now,

Re: [Tinyos-help] Enqueries on nx_float

2009-02-17 Thread Andrey Gursky
Hi Brandon! Yes. My fault was at another place. So this C++ code works. You can use it only on the PC side. A C code you can find in $TOSROOT/support/sdk/c/sf/message.c //-- /* u2f and f2u convert raw 32-bit values to/from

Re: [Tinyos-help] wireless communication speed

2009-02-17 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Did you try RF230_SLOTTED_MAC ever? You should be able to get better performance. No, I haven't yet heard about your implementation for IRIS. Thanks for the tip! I'll try it. Approx. 2x increase of transfer speed sounds really good. I've just tested this

Re: [Tinyos-help] [TOSSIM] simulate node leave

2009-02-15 Thread Andrey Gursky
Hi Pratibha! Pratibha S wrote: hi All, can anyone tell me how to simulate a node leaving the network after a specified time in tossim? There is mote(i).turnOff(), but it doesnt consider time. I want the counterpart of bootattime(time) function. Consider the basic simulation loop:

Re: [Tinyos-help] How to model especial Simulations in TOSSIM 2.x

2009-02-15 Thread Andrey Gursky
Hi Alessandro! Alessandro Stamatto wrote: Hello, I would like to know how to make a Simulation , where the root/sink Node has a Different TOS Image (Because in the moment i can only make Simulations where every Node has the same TOS Image, wich contains a lot of If's TOSNODE == 0 ) Zainul

Re: [Tinyos-help] wireless communication speed

2009-02-12 Thread Andrey Gursky
Hi! Miklos Maroti wrote: Hi Joao, I have a question related to the maximum transmission speed for the IRIS 2.4GHz mote. The datasheet Crossbow provides states that it can transmit at 250Kbps. Has anyone tested this speed? 250Kbps = 31,25KB/s That is correct. If a normal packet has a

Re: [Tinyos-help] wireless communication speed

2009-02-12 Thread Andrey Gursky
Hi Miklos! Miklos Maroti wrote: Hi Andrey, I can acknowledge this. I achieve about 135..160 packets/s with default mac with no packet loss. I'm posting the radioSendTask() from sendDone() event to be sure, the radio is not busy and has just became ready. Using timer, if radio is still busy

Re: [Tinyos-help] Looking for MDA320 driver for tinyos2.1

2009-02-06 Thread Andrey Gursky
Nick, read this: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034154.html As far as I know, there is no public available driver with 100% functionality. So search the list on MDA and you'll see that people were/are working on it. Best wishes, Andrey nick nicky wrote:

Re: [Tinyos-help] dynamic memory allocation in TinyOS

2009-02-06 Thread Andrey Gursky
Antonio, the start is here: http://docs.tinyos.net/index.php/Safe_TinyOS Best wishes, Andrey Antonio Guerrieri wrote: Hi All, I'm going to use dynamic memory allocation in TinyOS. I'm using Telosb. Reading on the Internet, I'm understanding it is possible to use dynamic allocation in

Re: [Tinyos-help] help needed on uint64_t type

2009-02-05 Thread Andrey Gursky
Hi Bai! I've tried it only in pure C (not nesC) with %lld and %llx.Regards,Andrey Hi Andrey, I just tested it. it didn't work though. What the flag you used in printf? Is that llx? Right? It still displayed low 32 bits. Confusing. Regards, Bai On Fri, Feb 6, 2009 at 3:27 AM, Andrey Gursky

[Tinyos-help] Changing radio channel on IRIS and MicaZ

2009-01-27 Thread Andrey Gursky
Hi! As of August, 2008 it was not yet possible to change the radio channel on IRIS dynamically: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-August/035657.html In RF230LayerP.nc there are functions RadioState.setChannel(), changeChannel(). Does they have some issues and may not

Re: [Tinyos-help] Changing radio channel on IRIS and MicaZ

2009-01-27 Thread Andrey Gursky
transmitting or receiving messages. All interfaces are exported from RF230ActiveMessageC. You need to download the latest CVS version. Thanks a lot for the promptly answer and the update! I'll try it. Best wishes, Andrey On Tue, Jan 27, 2009 at 2:26 PM, Andrey Gursky andrey.gur...@online.ua

Re: [Tinyos-help] missing functionality of support/sdk/java in support/sdk/c

2009-01-20 Thread Andrey Gursky
Andrey Gursky wrote: Hi Eric! Regarding your (old) posting with mig and C interface. I've did at last a successfully test of the using TOSSIM-SF and write_sf_packet()-function (from sdk/c/sf) from the same simulation driver program. To properly write values one needs to define some nx_

Re: [Tinyos-help] iris default channel

2009-01-19 Thread Andrey Gursky
Hi Razvan and Miklos! Razvan Musaloiu-E. wrote: Hi! On Wed, 14 Jan 2009, Andrey Gursky wrote: Hi Razvan! I haven't such deeply tests as Miklos. My observations on the app level: the messages are being successfully sent, but on the remote mote they are being not received. What does

Re: [Tinyos-help] missing functionality of support/sdk/java in support/sdk/c

2009-01-19 Thread Andrey Gursky
implementation? Andrey P.S. Of course it is good, it works with only this small addition :) Andrey Gursky wrote: Hi all! Ok, I've found in support/sdk/c/sf/ the program prettylisten.c. It could be, what I'm looking for, to send/receive packets through (simulated) serial interface out

[Tinyos-help] Using cast float/int or nx_float

2009-01-19 Thread Andrey Gursky
Hi all, hi David! I'm trying out two ways of transmitting of float numbers between PC and motes now. The first one is with cast int-float, the second one is with nx_float (thanks David for this implementation!). The simple C++ example doesn't work for me now: float pi = 1.1; int ipi;

Re: [Tinyos-help] iris default channel

2009-01-14 Thread Andrey Gursky
on the IRIS default frequency so I was satisfied. I suppose, RF230 could have a hardware bug, because CC2420 works well on both default frequencies. Andrey On Tue, Jan 13, 2009 at 1:18 PM, Andrey Gursky andrey.gur...@online.ua wrote: Hi Lizhao and all! youlizhao wrote: Dear all, Hi

Re: [Tinyos-help] iris default channel

2009-01-14 Thread Andrey Gursky
? Andrey P.S. Sorry, if you receive this email twice. Razvan Musaloiu-E. wrote: Hi! On Tue, 13 Jan 2009, Andrey Gursky wrote: Hi Lizhao and all! youlizhao wrote: Dear all, Hi! I hava a problem with iris default channel. Iris uses RF230. According to the tinyos-help, the iris default

Re: [Tinyos-help] iris default channel

2009-01-13 Thread Andrey Gursky
Hi Lizhao and all! youlizhao wrote: Dear all, Hi! I hava a problem with iris default channel. Iris uses RF230. According to the tinyos-help, the iris default channel is 11, which is defined in file /opt/tinyos-2.1.0/tos/chips/platforms/iris/chips/rf230/HplRF230.h But my problem is:

Re: [Tinyos-help] missing functionality of support/sdk/java in support/sdk/c

2009-01-05 Thread Andrey Gursky
or not yet. Thanks, Andrey Andrey Gursky wrote: Hi! I'm looking now for the implementation of java classes such as PhoenixSource, MoteIF in C/C++. With another words is there any project (may be some external) that gives a simple way to communicate with motes (real or simulated) from C/C

[Tinyos-help] missing functionality of support/sdk/java in support/sdk/c

2008-12-30 Thread Andrey Gursky
Hi! I'm looking now for the implementation of java classes such as PhoenixSource, MoteIF in C/C++. With another words is there any project (may be some external) that gives a simple way to communicate with motes (real or simulated) from C/C++ program? The support of java and python is very

[Tinyos-help] TOSSIM and getting alternating RSSI values

2008-12-10 Thread Andrey Gursky
Hi all, hello Tal! I've read some discussions here on the list about TOSSIM and RSSI. As I understood, from noise is subtracted from the arrived signal with constant power (gain) and then is decided (according to CPM), whether the signal is passed or not. I've changed RssiSample from Tutorial so

Re: [Tinyos-help] sudo make micaz sim gives error

2008-12-02 Thread Andrey Gursky
do to clean it up. It would be nice. Thanks, Andrey On Tue, Nov 18, 2008 at 3:44 AM, Andrey Gursky [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Neelam, there is README about simulation: tinyos-2.x-contrib/berkeley/b6lowpan/doc/README-SIM Steve, thanks

Re: [Tinyos-help] AVR JTAG for ATMega128L (micaZ)

2008-11-10 Thread Andrey Gursky
Hi Carlos! I had short conversation here with Janos regarding debugging with JTAG: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-September/036088.html https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-October/036865.html You have luck, you use MicaZ, because

Re: [Tinyos-help] Tymo: access with Uart...() on msg returns corrupted values

2008-11-04 Thread Andrey Gursky
wishes, Andrey On Thu, Oct 2, 2008 at 9:34 PM, Andrey Gursky [EMAIL PROTECTED] wrote: - Briefly: Tymo: after sending msg by Radio - msg in sendDone() cannot be accessed with Uart...() if sendDone() failed because of no ack. - Hi Romain! You

Re: [Tinyos-help] graphical tool for TOSSIM

2008-11-01 Thread Andrey Gursky
Hi Adeel Akhtar! Adeel Akhtar wrote: Hi All: how we can visualize our simulation in TOSSIM, as in tinyos 1.1 there was a tinyviz java tool for the visiualization of simulated nesc files.but how we can do this in tinyos 2.x. Any suggestion? There is no one yet. But recently there was

Re: [Tinyos-help] mig error after tinyos 2.1 fresh install

2008-10-29 Thread Andrey Gursky
Xavi, you're not alone: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-September/036060.html https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-October/036754.html and so on. It seems to be an issue with Ubuntu, but there is no solution yet, because it is not clear,

Re: [Tinyos-help] tymo, senddone, error, fail, help

2008-10-29 Thread Andrey Gursky
... :) ) thanks On Wednesday 22 October 2008 21:46:39 Andrey Gursky wrote: De-MonHell, thanks for describing of your experience. Romain, thanks that you are still on the investigation. I have Ubuntu Hardy at the university. All works well so I plan to try to update (controllable) all components to find

Re: [Tinyos-help] TOSSIM not working

2008-10-23 Thread Andrey Gursky
Karthik, it is not necessary to compile applications as root and it is not desirable way to work under *nix. Did you setup the environment variables? At least you should have: export TOSROOT=/opt/tinyos-2.1.0 export TOSDIR=$TOSROOT/tos export MAKERULES=$TOSROOT/support/make/Makerules Best

Re: [Tinyos-help] cannt find serial_tun.config

2008-10-22 Thread Andrey Gursky
Weiping, I don't have it also. But all is working :) If you really want to change the router address, than you could make this file by hand. Best wishes, Andrey weiping SONG wrote: Hi all, I am a newer of 6lowpan, I can not find serial_tun.config after typing make in lib6lowpan. Could

Re: [Tinyos-help] tymo, senddone, error, fail, help

2008-10-22 Thread Andrey Gursky
De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best wishes, Andrey De-MonHell wrote: hi all, i

Re: [Tinyos-help] TinyOS on IRIS

2008-10-22 Thread Andrey Gursky
Karthik, I'm not very familiar with tos-1.x backgrounds, but in tos-2 you should use instead the target pc, the one you like the application use on (e.g. micaz, iris). So type for example: make micaz sim Best wishes, Andrey Karthik Ramgopal wrote: Hi, I installed the TinyOS 2.1.0 source

Re: [Tinyos-help] How to set baud rate on UART0

2008-10-22 Thread Andrey Gursky
it is in? Thanks! Zhen From: Andrey Gursky [EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 12:55 PM To: Li, Zhen Li Cc: Tinyos-Help Subject: Re: [Tinyos-help] How to set baud rate on UART0 Li, Zhen Li wrote: Hi Does anyone know how to set

Re: [Tinyos-help] tymo, senddone, error, fail, help

2008-10-22 Thread Andrey Gursky
that? On Wednesday 22 October 2008 14:18:53 Andrey Gursky wrote: De-MonHell, I've already posted here this problem. If it would happened only periodically/once, it would be OK. But if in my application it once occurs, than it happens every time after that till crash. And what is about your application? Best

Re: [Tinyos-help] debugging T2.1 code with AVR Studio

2008-10-21 Thread Andrey Gursky
linux (because of the windows-style paths), and it won't work with gdb because dwarf-2 is only partly supported (whatever that means). I would be happy to hear back from you regarding your experience with debugging in AvrStudio, though. Janos -Original Message- From: Andrey

Re: [Tinyos-help] debugging T2.1 code with AVR Studio

2008-10-21 Thread Andrey Gursky
adding: avr-dragon is not good replacement, as 32 kbyte is too less. And with option -O0 the program code grows even more. Andrey Gursky wrote: Janos, sorry for this big delay, I haven't yet setup cygwin under Windows. As I'm using micaz and iris, I've not noticed, that I could

Re: [Tinyos-help] Fwd: sudo ./serial_tun /dev/ttyUSB0 telosb gives error

2008-10-20 Thread Andrey Gursky
Neelam, you should use /dev/ttyUSB1 for the serial communication (as USB0 is used to program the mote). Best wishes, Andrey Neelam Chaubey wrote: -- Forwarded message -- From: Neelam Chaubey [EMAIL PROTECTED] Date: Mon, Oct 20, 2008 at 3:56 PM Subject: sudo ./serial_tun

Re: [Tinyos-help] How to set different speed for sending and receiving on serial port

2008-10-19 Thread Andrey Gursky
Hi Gwenhaël! gwenhael.goavec wrote: Hello, I'm beginner on TinyOS 2.x. My Platform is a custom card with msp430. I need to read informations from the GPS and send this informations to computer using serial/usb port. The speed connection between card and computer is 9600 bauds and the speed

[Tinyos-help] b6lowpan with printf or SerialActiveMessage on micaz

2008-10-15 Thread Andrey Gursky
Hi Steve! I'd like to use serial interface of remote motes (micaz). Uncommenting of CFLAGS += -DPRINTFUART_ENABLE in Makefile leads to several errors. So I tried to use SerialActiveMessage. And here I am on the border of micaz RAM :( It was 3740 byte without UDPShell, and with SerialActiveMessage

Re: [Tinyos-help] How to set baud rate on UART0

2008-10-15 Thread Andrey Gursky
Li, Zhen Li wrote: Hi Does anyone know how to set the baudrate in TinyOS 2.1 for MicaZ's or IRIS's UART0? I want to set the baudrate to 1200 and I know how to do the baudrate register's calculation but don't know where to put those values. Also, how can I use the UART0 to read some

Re: [Tinyos-help] b6lowpan with printf or SerialActiveMessage on micaz

2008-10-15 Thread Andrey Gursky
:10 AM, Andrey Gursky [EMAIL PROTECTED]wrote: Hi Steve! I'd like to use serial interface of remote motes (micaz). Uncommenting of CFLAGS += -DPRINTFUART_ENABLE in Makefile leads to several errors. So I tried to use SerialActiveMessage. And here I am on the border of micaz RAM :( It was 3740

Re: [Tinyos-help] TOSSIM based degree thesis on WSN simulation

2008-10-13 Thread Andrey Gursky
Hi, Ricardo Guido Marelli wrote: Hi, I'm a former student of computer science at the University of Buenos Aires (Argentine) and I'm working on a degree thesis on WSN simulation. The work is about extending TOSSIM to develop a full simulation framework that should include a GUI, the

Re: [Tinyos-help] TOSSIM - sim / sim-sf

2008-10-09 Thread Andrey Gursky
Daniel, first of all you can check the number of noise traces: it should be greater than 100. Best wishes, Andrey Daniel Patrick wrote: Hi All, I really need to use the serial interface in my tests (TOSSIM). But I've been facing some problem when I try to use the sim-sf tag to compile

Re: [Tinyos-help] storage compilation problem

2008-10-04 Thread Andrey Gursky
Hi Jaco! Jaco Beylefeld wrote: * File /usr/bin/tos-storage-at45db, line 14, in ? from subprocess import Popen, PIPE* *ImportError: No module named subprocess* According to the error message, I assume, your python installation doesn't have module subprocess. Best wishes, Andrey

Re: [Tinyos-help] problem with MessageListener

2008-10-03 Thread Andrey Gursky
Hi Behnaz! [EMAIL PROTECTED] wrote: Hi, I'm using Linux. I try to run this :java TestSerial -comm serial@/dev/ttyUSB0:tmote and I have: Exception in thread main java.lang.NoClassDefFoundError: net/tinyos/message/MessageListener at java.lang.ClassLoader.defineClass1(Native

Re: [Tinyos-help] problem in implementing b6lowpan

2008-10-03 Thread Andrey Gursky
Hi Neelam! There were so many errors by compiling. Did you follow this step from the readme? - Add two environment variables to your startup scripts: export LOWPAN_ROOT=~/svn/code/b6lowpan/ export TOSMAKE_PATH=$TOSMAKE_PATH $LOWPAN_ROOT/support/make Of course you should alter

[Tinyos-help] Tymo: access with Uart...() on msg returns corrupted values

2008-10-02 Thread Andrey Gursky
- Briefly: Tymo: after sending msg by Radio - msg in sendDone() cannot be accessed with Uart...() if sendDone() failed because of no ack. - Hi Romain! You know the standard BaseStation application. The messages coming from Uart are bridged to

Re: [Tinyos-help] TestTymo

2008-10-01 Thread Andrey Gursky
Hi Fernando! On June there was a similar discussion: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/thread.html at this web-page search for: Help with Tymo and IRIS Motes But it seems that some of the components is despite of upgrade too old. Do you use also the latest nesC

Re: [Tinyos-help] Using the ATAVRRZ200 with the IRIS platform

2008-10-01 Thread Andrey Gursky
Hi Jürgen, These links are the first on the official atmel's ATAVRRZ200 web page: http://www.atmel.com/dyn/resources/prod_documents/ATAVRRZ200_DemonstrationKit.zip (and the appropriately doc: http://www.atmel.com/dyn/resources/prod_documents/doc5183.pdf) The download speed is very poorly, so I

Re: [Tinyos-help] Using the ATAVRRZ200 with the IRIS platform

2008-10-01 Thread Andrey Gursky
Hi Jürgen! Ok, I've downloaded the zip. Here are they: PE2, PE3, PE4. In the schematics they are noted to be all red!?? The screenshot is attached. Best wishes, Andrey P.S. the screenshot is too big for tinyos-help mailing list. So my first e-mail is pending to be delivered. Jürgen wrote:

[Tinyos-help] following the thread Injecting ADC readings with TOSSIM in TinyOS2.x from July 2008

2008-10-01 Thread Andrey Gursky
Hi! There was a thread with topic: Injecting ADC readings with TOSSIM in TinyOS2.x (http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-July/035195.html) Did somebody get the component for TOSSIM to simulate MTS300? I tried to write the developer direct, but still no answer. Today

Re: [Tinyos-help] how to build libmote.a

2008-09-30 Thread Andrey Gursky
Hi Neelam Chaubey! In the readme http://smote.cs.berkeley.edu:8000/tracenv/browser/code/b6lowpan/trunk/README stands: --- Make sure the c serial forwarder tools are built in $TOS_ROOT/support/sdk/c/sf. You may need to run bootstrap, configure, and make in that folder to

Re: [Tinyos-help] SerialForwarder - USB + MIB520

2008-09-29 Thread Andrey Gursky
Fernando, you're right to program the mote with /dev/ttyUSB0, but for the serial communication you should use /dev/ttyUSB1 (by default). Best wishes, Andrey [EMAIL PROTECTED] wrote: I'm trying to run the test application TestSerial, but something is going wrong. I install the application

[Tinyos-help] Motes with ID 0 can't send and receive when using Tymo

2008-09-27 Thread Andrey Gursky
Hi Romain! As with ActiveMessage I can use ID 0, the Tymo's behavior, when I can't use motes with ID 0, seems to be strange. I've changed a little bit test.py so it is very easy to switch between mote's IDs to be booted, so you could test it. Examples of debug outputs are following. If

Re: [Tinyos-help] Error Send, help me!

2008-09-27 Thread Andrey Gursky
Hi! The first what I see is that you're calling led2On() in sendAux1.send() but in sendAux1.sendDone() you're calling immediately led2Off(). It could be so fast that you just can't see, the led 2 was on. Best wishes, Andrey Juan Salvador Galindo Pedreño wrote: hi, why in this code when I

Re: [Tinyos-help] b6lowpan: update from August, 25 doesn't work anymore with micaz

2008-09-26 Thread Andrey Gursky
Listener.py doesn't receive UPD reports at all and ping have no successes. I understand that too big message can't be used but the report should come always or I'm missing something? Thanks, Andrey From: Andrey Gursky [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Date: Tue, Sep 2

Re: [Tinyos-help] b6lowpan: update from August, 25 doesn't work anymore with micaz

2008-09-26 Thread Andrey Gursky
, 2008 at 8:21 AM, Andrey Gursky [EMAIL PROTECTED]wrote: Stephen Dawson-Haggerty wrote: Hmm, you're right. The only thing it's being used for is the uptime counter, so it would be easy enough to comment out. I'll try to switch it to a different timer though. Thanks Steve! I (and and it seems

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-18 Thread Andrey Gursky
/pytossim.o simbuild/micaz/sim.o simbuild/micaz/tossim.o simbuild/micaz/c-support.o -lstdc++ -o _TOSSIMmodule.so On Fri, Sep 12, 2008 at 11:52 PM, Andrey Gursky [EMAIL PROTECTED] wrote: Greg, with your suggestion I see the same output as with $g++ --print-search-dirs But the project doesn't

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-13 Thread Andrey Gursky
, Sep 12, 2008 at 11:52 PM, Andrey Gursky [EMAIL PROTECTED] wrote: Greg, with your suggestion I see the same output as with $g++ --print-search-dirs But the project doesn't compile at all, however it is not important because of the same output. Andrey Greg Hackmann wrote: Romain

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-12 Thread Andrey Gursky
Hello Romain! It's bad that you still cannot use TOSSIM. Tymo is waiting for improvements :) What if you try to compile something like this: #include stddef.h #include inttypes.h int main(int argc, char* argv[]) { return 0; }

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-12 Thread Andrey Gursky
Greg, with your suggestion I see the same output as with $g++ --print-search-dirs But the project doesn't compile at all, however it is not important because of the same output. Andrey Greg Hackmann wrote: Romain Thouvenin wrote: How can I know the include paths used when I run make micaz

[Tinyos-help] CC2420_DEF_RFPOWER=1 undocumented in datasheet

2008-09-11 Thread Andrey Gursky
Hi! If I want to test multihop applications, I'd need too much place if I'd use iris or micaz with documented least RFPOWER=3. But thanks to Tymo I found the option RFPOWER=1 and then I can work with multihop net on my desk!!! Maybe somebody knows the explanation or is there any special

Re: [Tinyos-help] debugging T2.1 code with AVR Studio

2008-09-10 Thread Andrey Gursky
Hi Janos! This is very interesting. Thanks in advance! I'm using iris and micaz. I tried to use ddd in GNU/Linux and I am able to set breakpoints only at some lines in .nc that are be mapped from .nc to app.c and debug the application with JTAG. But with step ddd/gdb doesn't really process

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-10 Thread Andrey Gursky
Hi Romain! Maybe check the avr-gcc compiler? At the moment not so good example because I have at home Debian Lenny and avr-gcc-4.3.1 (but Ubuntu Hardy works properly at the university) /usr/lib/gcc/avr/4.3.1/include/stddef.h /usr/lib/avr/include/inttypes.h Andrey Romain Thouvenin wrote:

Re: [Tinyos-help] Tossim stopped compiling after switching to Ubuntu Hardy

2008-09-10 Thread Andrey Gursky
Hi Romain! Corrections to my previous post: as it only fails for tossim so gcc-avr isn't need. My mistake, sorry. I searched for stddef.h in Ubuntu Hardy. http://packages.ubuntu.com/search?searchon=contentskeywords=stddef.hmode=filenamesuite=hardyarch=any The relevant packages are:

Re: [Tinyos-help] IPV6 listener problem ./bootstrap does not work

2008-09-05 Thread Andrey Gursky
Antonio, try to install autoconf and automake packages. Best regards Andrey antonio gonga wrote: Hey all, I tried to compile the listener in order to generate the libmote.a, but what i get is: ./bootstrap: line 2: aclocal: command not found ./bootstrap: line 3: autoheader: command not

[Tinyos-help] b6lowpan: update from August, 25 doesn't work anymore with micaz

2008-09-02 Thread Andrey Gursky
Hi! After update UDPEcho doesn't compile. - In file included from UDPEchoC.nc:50: In component `UDPShellC': UDPShellC.nc:46: component CounterMilli32C not found UDPShellC.nc:47: no match make: *** [exe0] Error 1

Re: [Tinyos-help] mote-pc serial communication problem

2008-08-25 Thread Andrey Gursky
Hi! Do you have the environment variable MOTECOM properly set? For example: export MOTECOM=/dev/ttyUSB1:micaz Andrey Jierui Cao wrote: Hi, guys in TinyOS community, After installing the TestSerial application on a micaZ node,the command line is #make micaz install

Re: [Tinyos-help] Mag.nc:65: error: 'result' redeclared as different kind of symbol

2008-08-21 Thread Andrey Gursky
Hi! It seems that nesC generates a temporary variable that has the same name result as the parameter variable. So the very quick way to correct it were to rename the parameter variable. It compiles, but I haven't now a MTS300 to try it. -- From

Re: [Tinyos-help] making a loop sleep.

2008-07-30 Thread Andrey Gursky
Hi! I think, I had one similar issue: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034400.html I've used printf in a loop and there was no action at all! Although my question was not answered, I'm thinking meanwhile that some functions in TinyOS being scheduled, so if

[Tinyos-help] ZigBee in current T2 cvs

2008-07-29 Thread Andrey Gursky
Hi! There were some discussions in devel about zigbee but it seems there were no cvs checkins of patchs in order the current implementation could work with micaz. Are they not good enough? Best regards, Andrey ___ Tinyos-help mailing list

Re: [Tinyos-help] Event sendDone done after the message is received?

2008-07-22 Thread Andrey Gursky
Hello Michael and all! If you have ACKs enabled and are sending point-to-point messages then sendDone() is signaled after the ACK is received or times out. Otherwise, w/o ACKs, and for BCAST messages, sendDone() is signaled when the transmitter is finished sending. Is it hopefully possible

Re: [Tinyos-help] Event sendDone done after the message is received?

2008-07-22 Thread Andrey Gursky
Thanks Janos! I'll try it. Janos Sallai wrote: Is it hopefully possible to distinguish between received ACK and timeout? With value in error definitely not. But maybe there is some function (for CC2420 and RF230), could be called in sendDone to get the answer whether it was ACK or

Re: [Tinyos-help] TestTymo application

2008-07-22 Thread Andrey Gursky
with commenting (out) MULTIHOP you can switch between ActiveMessage and DymoNetwork. The client program I start with java TestTymoLoop -comm [EMAIL PROTECTED]:9001 Could you please suggest me something? Best wishes, Andrey Andrey Gursky wrote: Hi Romain! Here are details: In Makefile I've

Re: [Tinyos-help] Event sendDone done after the message is received?

2008-07-22 Thread Andrey Gursky
would hope that the semantics are similar, in which case, with ACKs enabled, you should see true/false on the indicator where false would be a timeout. In T1 this increases the time between send and done by the timeout length. MS Andrey Gursky wrote: If you have ACKs enabled

Re: [Tinyos-help] Event sendDone done after the message is received?

2008-07-22 Thread Andrey Gursky
what you're doing. Janos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrey Gursky Sent: Tuesday, July 22, 2008 4:21 PM To: Michael Schippling Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Event sendDone done after

Re: [Tinyos-help] TestTymo application

2008-07-17 Thread Andrey Gursky
. After that is all OK till the next long pause between transmissions. Best wishes, Andrey Andrey Gursky wrote: Hi Romain and Varun! I can confirm that (Test)Tymo works (at least) with 2 motes and 3 motes (multihop). But there are other surprises, I'll describe detailed later. Briefly

Re: [Tinyos-help] TestTymo application

2008-07-15 Thread Andrey Gursky
Hi Romain and Varun! I can confirm that (Test)Tymo works (at least) with 2 motes and 3 motes (multihop). But there are other surprises, I'll describe detailed later. Briefly there seems to be a problem with removing after timeout old routes. The bad thing: this occurs only on motes not in

Re: [Tinyos-help] sim-sf and mote id 0 and 1

2008-07-07 Thread Andrey Gursky
are treated the same -- but pay close attention to the network topology you are applying! (As, while being treated consistently, TOSSIM will gladly honor a broken link.) HTH, Paul On Thu, Jul 3, 2008 at 3:16 AM, Andrey Gursky [EMAIL PROTECTED] wrote: Hi! I'm learning now on Tymo example how

[Tinyos-help] sim-sf and mote id 0 and 1

2008-07-03 Thread Andrey Gursky
Hi! I'm learning now on Tymo example how to use sim-sf. The classic simulation and real motes use mote's id 1,2,3 with no problems. I'm starting simulation with only two motes 1 (basestation) and 2 (remote). The messages from java/python-serialclient being not delivered to basestation with id

Re: [Tinyos-help] CVS update, then can't make

2008-07-03 Thread Andrey Gursky
Hi! I had the same error. I've posted it here already. I could figure out throw CVS the developer nickname who has made this 2 lines changes: idgay. But I found no e-mail. Maybe guests don't allow to see it. Does somebody know how we can submit this issue? As workaround I've commented

Re: [Tinyos-help] Using Printf for printing float values

2008-07-03 Thread Andrey Gursky
John, Bernardo Maciel posted a solution to this problem last month. You can read it here: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034691.html Andrey John Paul wrote: Hi, I would like to know whether it is possible to print float values using printf in tinyos.

Re: [Tinyos-help] CVS update, then can't make

2008-07-03 Thread Andrey Gursky
Philip, David, thanks! Andrey P.S. so idgay is David Gay, ok. Philip Levis wrote: On Jul 3, 2008, at 1:13 PM, Kevin Klues wrote: I actually get the same problem even with the Null application and all updated tools, etc. In file included from

Re: [Tinyos-help] Increasing Baudrate for Atmega-128

2008-07-02 Thread Andrey Gursky
Hello Varun! In my answer to you https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-July/034704.html there was already a link to http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034373.html where the problem is solved. It is strange but the standard speed

Re: [Tinyos-help] problems with tymo-dymo

2008-07-02 Thread Andrey Gursky
$ - Am I missing something due to new changes? Andrey Andrey Gursky wrote: Hi! There was here already a discussion about this. If you've downloaded the example tymaluate from the original sourceforge repository than

Re: [Tinyos-help] problems with tymo-dymo

2008-07-01 Thread Andrey Gursky
Hi! There was here already a discussion about this. If you've downloaded the example tymaluate from the original sourceforge repository than it is not more compatible with the actual version of TinyOS. You have always a possibility to try $TOSROOT/apps/tests/TestTymo. I've tried it

[Tinyos-help] Debian package dependencies (from tinyos-devel)

2008-06-28 Thread Andrey Gursky
Hi! In Ubuntu/Debian repository there are new TinyOS 2.1 packages. But they can be still not installed if I use also standard packages (gcc-avr,..). I join to Jan: while standard compilers/libs/tools can't be yet used with T2.1 it would be great to have T2.1 and all tools in separate folders,

[Tinyos-help] RssiDemo: packets are there but RSSI=0

2008-06-25 Thread Andrey Gursky
Hi Paul! Paul Stickney wrote: Sorry, I misunderstood the meaning of RSSI values. So if I'm bringing 1 mote far away and it must increase it's transmission power to maximum, than after some distance I can't distinguish any more between distance changes, however the packets are well

  1   2   >