Re: [Tinyos-help] Need help with event Receive

2010-02-23 Thread Arik Sapojnik
Hi, I think that your problem is that you are running over the message's header: file SenderC.nc: pPacket = (packet_msg_t *)report.data; *report *is a messaget_t, you are casting it to (packet_msg_t *) and running over the header. Try two things: 1. Comment lines 42 through 45 in SenderC.nc

[Tinyos-help] Forwarding of RSSI

2010-02-23 Thread #GAURAV TEWARY#
Hi, I am trying to set up a wireless sensor network for indoor localization of a mote and for this I need to forward the RSSI of the messages received at 3 different nodes from 1 particular node to the base station node. Can someone help me with regards to the coding needed for this extraction

[Tinyos-help] fec and crc code implemneted in nes c language

2010-02-23 Thread sania aziz
if any one has above codes then plz send me . ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] How to use some pins of ATML1281

2010-02-23 Thread Janos Sallai
Wire HplAtm128GeneralIOC and use its PortG2, PortB4, PortG0 and PortG1 interfaces, respectively. Janos On Tue, Feb 23, 2010 at 4:57 PM, Li, Haixia wrote: > Hi All, > >       I want to use PG2(ALE), PB4, PG0, PG1 of ATML1281 of IRIS. Can anyone > tell me what components I can use to access these

[Tinyos-help] Question about Simulation Ticks per second (10000000000ULL) in TOSSIM

2010-02-23 Thread Yi Tang
Hi All, I read ticksPerSecond() function in TOSSIM and found it returns 100ULL via sim_ticks_per_sec(). I'm wondering why the value is set to that. Does it associate with any specific real-world phenomena (like micro-controller or cc2420 frequency)? Or there are any simulator design cons

[Tinyos-help] Need help with event Receive

2010-02-23 Thread Kartik Siddhabathula
Hi All, I am new to tinyos-2.x and was migrating my tinyos-1.x code to tinyos-2.x. I am having a problem with the reception of the message. I am sending a message but I am not able to receive it. I am sending the code as an attachment, if possible can anyone tell me where I am going wrong? Is

Re: [Tinyos-help] [tinyos] 64-bit address

2010-02-23 Thread Eric Decker
I'm not following, why do you think you need 64 bits to communicate with a contiki-mote? Both TinyOS and Contiki are built for small memory, resource constrained uProcessors. As such their addresses spaces are on the small size. 16 bits etc. On Tue, Feb 23, 2010 at 1:11 AM, Nicola Bressan wr

[Tinyos-help] How to use some pins of ATML1281

2010-02-23 Thread Li, Haixia
Hi All, I want to use PG2(ALE), PB4, PG0, PG1 of ATML1281 of IRIS. Can anyone tell me what components I can use to access these pins? There pins are used to connect the ADS8344 on MDA320 sensor board to mote. I'm using IRIS with Tinyos2.x. Thank you. Thanks and Regards, Haixia Li

[Tinyos-help] CC1000CsmaP$ByteRadio$rts

2010-02-23 Thread Mido
My target node is mica2. I've traced the function calls originating from AMSenderC.AMSend.send. I ended at CC1000CsmaP.ByteRadio.rts I can't see any functions being called from ByteRadio.rts May anybody point me to a document that explains what happens between ByteRadio.rts invocation and CC1000S

Re: [Tinyos-help] Cannot run simulation but normal compilation runs fine

2010-02-23 Thread Gauresh Rane
Hey thanks for the reply, Atlast the Tossim micaz directory for succesfully built after uninstalling msp430 compilers and installing intel compilers and including python library, etc Is there a way by which I can use both the compilers that is gcc for intel platform as well as that for msp430 plat

Re: [Tinyos-help] tpl for moteiv's tmote sky nod es

2010-02-23 Thread Riki Tiki
Thanks Arik. -Original Message- From: Arik Sapojnik To: Riki Tiki Date: Tue, 23 Feb 2010 17:35:00 +0200 Subject: Re: [Tinyos-help] tpl for moteiv's tmote sky nodes > You can change you power level by using CC2420Packet.setPower(msg, power) > which is provided by > CC2420PacketC

Re: [Tinyos-help] Cannot run simulation but normal compilation runs fine

2010-02-23 Thread Arik Sapojnik
Gauresh , Currently, micaz is the only platform supported by TOSSIM. Try "*make micaz sim*" Arik On Tue, Feb 23, 2010 at 16:24, Gauresh Rane wrote: > > Dear Sir, > I am totally new to TinyOS. > I have installed TinyOS-2.x using rpm packages(actually converted them to > debian and installed).

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Arik Sapojnik
You can change you power level by using CC2420Packet.setPower(msg, power) which is provided by CC2420PacketC . Arik On Tue, Feb 23, 2010 at 16:16, Riki Tiki wrote: > Ok, Jordi. Thanks a lot. I

Re: [Tinyos-help] Cannot run simulation but normal compilation runs fine

2010-02-23 Thread Gauresh Rane
Dear Sir, I am totally new to TinyOS. I have installed TinyOS-2.x using rpm packages(actually converted them to debian and installed). I ran the sample application BLink using telosb platform, normal build works fine. But when I try to simulate using tossim it gives folllowing error ---

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Riki Tiki
Ok, Jordi. Thanks a lot. If I find any better solution I will let you know... -Original Message- From: Jordi Soucheiron To: Riki Tiki Date: Tue, 23 Feb 2010 14:26:03 +0100 Subject: Re: Re[2]: [Tinyos-help] tpl for moteiv's tmote sky nodes > I've always used the same power for all the no

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Jordi Soucheiron
I've always used the same power for all the nodes in the network. If you need to change it for every node I recommend using "make tmote install" instead of the 2 steps you're using (it's faster). Good luck and let me know if you find a nice way to solve this 2010/2/23 Riki Tiki > Hi Jordi, > > S

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Riki Tiki
Hi Jordi, Sorry, forgot to ask. How can I do this per node? After changing the makefile config should I always start again from "make tmote" and then do the following "make tmote reinstall". Thanks a lot in advance, Riki -Original Message- From: Jordi Soucheiron To: Riki Tiki Date:

Re: [Tinyos-help] tpl for moteiv's tmote sky nod es

2010-02-23 Thread Riki Tiki
Hi Fabien, Plz read, "Experimental Study: Link Quality and Deployment Issues in Wireless Sensor Networks" Monique Becker et al. http://www.springerlink.com/content/t24g5763r7j765tw/ They use MultiHopLQI. Thanks, Riki -Original Message- From: Fabien CHRAIM To: Jordi Soucheiron Date: T

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Riki Tiki
Thanks a lot Jordi! -Original Message- From: Jordi Soucheiron To: Riki Tiki Date: Tue, 23 Feb 2010 09:41:46 +0100 Subject: Re: [Tinyos-help] tpl for moteiv's tmote sky nodes > You can add this to the makefile: CFLAGS += -DCC2420_DEF_RFPOWER=4 > I think the values go from 1 to 31 beeing

[Tinyos-help] FEC and CRC code

2010-02-23 Thread sania aziz
i need FEC and CRC code implemented i language nes c. if any one have then plz send me. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] compilation error for iris mote

2010-02-23 Thread trilok i
hi all, When I tried to compile oscilloscope application for iris mote it is throwing following error. But when I compile it for telosb and micaz it compiling fine. What might be the problem . can anyone help me to sort out this problem. I'm using tinyos-2.1.0. mkdir -p build/iris

[Tinyos-help] How to Optimize our code?

2010-02-23 Thread Kiraneet sharma
Hello people... 1) What are the optimizations performed by nesC compilers ? any link to a relevant document will be appreciated. 2) As programmers how do we perform optimization in our code in nesC ? 3) Finally, are there some known low level optimizations to anyone ? For example if I am writing

[Tinyos-help] Processing of Tymo Packet

2010-02-23 Thread Deeksha G. Rao Salib
Hi, I want to use Tymo for sending sensor data from few nodes to the basestation. This seems to work fine by the Led indications.But when I try to read the data in the packet through serial forwarder I get only junk values.Serial forwarder correctly counts the number of packets. Is there a differ

[Tinyos-help] [tinyos] 64-bit address

2010-02-23 Thread Nicola Bressan
Hi all, I want to understand if it is possible to work in TinyOS with addresses from 64 bits instead that 16 bits because I want to comunicate with a contiki-mote... I thank since now for the help, Nicola ___ Tinyos-help mailing list Tinyos-help@mille

[Tinyos-help] Deluge T2 BaseStation problems

2010-02-23 Thread Ryan Emerson
I have recently being trying to use Deluge T2 and have been following this manual: http://www.tinyos.net/tinyos-2.x/doc/html/deluge-t2-manual.html I can sucessfully run the following commands in the GoldenImage directory: CFLAGS=-DDELUGE_BASESTATION make micaz install,0 mib510,/dev/ttyS2 Howeve

[Tinyos-help] ERROR: Wrong baudrate for command tos-deluge

2010-02-23 Thread Xiaocheng Zou
Hi, I am trying to use tos-deluge command to inject new image into one node, which is telosb platform. Following is what i get from terminal. laptop:~/workspace/tinyos/Blink/src$ tos-deluge serial@/dev/ttyUSB0:115200 -i 1 build/telosb/tos_image.xml ERROR: Wrong baudrate I think the for

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Jordi Soucheiron
Hello, Reducing the transmission power is very useful to test multihop environments in a reduced space. At least this is what I have always used it for. 2010/2/23 Fabien CHRAIM > Unless you are concerned about interfering with some other network, I would > not suggest lowering your transmission

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Fabien CHRAIM
Unless you are concerned about interfering with some other network, I would not suggest lowering your transmission power. If you want to save energy, this is not the way to do it. Transmission power is not the energy bottleneck. Fabien. On Tue, Feb 23, 2010 at 12:41 AM, Jordi Soucheiron < jsouche

Re: [Tinyos-help] tpl for moteiv's tmote sky nodes

2010-02-23 Thread Jordi Soucheiron
You can add this to the makefile: CFLAGS += -DCC2420_DEF_RFPOWER=4 I think the values go from 1 to 31 beeing 1 the lowest and 31 the higher TPL. Good luck! 2010/2/23 Riki Tiki > hi, I am using Moteiv's Tmote Sky nodes... How can I change the > Transmission Power Level(TPL) of my nodes? And how c

Re: [Tinyos-help] TinyTate, NanoECC, TinyPBC

2010-02-23 Thread Sylvain
Hello, I think their implementation were not published. You should ask directly to the authors. I they agree to release their implementation under the BSD license, it could be interesting to add their implementations to the Cryptography algorithms repository (http://tinyos.cvs.sourceforge.net/view