[Tinyos-help] synchronizing motion of motes (using pyscript) with simulation

2010-04-10 Thread LIKITH RAJ
HI, Am using pyscripts for moving motes in tossim simulator. I want to transmit the data when the mote comes to particular position. But am finding it very difficult. So, please anyone help me with that. Regards, Likith ___ Tinyos-help mailing list

[Tinyos-help] CC2420Packet

2010-04-10 Thread Yusnaidi Md Yusof
Hi All, I tried to wire the CC2420Packet component to the CC2420PacketC configuration. The compilation was successful, but when I issue the 'make micaz sim', a simulation error occured with the following messages: -- mkdir -p simbuild/micaz placing object fil

[Tinyos-help] jtag debugging in imote2

2010-04-10 Thread VINITA DAIYA
I have designed my parallel port jtag debugger as per availableon net. And i am using openocd, as per the steps mentioned in link: http://docs.tinyos.net/index.php/OpenOCD_for_IMote2_Wiggler on installing using openocd first that program get complied and i get i get following things: /opt/tinyos-

[Tinyos-help] How to calculate wake time for receive messages

2010-04-10 Thread Daniel Garcia Aubert
Hi everyone! I´m using LowPowerListening in T2.1 and I need to calculate how many milliseconds must wake up before the radio to receive messages. The radio (CC2420) has a bit rate of 250kbps and the message size is 30bytes. Then, the time for receive one message: (30bytes * 8bit/byte) / (250Kbps

Re: [Tinyos-help] CC2420Packet

2010-04-10 Thread Arik Sapojnik
It looks like your problem is that while you are trying to simulate micaz platform (which is the only available for TOSSIM), you are using CC2420 components, which are unavailable in micaz (I think it has the MPR2400) Arik On Sat, Apr 10, 2010 at 11:10, Yusnaidi Md Yusof wrote: > Hi All, > > I

Re: [Tinyos-help] How to use RC5 and MD5 algorithms

2010-04-10 Thread Sam Azarro
Hi all,i want to know if it is possible to use RC5 algorithm with tinyos 2.x ? thanks in advance RegardsSam Date: Sat, 10 Apr 2010 11:33:25 +0800 From: qiyuan...@gmail.com To: likithr...@gmail.com CC: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] How to use RC5 and MD5 algorit

[Tinyos-help] CC2420 Receiver Sensitivity and RSSI vs. LQI

2010-04-10 Thread Arik Sapojnik
Hi, I'm using Telosb motes. The CC2420 spec states that the Receiver Sensitivity is -90dBm. But I see that when the RSSI drops under (about) -35dBm there is no reception. Moreover, I don't see a correlation between LQI and RSSI - the LQI is always high (about 100), even when the RSSI drops from 0 t

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

2010-04-10 Thread Michael Schippling
Sorry, you have exceeded my capacity to help... MS Xiaohui Liu wrote: > Thanks. > > Would you please give me some more information on how to use the link > map to locate the error and get rid of the warning? > > On Tue, Apr 6, 2010 at 1:01 PM, Michael Schippling > wr

Re: [Tinyos-help] CC2420Packet

2010-04-10 Thread Chieh-Jan (Mike) Liang
TOSSIM doesn't natively support CC2420 interfaces. We at JHU have made several enhancements for TOSSIM. 1.) CC2420 interface support and services (such as PacketLink). 2.) 802.15.4 channel diversity (16-channels). Note that the current implementation assumes each node uses the same noise trace f

[Tinyos-help] Error when receiving matrix values

2010-04-10 Thread Sindra Dk
Hi all,im working on copression algorithm and i use TinyOS 2.xi send an image from PC to mote i decompressed it then when i resend it to PCi get an error on its pixels value: Original matrixuint8_t A[i][j]={{172,132,4,39},{23,127,5,4},{44,7,6,9},{77,211,19,5}}; $ java TestSerial -comm ser...@co

Re: [Tinyos-help] Error when receiving matrix values

2010-04-10 Thread Arik Sapojnik
Although I still don't see the whole picture, I think that your problem is that you are using 8 bits for every element. Now either it's 0:225 or -128 to +127. So you probably have declared the struct that you send as int8_t[][] array. Try to declare it as int16_t and don't forget that the default m

Re: [Tinyos-help] Error when receiving matrix values

2010-04-10 Thread Sindra Dk
thanks for your answer, i will try then i tell you if it works or not !! Sindra From: sapoj...@gmail.com Date: Sat, 10 Apr 2010 23:50:42 +0300 Subject: Re: [Tinyos-help] Error when receiving matrix values To: asma_...@live.fr CC: tinyos-help@millennium.berkeley.edu Although I still don't see the

Re: [Tinyos-help] Error when receiving matrix values

2010-04-10 Thread Michael Schippling
Also be aware that Java has no unsigned ints so you have to be especially overindulgent when converting them from the TOS_Msg into println()able elements, e.g.: // ToByte -- TOS to Java // Unsigned convert buffer at 'start' // from a byte to Java int, without sign

Re: [Tinyos-help] How to use RC5 and MD5 algorithms

2010-04-10 Thread Qiyuan Zhang
Hi, Sam. Of course you can use RC5 in T2. but you have to port the code from TinyOS1.x. Regards, Qiyuan On Sat, Apr 10, 2010 at 7:00 PM, Sam Azarro wrote: > Hi all, > i want to know if it is possible to use RC5 algorithm with tinyos 2.x ? > thanks in advance > > Regards > Sam > > --