Re: [Tinyos-help] Make "[program] Error 57" on uisp command

2010-05-04 Thread Javier Barbaran
Hi Michael, Thank you for your recommendations. As you commented, this error comes from AVR libraries, cause I googled it and I found that some people working with AVR processor are having problem, but not very much, and it seems there is no a solution yet. I can't remember if a mention in a p

[Tinyos-help] are there any guidelines for how long a task can run?

2010-05-04 Thread Eric Decker
I have a task that does some of the h/w initilization. The problem is we turn this h/w off when not using it and later we need to reinitilize it. The first part of the job take about 200-300 us. Is this too long for the task? Are there any general guidelines that people have found from actual

[Tinyos-help] tinyos help

2010-05-04 Thread nirvesh ravjibhai
Hi all, I am new to tinyos and i'ad installed tinyos successfully,but when i am trying to *make pc* in the directory "c:/cygwin/opt/tinyos-2.x/apps/Blink" i got an error make rules .*168. please give me solution of this as early as possible. Thanks to all -- Nirvesh R. Priyadarshi __

Re: [Tinyos-help] tosthreads simulation

2010-05-04 Thread Chieh-Jan (Mike) Liang
TOSSIM doesn't support tosthreads. Something you can try is Avrora. Avrora crashed on me a long time ago, but it could be fine now. Thanks Mike On May 4, 2010, at 7:06 PM, sadun silva wrote: > as far as i know there is no support for tosthreads in tossim currently > > On Mon, May 3, 2010 at 3

Re: [Tinyos-help] How many bit shifts required for TransformCounterC (KINDLY IGNORE)

2010-05-04 Thread Kartik Siddhabathula
Please ignore the previous message ! I found the answer. --- On Tue, 5/4/10, Kartik Siddhabathula wrote: From: Kartik Siddhabathula Subject: How many bit shifts required for TransformCounterC To: "TinyoS help" Date: Tuesday, May 4, 2010, 9:13 PM Hi All, I am using telosb motes. I would like

[Tinyos-help] How many bit shifts required for TransformCounterC

2010-05-04 Thread Kartik Siddhabathula
Hi All, I am using telosb motes. I would like to convert a 32 bit Counter to a 64 /128 / 256 bit Counter. My questions are  : 1) Can telosb handle 128/256 bit Counter? 2) Also can TransformCounterC perform this operation? 3) And how many bit shifts are required for such operations? Thanks in adv

Re: [Tinyos-help] Interpreting the CTP routing frame

2010-05-04 Thread Giuseppe Cardone
Hi, CtpP wires CtpRoutingEngineP.BeaconSend to LinkEstimatorP.Send, so the LinkEstimator can add a header and a footer to each packet sent by CtpRoutingEngineP. The bytes 01 08 are the link estimator header ( linkest_header_t in LinkEstimator.h). The first byte encodes the number of elements in th

Re: [Tinyos-help] tosthreads simulation

2010-05-04 Thread sadun silva
as far as i know there is no support for tosthreads in tossim currently On Mon, May 3, 2010 at 3:17 PM, chikh omar wrote: > > can we simulate Tosthreads application? if yes how to compile? > > thanks in advance, > > *** > Omar Cheikhrouhou > **Engineer

[Tinyos-help] warning: internal error: unsupported relocation error

2010-05-04 Thread Xiaohui Liu
Hi, The following warning pops up after I build my program against telosb: app.c:(.text+0x4c82): warning: internal error: unsupported relocation error Does anyone have any idea on how to get rid of this warning? Thanks. -- -Xiaohui Liu ___ Tinyos-help m

[Tinyos-help] UART Send returns EBUSY

2010-05-04 Thread Xiaohui Liu
Hi, To record the result of my experiment, every time I receive a packet, I send the a log message to UART with command SerialActiveMessageC.AMSend.send(). For the first few packets (from 1 ~ 70), the command returns SUCCESS. But after that, it constantly returns EBUSY. But I'm only calling the co

[Tinyos-help] Interpreting the CTP routing frame

2010-05-04 Thread Yusnaidi Md Yusof
Hi All, I have the following data reading from the TestNetwork application. The data is read using the java 'net.tinyos.tools.Listen' tool. 00 FF FF 00 00 0A 22 70 01 08 00 00 00 00 00 00 02 2F. What I understood when interpreting the data is: 1. The first byte (00) refers to the AM type which

Re: [Tinyos-help] repository

2010-05-04 Thread Roberto Pagliari
I sent an email to tinyos-contrib-caretak...@millennium.berkeley.edu, but I never got a reply. Maybe somebody else is handling this? On Tue, May 4, 2010 at 10:05 AM, Philip Levis wrote: > > On May 4, 2010, at 12:11 AM, Markus Becker wrote: > > > > > > > By the way, is TinyOS moving to git now si

Re: [Tinyos-help] receive doc

2010-05-04 Thread Arik Sapojnik
Message points to the whole message struct which includes header, payload and footer. You need it when you need to manipulate the message struct. For instance - set acknowledgment or Tx power. The payload pointer is a pointer to the payload inside the above mentioned struct.You should use it when y

[Tinyos-help] TestNetwork app problem communicating with serial port

2010-05-04 Thread David Li
Hi, I am trying to print out more meaningful messages sent to serial port from a small network formed in TestNetwork app. So I created a java directory under TestNetwork and added a Makefile: Makefile BUILD_EXTRA_DEPS += TestNetwork.class CLEAN_EXTRA = *.class TestNetwor

Re: [Tinyos-help] Make "[program] Error 57" on uisp command

2010-05-04 Thread Michael Schippling
I perused the source that I have. I couldn't find a "57" and only two calls to exit( {1,2} ). All the usual Error messages have text explanations. It could be coming from a system library though. Some enterprising soul, who is experiencing this problem, could try running uisp with the added argume

Re: [Tinyos-help] repository

2010-05-04 Thread Philip Levis
On May 4, 2010, at 12:11 AM, Markus Becker wrote: > > > By the way, is TinyOS moving to git now since the release is out of the door? > This would possibly change a lot the procedure for contributing code. The working groups are talking it through; we're hoping to suggest a course of action

[Tinyos-help] Help Needed (Urgent) : How to restart the Counter after overflow?

2010-05-04 Thread Kartik Siddhabathula
Hi All, I am using a counter interface which stops after overflow. I want it to run after the overflow, so how to do it? There are commands and events for overflow but how to make it run is what I am unable to do! Thanks in advance, Kartik

[Tinyos-help] TOSSIM, NewPacket(), pkt.Deliver(). How to receive the sent message

2010-05-04 Thread Amir Hossein Shantia
Hi All, I am using Tossim with tiny-os 2.1.0 (Python Language and no visual API). I am able to make new packets, choose a destination, and send a packet to a node. The code below is the part for where I make the packet and use deliver() function ( The topology is already made with all noises and

Re: [Tinyos-help] Make "[program] Error 57" on uisp command

2010-05-04 Thread Javier Barbaran
Hi Steven, Thank you very much for you feedback, as you have Windows XP, we can say that the problem is not related to Windows 7. I'm thinking now that the problem might be related to the TinyOS 2.1.1 version, could be a bug? I guess that a lot of people have already installed and tested it,

[Tinyos-help] Serial forwarder and tossim-serial

2010-05-04 Thread Yusnaidi Md Yusof
Hi All, I got a problem to use the tossim-serial in the SerialForwarder tool. I intend to view packets reception at Node 0 (root of the CTP) in the MViz program. I confused how to use the SerialForwarder with the tossim-serial as a source?, since I couldn't find any tutorial on it even in the 'Mot

Re: [Tinyos-help] CTP Routing Frame

2010-05-04 Thread Yusnaidi Md Yusof
Hi Omprakash, I see. That thought was just a wonder... Thanks again for the comment. Yusnaidi > > -- > > Message: 3 > Date: Sat, 1 May 2010 15:01:49 -0700 > From: Omprakash Gnawali > Subject: Re: [Tinyos-help] CTP Routing Frame > To: Yusnaidi Md Yusof > Cc: tinyos-

Re: [Tinyos-help] Packet acknowledgment

2010-05-04 Thread Yusnaidi Md Yusof
Hi Omprakash, Thanks a lot for a valuable suggestions. I got it now: at line 448 and 546. I am referring that now. thanks again. yusnaidi Message: 4 > Date: Sat, 1 May 2010 15:05:06 -0700 > From: Omprakash Gnawali > Subject: Re: [Tinyos-help] Packet acknowledgment > To: Yusnaidi Md Yusof >

[Tinyos-help] FTSP in tossim

2010-05-04 Thread chikh omar
Hello, I am developping a secure group communication application and, I would like to use FTSP in order to synchronize node. I am testing my app using tossim. How can I integrate/use FTSP in my app? does FTSP compile with tossim? great thanks for help **

[Tinyos-help] Hash Message Authentication Code (HMAC)

2010-05-04 Thread fou fou
Hello I used the HMAC protocol to encode the message that me the messenger and decoded it in the BlinkToRadio application. please helped me to make the compilation of this application. I find mistakes following: $ make micaz sim mkdir -p build/micaz placing object files in build/micaz writ

Re: [Tinyos-help] [blip-users] Re: Iris problem on IPBaseStation

2010-05-04 Thread Gilberto GaudĂȘncio de Almeida
Hello everyone, I removed line 431 of BaseStationP.nc, but it doesn't work, I keep getting the "FATAL: configuring interface failed! aborting!" message when I do sudo driver/ip-driver /dev/ttyUSB1 iris Any hints on how to change the watchdog timer? Thanks in advance, -- Gilberto Almeida 2010

Re: [Tinyos-help] Make "[program] Error 57" on uisp command

2010-05-04 Thread Steven Cao
Hi, Javier, Christian, and everybody: I have the same problem with using cygwin in WIN XP. When I check the tinyos enviroment, I have no errors but one warning which is the JDK version. I use the AVRISP and COM1 port to download the Blink program to my mote (ATmega 128 and cc1000). If only I u

Re: [Tinyos-help] Make "[program] Error 57" on uisp command

2010-05-04 Thread Steven Cao
Hi, Javier, Christian, and everybody: I have the same problem with using cygwin in WIN XP. When I check the tinyos enviroment, I have no errors but one warning which is the JDK version. I use the AVRISP and COM1 port to download the Blink program to my mote (ATmega 128 and cc1000). If only I u

Re: [Tinyos-help] repository

2010-05-04 Thread Kevin Klues
The contrib caretaker stuff is mostly my fault. Somehow my gmail decided to recently mark all contrib requests as spam and send them directly to my spam folder. I now have a back log of requests which I plan to deal with soon. Kevin On Tue, May 4, 2010 at 12:11 AM, Markus Becker wrote: > Howev

Re: [Tinyos-help] repository

2010-05-04 Thread Markus Becker
However, tinyos-contrib-caretakers is not responding for quite some time now. I last tried to contact caretakers in March and did not get a reply. I decided to go for a git clone to interwork with my colleagues. By the way, is TinyOS moving to git now since the release is out of the door? This