Re: [Tinyos-help] multihop routing does not work almost always

2014-09-22 Thread José Silva Oliveira Araujo
2014 11:10 To: José Silva Oliveira Araujo Cc: tinyos-help@millennium.berkeley.edu Subject: Re: multihop routing does not work almost always Hi Jose, Thanks for your response. Yes, I am using TinyOS-1.x. I was thinking to immigrate to TinyOS-2.x. Is there any requirements for developing TinyOS-2.x

Re: [Tinyos-help] multihop routing does not work almost always

2014-09-22 Thread José Silva Oliveira Araujo
Hi Hamidreza, Do you have to use TinyOS 1.x? I guess the SurgeTelos app is for that version. Why don't you use the most recent CTP or RPL protocols instead? RPL is under TestRPL in the tests folder in the tinyos 2.x version and CTP is under the EasyCollection apps folder. Best, Jose -Orig

[Tinyos-help] problem with printf: printing when using PrintfC and not when using SerialPrintfC

2014-07-28 Thread José Silva Oliveira Araujo
Hi all, I am having a problem with my tinyos 2.x and telos nodes. I was trying to read the printfs that I am calling in my application but for some weird reason I only get the output Thread[Thread-1,5,main]serial@/dev/ttyUSB2:115200: resynchronizing when issuing "java net.tinyos.tools.PrintfCl

Re: [Tinyos-help] transmit packet with negative/signed int values

2014-03-31 Thread José Silva Oliveira Araujo
beacon_eta0; nx_int32_t beacon_eta1; }beaconpkt; Stupid mistake and sorry for the spam. Best, Jose From: Bdiri Sadok [mailto:bdiri.sa...@gmail.com] Sent: den 31 mars 2014 14:51 To: José Silva Oliveira Araujo Subject: Re: [Tinyos-help] transmit packet with negative/signed int values

[Tinyos-help] transmit packet with negative/signed int values

2014-03-31 Thread José Silva Oliveira Araujo
Hi all, I had one question on a problem I am getting. I am trying to send int32 values in a packet in my TelosB nodes and some of the values may be negative. Tried looking online but couldn't find anyone with the same issue or a solution to the problem. I am defining the packet defined as typ

Re: [Tinyos-help] Printf at serial with float

2013-11-13 Thread José Silva Oliveira Araujo
Hi, I am not sure if this is what you are looking for, but Bernardo has posted this code before on the TinyOS help which prints floats and we have been using that a lot in my group: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2008-June/034691.html Best, Jose Araujo

[Tinyos-help] trying to delay forwarding of data packets on BLIP + RPL

2013-11-06 Thread José Silva Oliveira Araujo
Hi all, I am using RPL on a mesh network and my goal is to delay the forwarding of data packets in the relay nodes in the network by a desired amount. For that, I went to the code IPForwardingEngineP.nc (lib/net/blip) and instead of allowing the function "do_send(next_hop_ifindex, next_hop, &pk

Re: [Tinyos-help] mspsim with tinyos

2013-11-02 Thread José Silva Oliveira Araujo
Hi Jenis, We have been using COOJA with MSPsim to simulate many applications using TinyOS. I believe that at the moment MSPsim can reliability emulate TinyOS code just like it can emulate Contiki code. Successful validation of RPL using both have been reported in http://dunkels.com/adam/ko11c

Re: [Tinyos-help] USART in Spi mode

2013-11-02 Thread José Silva Oliveira Araujo
Hi Maryam, We have written a driver in my group to interface an external counter using SPI communication on a telosb some years ago. I think this may help you with your project. The code is available in the tinyos contrib under http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/

Re: [Tinyos-help] Trying to delay forwarding of data packets on BLIP + RPL

2013-10-30 Thread José Silva Oliveira Araujo
case using pkttmp? I have not been able to find explanation on how to deepcopy a struct where the struct assignment (pkt.ip6_data = &v;) is made of a pointer of the whole struct (&v). Do you have any tips on this? From: José Silva Oliveira Araujo Sent: den 30 oktober 2013 21:28 To: '

Re: [Tinyos-help] Trying to delay forwarding of data packets on BLIP + RPL

2013-10-30 Thread José Silva Oliveira Araujo
Thanks Srikanth. I am reading on that now and will let you know when I succeed. From: Srikanth Nori [mailto:srikant...@gmail.com] Sent: den 30 oktober 2013 21:00 To: José Silva Oliveira Araujo Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Trying to delay forwarding of data

Re: [Tinyos-help] Trying to delay forwarding of data packets on BLIP + RPL

2013-10-30 Thread José Silva Oliveira Araujo
Hi Srikanth, Yes, I believe that that should be the case. However, I could not figure out yet how to properly store this for later use. Best, Jose From: Srikanth Nori [mailto:srikant...@gmail.com] Sent: den 30 oktober 2013 20:31 To: José Silva Oliveira Araujo Cc: tinyos-help

[Tinyos-help] Trying to delay forwarding of data packets on BLIP + RPL

2013-10-30 Thread José Silva Oliveira Araujo
Hi all, I am using RPL on a mesh network and my goal is to delay the forwarding of data packets in the relay nodes in the network by a desired amount. For that, I went to the code IPForwardingEngineP.nc (lib/net/blip) and instead of allowing the function "do_send(next_hop_ifindex, next_hop, &pk