[Tinyos-help] understanding wiring in BlockingAMSenderP

2012-06-12 Thread ranal fernando




Dear all,
Thanks a bunch for all the help you have given me earlier.

Now i have come up with a new problem. :) I was going through BlockingAMSender 
interface in tosthreads. I'm not able to understand how wiring is done for 
AMSend in tosthreads. Here is the problem...

BlockingAMSenderImplP uses AMSend.
generic module BlockingAMSenderImplP() {
  provides {
interface Init;
interface BlockingAMSend[am_id_t id];
  }
  uses {
interface SystemCall;
interface Mutex;
interface AMSend[am_id_t id];
interface Packet;
interface Leds;
  }
}


& the corresponding configuration file for BlockingAMSenderImplP is 
BlockingAMSenderP which is as follows.

configuration BlockingAMSenderP {
  provides {
interface BlockingAMSend[am_id_t amId];
  }
  uses {
interface AMSend[am_id_t amId];
  }
}

implementation {
  components MainC;
  components ActiveMessageC as AM;
  components new BlockingAMSenderImplP();
  components MutexC;
  components SystemCallC;
  components LedsC;
  
  MainC.SoftwareInit -> BlockingAMSenderImplP;
  
  BlockingAMSend = BlockingAMSenderImplP;
  AMSend = BlockingAMSenderImplP;
  BlockingAMSenderImplP.Mutex -> MutexC;
  BlockingAMSenderImplP.SystemCall -> SystemCallC;
  BlockingAMSenderImplP.Packet -> AM;
  BlockingAMSenderImplP.Leds -> LedsC;
}




I understand BlockingAMSend= BlockingAMSenderImplP , if i'm not wrong both 
(BlockingAMSenderImplP and BlockingAMSenderP) provide BlockingAMSend interface. 
But AMSend on the other hand is used by both BlockingAMSenderImplP and 
BlockingAMSenderP. But who is providing it?
i would be thankful if you can help me understand this.
ranal
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Typhoon dissemination protocol

2012-04-13 Thread ranal fernando

Hi all,
i came across a dissemination protocol by JHU called typhoon. anyone has an 
idea how to try it out? AFAIK it does not come with stock TinyOS.
thanks
Ranal ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Dividing a CTP network

2011-08-08 Thread ranal fernando

Thank you very much for all of your valuable advises sorry for getting late to 
reply. i'm currently sending the beacon msg by the IP tunnel.
 haven't tested in a real deployment 
hope to get back to all of you with results.
ranal
> Subject: Re: [Tinyos-help] Dividing a CTP network
> From: p...@cs.stanford.edu
> Date: Fri, 29 Jul 2011 17:19:49 -0700
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> 
> On Jul 20, 2011, at 7:29 PM, ranal fernando wrote:
> 
> > 
> > sorry for multiple mails.  does anyone have any idea? at least about the 
> > feasibility of this? i thought of having some feedback from the community.
> > 
> > Thanks.
> > From: ranalferna...@live.com
> > To: tinyos-help@millennium.berkeley.edu
> > Date: Tue, 19 Jul 2011 19:48:29 -0400
> > Subject: [Tinyos-help] Dividing a CTP network
> > 
> > Dear all,
> > 
> > For my project i'm have to divide a ctp based network into two & then 
> > connect them through an IP link. So the root will be in one part of the 
> > network. & i'm going to send routing table information between the gateways 
> > using the IP link.
> > 
> > 
> > Can you give me some suggestions about the feasibility of this? What type 
> > of a performance penalty will I have to pay for this?
> 
> Why would you pay a performance penalty? I'm assuming that one node using the 
> IP link will advertise itself as a child of the other (e.g., you model the IP 
> link as a hop of low cost). To some degree, it's as if you set up another CTP 
> tree whose root advertises a non-zero cost. The two major differences in 
> behavior would stem from the fact that its cost is variable (so more loops 
> are possible) and the CTP hysteresis value for link change being a constant 
> (15) means high cost routes are more free to change next the next hop.
> 
> Phil
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Dividing a CTP network

2011-07-21 Thread ranal fernando








Thank you very much for the reply.



Actually we have a bigger project which
allows a user to establish a virtual PAN spanning several host
networks.
There can be two cases.




the host networks are nearby &
we have done the development for that. (basically they can
communicate using their radios)
IP bridging comes to picture when
the host networks are apart from each other. But we need to show the
user that these two networks are a single (virtual) network. Because
he will expect data from only one gateway. (which is the one that
becomes the root in CTP) 











I'm  trying to do the second part where
one gateway is advertising that he can talk to the motes that are in
the other part of the network. (thru the IP bridge)



thanks again for your feedbackDate: Wed, 20 Jul 2011 20:44:21 -0700
Subject: Re: [Tinyos-help] Dividing a CTP network
From: cire...@gmail.com
To: ranalferna...@live.com
CC: tinyos-help@millennium.berkeley.edu


Sure it is feasible.
Basically you are describing two AM nets joined by an IP tunnel that is acting 
as a bridge.
The behaviour of the two nets will in part be determined by the behaviour of 
the IP bridge.  It will have a temporal effect and will certainly determine the 
topology of the net.


I'm curious as to what problem you think you are solving.   Seems like it might 
make more sense to have two collection points one for each net.
What are you trying to accomplish?


On Wed, Jul 20, 2011 at 7:29 PM, ranal fernando  wrote:







sorry for multiple mails.  does anyone have any idea? at least about the 
feasibility of this? i thought of having some feedback from the community.

Thanks.
From: ranalferna...@live.com

To: tinyos-help@millennium.berkeley.edu
Date: Tue, 19 Jul 2011 19:48:29 -0400
Subject: [Tinyos-help] Dividing a CTP network
















Dear all,



For my project i'm have to divide a ctp
based network into two & then connect them through an IP link. So
the root will be in one part of the network. & i'm going to send
routing table information between the gateways using the IP link.






Can you give me some suggestions about
the feasibility of this? What type of a performance penalty will I
have to pay for this?



Thanks
Ranal

  

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  

___

Tinyos-help mailing list

Tinyos-help@millennium.berkeley.edu

https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



-- 
Eric B. Decker
Senior (over 50 :-) Researcher



  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Dividing a CTP network

2011-07-20 Thread ranal fernando


sorry for multiple mails.  does anyone have any idea? at least about the 
feasibility of this? i thought of having some feedback from the community.

Thanks.
From: ranalferna...@live.com
To: tinyos-help@millennium.berkeley.edu
Date: Tue, 19 Jul 2011 19:48:29 -0400
Subject: [Tinyos-help] Dividing a CTP network
















Dear all,



For my project i'm have to divide a ctp
based network into two & then connect them through an IP link. So
the root will be in one part of the network. & i'm going to send
routing table information between the gateways using the IP link.






Can you give me some suggestions about
the feasibility of this? What type of a performance penalty will I
have to pay for this?



Thanks
Ranal

  

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Dividing a CTP network

2011-07-19 Thread ranal fernando









Dear all,



For my project i'm have to divide a ctp
based network into two & then connect them through an IP link. So
the root will be in one part of the network. & i'm going to send
routing table information between the gateways using the IP link.






Can you give me some suggestions about
the feasibility of this? What type of a performance penalty will I
have to pay for this?



Thanks
Ranal

  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyLD help plz!!

2011-04-01 Thread ranal fernando















Hi,



I wanted to add ctp in TinyLD.
In order to do that I needed to add 




collectionRoutingStart() to 




tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h
tools/tinyos/tosthreads/tosthreads_standard_api.py
files 




when I compile using
tosthreads-gen-dynamic-app (which is in the /usr/bin dir) it compiles
fine. Then I copy it to the application & try to compile the
application using 


make telosb threads 




it shows the following error msg.






/tmp/ccwjfZK6.o:(.data+0x80): undefined
reference to `collectionRoutingStart'
make: *** [exe0] Error 1






I have also included
"tosthread_collection.h" in slcs_types.h file.



I have almost everything included in
the application's makefile.






THREADS_DIR =
/opt/tinyos-2.x/tos/lib/tosthreads
CFLAGS += -I$(THREADS_DIR)/lib/tinyld
CFLAGS += -I$(THREADS_DIR)/csystem
CFLAGS +=
-I$(THREADS_DIR)/sensorboards/tmote_onboard
CFLAGS +=
-I$(THREADS_DIR)/sensorboards/universal
CFLAGS += -I$(THREADS_DIR)/lib/net
CFLAGS += -I$(THREADS_DIR)/lib/net/ctp
CFLAGS += -I$(TOSDIR)/lib/net
CFLAGS += -I$(TOSDIR)/lib/net/ctpCFLAGS += -I$(TOSDIR)/lib/net/4bitle
CFLAGS += -I$(THREADS_DIR)/lib/printf






do you have any idea what is wrong with
what i'm doing.



I would be really thankful if you can
help me in this.



Thank you very much



ranal


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] DynamicThreads in TOSThreads

2011-02-17 Thread ranal fernando

hi all,

  i created a dynamic thread. (Similar to Blink_DynamicThreads) but when i 
use DynamicThread.destroy(thread_id*) 
 the thread does not stop.

here is how i do it

//sample code
event void Boot.booted()
  {
i=0;
call MilliTimer.startPeriodic(5000);
call DynamicThread.create(&blink1, blink_thread, NULL, 500);

  }

event void MilliTimer.fired() {
call DynamicThread.destroy(&blink1);
}



am i doing something wrong? can someone help me in this?

thanks for any help

ranal
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Problems with TestSerial

2011-02-14 Thread ranal fernando

try doing this.

go to support/sdk/java & type make

ranal

> Date: Mon, 14 Feb 2011 12:59:09 +0100
> From: aca...@correo.ugr.es
> To: tinyos-help@millennium.berkeley.edu
> Subject: [Tinyos-help] Problems with TestSerial
> 
> Hi,
> ...And this problem appear when I put the next lines bellow:
> 
> root@a:/opt/tinyos-2.1.1/apps/tests/TestSerial# javac TestSerial.java
> TestSerial.java:45: cannot find symbol
> symbol  : class TestSerialMsg
> location: class TestSerial
> this.moteIF.registerListener(new TestSerialMsg(), this);
>  ^
> TestSerial.java:50: cannot find symbol
> symbol  : class TestSerialMsg
> location: class TestSerial
> TestSerialMsg payload = new TestSerialMsg();
> ^
> TestSerial.java:50: cannot find symbol
> symbol  : class TestSerialMsg
> location: class TestSerial
> TestSerialMsg payload = new TestSerialMsg();
> ^
> TestSerial.java:69: cannot find symbol
> symbol  : class TestSerialMsg
> location: class TestSerial
> TestSerialMsg msg = (TestSerialMsg)message;
> ^
> TestSerial.java:69: cannot find symbol
> symbol  : class TestSerialMsg
> location: class TestSerial
> TestSerialMsg msg = (TestSerialMsg)message;
>  ^
> 5 errors
> 
> 
> Thanks to all
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyLD & TOSThreads

2011-02-10 Thread ranal fernando





hi,

i found out that if a load only one thread & try to stop it it works fine. but 
the moment i try to load more than one application (or having one 
tosthread_main & create another thread inside that) & try to stop them 
individually it fails to stop either of them. i tried checking the no of 
elements in the ready queue. when i load one thread using 
DynamicLoader.loadFromMemory the count is 1. 

when i load more than one(tinyLD example app LoadFromRAM) then still the no of 
elements in the ready queue is 1.


is this possible? 

one more thing. DynamicThread.destroy works provided i wakeup the thread before 
destroying. (else it does not work) (in the case of a single thread)

any suggestions would be greatly appreciated!

Thank you

ranal


> Subject: Re: [Tinyos-help] TinyLD
> From: clia...@cs.jhu.edu
> Date: Fri, 4 Feb 2011 01:56:26 +0800
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Hi Ranal,
> 
> Interesting, I didn't test this case. I don't have a mote with me now, but 
> can you try DynamicThread interface to pause the thread?
> 
> Thanks
> 
> Mike
> 
> On Feb 3, 2011, at 7:59 AM, ranal fernando wrote:
> 
> > 
> > just wondering whether anyone has any suggestions  ?
> > From: ranalferna...@live.com
> > To: tinyos-help@millennium.berkeley.edu
> > Date: Tue, 1 Feb 2011 15:22:08 -0500
> > Subject: [Tinyos-help] TinyLD
> > 
> > Dear all,
> > 
> > 
> > is there a way to stop or pause a thread that is created by TinyLD 
> > (DynamicLoader.loadFromMemory)?
> > 
> > I tried to get the thread id from the loaddone event & stop by using 
> > ThreadScheduler.stopThread but it fails.
> > 
> > 
> > Any idea about this?
> > 
> > Thanks
> > 
> > 
> > ranal fernando
> > 
> > ___ Tinyos-help mailing list 
> > Tinyos-help@millennium.berkeley.eduhttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >  ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyLD

2011-02-07 Thread ranal fernando


hi Mike,

Thanks for the reply. I tried it with DynamicThread interface.
but i found out that it is also not working.

but when i just have one blinking thread does that become  the tinyosthread?

because when i went to the stopthread routine there it checks whether the 
thread state is TOSTHREAD_STATE_READY (which is not running according to 
thread.h) but this thread is TOSTHREAD_STATE_ACTIVE ( running)

so because of the condition i'm not able to stop this thread. so can't we stop 
a running thread? 

can you please help me in this?


thank you very much & sorry for the trouble.

ranal




> Subject: Re: [Tinyos-help] TinyLD
> From: clia...@cs.jhu.edu
> Date: Fri, 4 Feb 2011 01:56:26 +0800
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Hi Ranal,
> 
> Interesting, I didn't test this case. I don't have a mote with me now, but 
> can you try DynamicThread interface to pause the thread?
> 
> Thanks
> 
> Mike
> 
> On Feb 3, 2011, at 7:59 AM, ranal fernando wrote:
> 
> > 
> > just wondering whether anyone has any suggestions  ?
> > From: ranalferna...@live.com
> > To: tinyos-help@millennium.berkeley.edu
> > Date: Tue, 1 Feb 2011 15:22:08 -0500
> > Subject: [Tinyos-help] TinyLD
> > 
> > Dear all,
> > 
> > 
> > is there a way to stop or pause a thread that is created by TinyLD 
> > (DynamicLoader.loadFromMemory)?
> > 
> > I tried to get the thread id from the loaddone event & stop by using 
> > ThreadScheduler.stopThread but it fails.
> > 
> > 
> > Any idea about this?
> > 
> > Thanks
> > 
> > 
> > ranal fernando
> > 
> > ___ Tinyos-help mailing list 
> > Tinyos-help@millennium.berkeley.eduhttps://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >  ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] help

2011-02-04 Thread ranal fernando


hi,

try 

 t=Tossim([])


ranal

> Date: Thu, 3 Feb 2011 15:43:58 +
> From: aliouat...@yahoo.fr
> To: tinyos-help@millennium.berkeley.edu
> Subject: [Tinyos-help] help
> 
> Hi,
> I have installed tinyos2.1.0
> Im new to tossim. 
> On going to the tutorials provided im getting the following error:-
> $ python
> >>> from tinyos.tossim import *
> >>> t=tossim([])
> Traceback (most recent call last):
>   File "", line 1, in 
> NameError: name 'tossim' is not defined.
> 
> Waiting for reply.
> Thanks in advance
> With regards
> Maleklina
> 
> 
>   
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyLD

2011-02-02 Thread ranal fernando


just wondering whether anyone has any suggestions  ?
From: ranalferna...@live.com
To: tinyos-help@millennium.berkeley.edu
Date: Tue, 1 Feb 2011 15:22:08 -0500
Subject: [Tinyos-help] TinyLD
















Dear all,






is there a way to stop or pause a
thread that is created by TinyLD (DynamicLoader.loadFromMemory)?



I tried to get the thread id from the
loaddone event & stop by using ThreadScheduler.stopThread but it
fails.






Any idea about this?



Thanks






ranal fernando
  

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
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 measure interval btw Send.sendDone() and Receive.receive()?

2011-02-01 Thread ranal fernando

great! 

i'm sorry, i did not know about the PacketTimeStamp interface which is very 
useful in this.

Thank you very much for the explanation.

ranal fernando

> From: sal...@isis.vanderbilt.edu
> Date: Tue, 1 Feb 2011 17:10:33 -0600
> Subject: Re: [Tinyos-help] how to measure interval btw Send.sendDone() and 
> Receive.receive()?
> To: ranalferna...@live.com
> CC: whu...@gmail.com; tinyos-help@millennium.berkeley.edu
> 
> You can do that using the LocalTime and the PacketTimestamp
> interfaces. In the sendDone event, you can figure out the time delay
> between transmitting the SFD byte and invoking the sendDone event as
> follows:
> 
>   event void AMSend.sendDone(message_t* bufPtr, error_t error) {
>   uint32_t txSfdTime;
>   uint32_t sendDoneEventTime;
> 
>   sendDoneEventTime = call LocalTime.get();
> 
>   if(call PacketTimeStamp.isValid(bufPtr)) {
>   txSfdTime = call PacketTimeStamp.timestamp(bufPtr);
>   dt = sendDoneEventTime - txSfdTime;
> 
>   // use dt here however you wish (printf, diagmsg, etc.)
> 
>   }
>   }
> 
> 
> Similarly, on the receiver side, you can figure out the time delay
> between receiving the SFD byte and the invocation of the receive
> event.
> 
>   event message_t* Receive.receive(message_t* bufPtr,
>  void* payload, uint8_t len) {
>   uint32_t rxSfdTime;
>   uint32_t receiveEventTime;
> 
>   receiveEventTime = call LocalTime.get();
> 
>   if(call PacketTimeStamp.isValid(bufPtr)) {
> rxSfdTime = call PacketTimeStamp.timestamp(bufPtr);
> dt = receiveEventTime - rxSfdTime;
> 
> // use dt here however you wish (printf, diagmsg, etc.)
> 
>   }
> 
>   return bufPtr;
>   }
> 
> The sum of the two delays (the one on the transmitter's side and the
> one on the receiver) will give you the time between the sendDone and
> the receive events.
> 
> Janos
> 
> On Tue, Feb 1, 2011 at 4:24 PM, ranal fernando  wrote:
> > my belief is that it is hard to sync time between mote to capture a very
> > little time between the Send.sendDone() and Receive.receive().
> >
> > you can get the Send.sendDone() separately (without trying to send it using
> > the same packet) & calculate (get the  Receive.receive() time separately).
> >
> > i'm really not sure whether this will give the exact answer. (because at the
> > destination, packet processing also will take some time before
> > signalingReceive.receive() )
> >
> >
> > ranal fernando
> >
> > 
> > Date: Sat, 29 Jan 2011 22:28:26 -0500
> > From: whu...@gmail.com
> > To: tinyos-help@millennium.berkeley.edu
> > Subject: [Tinyos-help] how to measure interval btw Send.sendDone() and
> > Receive.receive()?
> >
> > Hi everyone,
> > Assuming sender and receiver are synchronous, I want to measure the time
> > interval between two events: namely, Send.sendDone() event of a packet at
> > the sender and Receive.receive() event of the packet at the receiver.
> > Initially I decided to put timestamp of Send.sendDone() event in the packet
> > and timestamp Receive.receive() event at the receiver, the interval could be
> > obtained by the difference of the two timestamps. However, packet payload is
> > loaded prior to calling Send.send() thus before Send.sendDone(), it is
> > impossible to timestamp Send.sendDone() event and place the timestamp in the
> > packet. Can anyone give me some suggestion on how this may be achieved?
> > Thanks very much.
> >
> > --
> > -Xiaohui Liu
> >
> > ___ Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
  ___
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 measure interval btw Send.sendDone() and Receive.receive()?

2011-02-01 Thread ranal fernando

my belief is that it is hard to sync time between mote to capture a very little 
time between the Send.sendDone() andReceive.receive().

you can get the Send.sendDone() separately (without trying to send it using the 
same packet) & calculate (get the   Receive.receive() time separately).

i'm really not sure whether this will give the exact answer. (because at the 
destination, packet processing also will take some time before 
signalingReceive.receive() )


ranal fernando

Date: Sat, 29 Jan 2011 22:28:26 -0500
From: whu...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] how to measure interval btw Send.sendDone() and  
Receive.receive()?

Hi everyone,
Assuming sender and receiver are synchronous, I want to measure the time 
interval between two events: namely, Send.sendDone() event of a packet at the 
sender and Receive.receive() event of the packet at the receiver. Initially I 
decided to put timestamp of Send.sendDone() event in the packet and timestamp 
Receive.receive() event at the receiver, the interval could be obtained by the 
difference of the two timestamps. However, packet payload is loaded prior to 
calling Send.send() thus before Send.sendDone(), it is impossible to timestamp 
Send.sendDone() event and place the timestamp in the packet. Can anyone give me 
some suggestion on how this may be achieved? Thanks very much.

-- 
-Xiaohui Liu



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyLD

2011-02-01 Thread ranal fernando









Dear all,






is there a way to stop or pause a
thread that is created by TinyLD (DynamicLoader.loadFromMemory)?



I tried to get the thread id from the
loaddone event & stop by using ThreadScheduler.stopThread but it
fails.






Any idea about this?



Thanks






ranal fernando
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyOS 2.x Installation

2011-02-01 Thread ranal fernando

as it says it cannot find java.

did you install java? type java in the command prompt & see.

ranal

From: am3...@hotmail.com
To: tinyos-help@millennium.berkeley.edu
Date: Mon, 31 Jan 2011 17:49:53 +0300
Subject: [Tinyos-help] TinyOS 2.x Installation










Hi 

I am new in TinyOS world and I installed TinyOS 2.x on Windows XP 

 from the link 
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1.1#Manual_installation_on_your_host_OS_with_RPMs



when I finished , I try compile Blink example as follow :

$ cd  opt/tinyos-2.x/apps/Blink

$ make micaz


when I type the last command I get the message in the attachment.

please help me. 



 










  

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] about compile error

2011-01-26 Thread ranal fernando


go to /tinyos-2.x/support/sdk/java & type make

Date: Tue, 25 Jan 2011 16:56:41 -0600
From: xuxi0...@gmail.com
To: Tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] about compile error

hi,
when I try to compile RadioToLeds application under Xubuntu with command : make 
micaz sim. It shows" cannot find symbol : class serial packet
location: class net . tinyos. message. Message" what is the problem?
-- 
Regards!
XI XI


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] about compile file under tinyos-1.x

2011-01-24 Thread ranal fernando

change the env. variables listed on the following site to TOS 1.x 

http://docs.tinyos.net/index.php/Installing_TinyOS_2.1

I would suggest you to use TOS 2 if possible.

thanks

ranal

Date: Mon, 24 Jan 2011 13:56:41 -0600
From: xuxi0...@gmail.com
To: Tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] about compile file under tinyos-1.x

hi, I have just finished a seris of programming under tinyos-1.x and want to 
compile and simulate it. but when I type “make micaz sim”, it show a lot of 
component cannot be found and it seems that default MAKERULES under tinyos-2.x. 
How can I compile program under tinyos-1.x within Xubuntos 2.1? I really 
appriciate your response.

-- 
Regards!
XI XI


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TOSThread

2011-01-23 Thread ranal fernando

Hi all,


can someone tell me what is the reason for having a timeout in the receive 
interface in TOSThreads?

like   if(call BlockingReceive0.receive(&m0, 5000) == SUCCESS) {}  Here 
5000 (in millisecs) is a timeout.

Thanks in advance for your valuable help.


Ranal
  ___
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 send a message bigger than 2kb

2011-01-17 Thread ranal fernando

hi,

my understanding is the following.  correct me if i'm wrong.

Since packet length type is uint8_t we can only send 256 bytes (including 
header data etc.) in cc2420 radio. (used by micaz telosb).

so in the case of iris you need to split it. i think even for telosb & micaz 
need splitting 320 bytes.

thanks

ranal

> Date: Mon, 17 Jan 2011 10:23:34 +0100
> From: mmar...@math.u-szeged.hu
> To: loic.pfis...@epfl.ch
> CC: tinyos-help@millennium.berkeley.edu
> Subject: Re: [Tinyos-help] How to send a message bigger than 2kb
> 
> You have to do it yourself. Miklos
> 
> On Mon, Jan 17, 2011 at 10:09 AM, Pfister Loic  wrote:
> > Hi,
> >
> > I need to send a message of 2560 bits --> 320 bytes.
> >
> > From what I read in the mailing list, you are able to send packet up to 114
> > byte with an iris mote.
> >
> > So I will need to send three packets to transmit my full message.
> >
> > So is there any function that split my packet in three automatically ?
> > Or Will I need to implement by myself to split the packet in three, and
> > rebuilt it on the other size ?
> >
> > Thanks a lot in advance
> >
> > loic
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSThreads & TinyLD

2011-01-03 Thread ranal fernando


hi all,



i have another question.



if i create a C app (in capp folder) having 2 threads, and load it with 
TinyLD, will TinyLD create only one thread for both the threads in the 
capp?



because no matter how many threads you have in the capp you get only one thread 
ID (type of tosthread_t) in the 



DynamicLoader.loadFromMemoryDone event.




Am i correct? Are the tosthread_t in the capp different from what you get in 
the main program? ( which has the 
DynamicLoader.loadFromMemoryDone event) how can i map those two values?





thanks

fernando







On Sat, Jan 1, 2011 at 8:37 AM, ranal fernando  wrote:





Thank you very much

I'll try changing those.

> Subject: Re: [Tinyos-help] TOSThreads & TinyLD
> From: clia...@cs.jhu.edu
> Date: Fri, 31 Dec 2010 18:17:48 -0800
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Hi,
> 
> There are two TinyLD files that you need to update.
> 
> 1.) tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h
> 2.) tools/tinyos/tosthreads/tosthreads_standard_api.py
> 
> Thanks
> 
> Mike
> 
> On Dec 30, 2010, at 7:45 PM, ranal fernando wrote:
> 
> > Hi all,
> > 
> >  
> > I noticed a strange behavior in TOSThreads radio interface.
> > 
> > 
> > 
> > I added a new procedure in the CAMRadioP.nc. I also changed the 
> > tosthread_amradio.h accordingly. 
> > 
> > 
> > 
> > The following is just an example of an added procedure call.
> > 
> > 
> > 
> > error_t test() @C() AT_SPONTANEOUS {…}
> > 
> > 
> > 
> > The C based application gets compiled properly. When I install the 
> > application to the mote using
> > 
> > 
> > 
> > Make telosb install cthreads 
> > 
> > 
> > 
> > It works properly.
> > 
> > 
> > 
> > But when I load the same application using the DynamicLoader in TinyLD it 
> > does not work properly.
> > 
> > 
> > 
>
 > Am I missing something? Do I need to make changes in some other 
place other than CAMRadioP.nc & tosthread_amradio.h?
> > 
> > 
> > 
> > Any help would be greatly appreciated.
> > 
> > 
> > 
> > Fernando
> > 
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  

___

Tinyos-help mailing list

Tinyos-help@millennium.berkeley.edu

https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



> Subject: Re: [Tinyos-help] TOSThreads & TinyLD
> From: clia...@cs.jhu.edu
> Date: Fri, 31 Dec 2010 18:17:48 -0800
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Hi,
> 
> There are two TinyLD files that you need to update.
> 
> 1.) tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h
> 2.) tools/tinyos/tosthreads/tosthreads_standard_api.py
> 
> Thanks
> 
> Mike
> 
> On Dec 30, 2010, at 7:45 PM, ranal fernando wrote:
> 
> > Hi all,
> > 
> >  
> > I noticed a strange behavior in TOSThreads radio interface.
> > 
> > 
> > 
> > I added a new procedure in the CAMRadioP.nc. I also changed the 
> > tosthread_amradio.h accordingly. 
> > 
> > 
> > 
> > The following is just an example of an added procedure call.
> > 
> > 
> > 
> > error_t test() @C() AT_SPONTANEOUS {…}
> > 
> > 
> > 
> > The C based application gets compiled properly. When I install the 
> > application to the mote using
> > 
> > 
> > 
> > Make telosb install cthreads 
> > 
> > 
> > 
> > It works properly.
> > 
> > 
> > 
> > But when I load the same application using the DynamicLoader in TinyLD it 
> > does not work properly.
> > 
> > 
> > 
> > Am I missing something? Do I need to make changes in some other place other 
> > than CAMRadioP.nc & tosthread_amradio.h?
> > 
> > 
> > 
> > Any help would be greatly appreciated.
> > 
> > 
> > 
> > Fernando
> > 
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSThreads & TinyLD

2011-01-01 Thread ranal fernando

Thank you very much

I'll try changing those.

> Subject: Re: [Tinyos-help] TOSThreads & TinyLD
> From: clia...@cs.jhu.edu
> Date: Fri, 31 Dec 2010 18:17:48 -0800
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Hi,
> 
> There are two TinyLD files that you need to update.
> 
> 1.) tos/lib/tosthreads/lib/tinyld/tosthread_slcs_types.h
> 2.) tools/tinyos/tosthreads/tosthreads_standard_api.py
> 
> Thanks
> 
> Mike
> 
> On Dec 30, 2010, at 7:45 PM, ranal fernando wrote:
> 
> > Hi all,
> > 
> >  
> > I noticed a strange behavior in TOSThreads radio interface.
> > 
> > 
> > 
> > I added a new procedure in the CAMRadioP.nc. I also changed the 
> > tosthread_amradio.h accordingly. 
> > 
> > 
> > 
> > The following is just an example of an added procedure call.
> > 
> > 
> > 
> > error_t test() @C() AT_SPONTANEOUS {…}
> > 
> > 
> > 
> > The C based application gets compiled properly. When I install the 
> > application to the mote using
> > 
> > 
> > 
> > Make telosb install cthreads 
> > 
> > 
> > 
> > It works properly.
> > 
> > 
> > 
> > But when I load the same application using the DynamicLoader in TinyLD it 
> > does not work properly.
> > 
> > 
> > 
> > Am I missing something? Do I need to make changes in some other place other 
> > than CAMRadioP.nc & tosthread_amradio.h?
> > 
> > 
> > 
> > Any help would be greatly appreciated.
> > 
> > 
> > 
> > Fernando
> > 
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TOSThreads & TinyLD

2010-12-30 Thread ranal fernando



Hi all,

 

I noticed a strange behavior in TOSThreads radio interface.


I added a new procedure in the CAMRadioP.nc. I also changed
the tosthread_amradio.h accordingly. 



The following is just an example of an added procedure call.


error_t test() @C() AT_SPONTANEOUS {…}


The C based application gets compiled properly. When I install
the application to the mote using


Make telosb install cthreads 



It works properly.


But when I load the same application using the DynamicLoader
in TinyLD it does not work properly.


Am I missing something? Do I need to make changes in some other
place other than CAMRadioP.nc & tosthread_amradio.h?


Any help would be greatly appreciated.


Fernando


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] PANID

2010-09-14 Thread ranal fernando

hi all,

in tinyos 2, where does the PANID filtering happen? because i operated two 
networks with two different PANIDs. but they can hear each other. (i'm using 
telosbs)

thanks.

ranal fernando
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Timer

2010-08-19 Thread ranal fernando

hi all,

is there a way to use Timer interface with T32khz precision?  i tried it with 
TMilliC  it gave some errors. i think TMilliC is only for TMilli precision

is there another component  that i need to wire to use T32khz precision? used 
VirtualizeTimerC but did not work.

thanks


ranal
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] sending large packets in Deluge

2010-08-14 Thread ranal fernando



Dear all,


 


I’m working on wireless networks. I was wondering is there a
way to use Deluge to send a large packet. (which is NOT a program binary) 


 


What are the disadvantages if I simply increase the TinyOS
minimum packet size?


 


I would be really happy if you can help me in this. 





 


Thank you


 


Ranal Fernando


  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] PC to MOTE communication

2010-08-12 Thread ranal fernando

change the test serial application according to your needs but delete 
testserialmsg.java & all the class files before make telosb

hope this helps

ranal fernando

> Date: Thu, 12 Aug 2010 10:05:39 -0500
> From: xd...@cse.unl.edu
> To: tinyos-help@millennium.berkeley.edu
> Subject: [Tinyos-help] PC to MOTE communication
> 
> Greetings,
> 
> Right now I need to write a program in TinyOS 2 to send some parameters 
> from a PC to a MOTE. Do anyone knows what is the best way to do it?
> 
> The tutorial only shows communication from MOTE to PC, but I need the 
> other way.
> 
> I guess it has something to do with SerialAMReceiverC and 
> SerialActiveMessageC, but I don't know how to use them. Can I have both 
> radio communication and serial communication in one program?
> 
> Thanks in advance for any help,
> Xin
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge

2010-08-03 Thread ranal fernando

hi all,

can i use deluge service to send a considerably large byte array? basically i'm 
sending a TOSThread as a byte array.


thanks


ranal
  ___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] BusyWait

2010-06-29 Thread ranal fernando



Hi all,

 

I was trying to use BusyWait interface.

I got it working but it has a very stange behavior which I do
not understand.

 

I wanted the system to busywait for 5000 milliseconds so I includes

 

Interface BusyWait

 

And wired as following

App.BusyWait->BusyWaitCounterC;

BusyWaitCounterC.Counter->CounterMilli32C;

 

 

It is working when I call 

 

Call Busywait.wait(500); it is even working with values like
50,3000

 

But gets stuck when I try 

Call Busywait.wait(5000);

 

Can anyone tell me why is this?

 

Thanks in advance.

 

Ranal fernando

 

  
_
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Java problems

2010-06-21 Thread ranal fernando


hi,


try going to /opt/tinyos-2.x/support/sdk/java & make


thanks


M.S.R.fernando
From: conque...@aol.com
To: sc...@santafe.edu
Date: Thu, 17 Jun 2010 10:15:00 -0400
CC: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] Java problems


This is what my CLASSPATH variable looks like:

xadministra...@945-tst9 /opt/tinyos-2.x/apps/RadioCountToLeds
$ echo $CLASSPATH
cygpath -w $TOSROOT/support/sdk/java/tinyos.jar;.

This is what the output looks like when I try compiling the program:
xadministra...@945-tst9 /opt/tinyos-2.x/apps/RadioCountToLeds
$ make micaz
mkdir -p build/micaz
javac RadioCountMsg.java
RadioCountMsg.java:7: package net.tinyos.message does not exist
public class RadioCountMsg extends net.tinyos.message.Message {
^
RadioCountMsg.java:67: package net.tinyos.message does not exist
   public RadioCountMsg(net.tinyos.message.Message msg, int base_offset) {
  ^
RadioCountMsg.java:76: package net.tinyos.message does not exist
   public RadioCountMsg(net.tinyos.message.Message msg, int base_offset, int da
ta_length) {
  ^
RadioCountMsg.java:18: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:24: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:33: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:42: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:51: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:60: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:69: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:78: cannot find symbol
symbol  : method amTypeSet(int)
location: class RadioCountMsg
   amTypeSet(AM_TYPE);
   ^
RadioCountMsg.java:134: cannot find symbol
symbol  : method getUIntBEElement(int,int)
location: class RadioCountMsg
   return (int)getUIntBEElement(offsetBits_counter(), 16);
   ^
RadioCountMsg.java:141: cannot find symbol
symbol  : method setUIntBEElement(int,int,int)
location: class RadioCountMsg
   setUIntBEElement(offsetBits_counter(), 16, value);
   ^
13 errors
make: *** [RadioCountMsg.class] Error 1
On Jun 16, 2010, at 15:24, Michael Schippling  wrote:

If you are on MSWidows, do not use the /opt/... syntax in Java CP
settings, it is specific to cygwin.dll users, of which Java is not.
Use the full path, e.g.: C:/cygwin/opt/...

MS


Stefano "Kismet" Lenzi wrote:
On Wed, Jun 16, 2010 at 18:51, John  wrote:
I'm trying to make the TestSerial program for micaz motes on tiny os
2.x but I keep receiving errors such as package net.tinyos.message
does not exist and I thought I set my environment values correctly. Is
it possible that something else is wrong. Thanks for any help.
Can you check the value of the CLASSPATH enviroment vvariable? From
the command line you can use the command
echo $CLASSPATH
If the classpath is not empty check if it points to a directory
containg class files or to a tinyos.jar file, if the CLASSPATH is
empty you should set it to the absulte path which points to the
tinyos.jar contained inside the tinyos installation folder, usually it
should be /opt/tinyos-2.1.1/support/sdk/java/tinyos.jar
you can use the command
export CLASSPATH="/opt/tinyos-2.1.1/support/sdk/java/tinyos.jar" for
setting the classpath
--
John
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TestSerial not found

2010-06-07 Thread ranal fernando


i think your java programs are not compiled


go to /opt/tinyos-2.x/support/sdk/java   & type make 


try this


ranal
Date: Sun, 6 Jun 2010 18:37:11 +0200
From: walterb...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] TestSerial not found

I'd write java -version to find out what was the version that i'm using and the 
output was:

java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)

OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)

could this be the problem?

2010/6/6 Walter Bishop 

I've opened and new vmware version of ubuntu and installed tinyos according to 
this tutorial:


http://wiki.github.com/wanja/tinyos-2.x/getting-started


and everything works till i try to run java TestSerial... I have the same 
ClassNotFoundExeption.

2010/6/6 Ali Baharev 


No, it is something else, it is NOT a java related problem this time.




If everything fails, try to re-install TinyOS as described here:



http://docs.tinyos.net/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages





Ali




  
_
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TestSerial

2010-06-07 Thread ranal fernando
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi all, can somebody tell me how to send packets that are
  variable length to a mote by using Testserial app? it is sending packets whose
   length is predefined. [...] 

Content analysis details:   (3.8 points, 3.3 required)

 pts rule name  description
 -- --
 3.2 FH_DATE_PAST_20XX  The date is grossly in the future.
 2.0 BAYES_80   BODY: Bayesian spam probability is 80 to 95%
[score: 0.8570]
 0.0 HTML_MESSAGE   BODY: HTML included in message
 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.
-2.5 AWLAWL: From: address is in the auto white-list

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---

Hi all,


can somebody tell me how to send packets that are variable length to a mote by 
using Testserial app?



it is sending packets whose length is predefined.

any help will be greatly appreciated!


ranal fernando
  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] CTP

2010-05-18 Thread ranal fernando


i got it thank you very much

ranal
> From: gnaw...@cs.stanford.edu
> Date: Mon, 17 May 2010 20:20:42 -0700
> Subject: Re: [Tinyos-help] CTP
> To: ranalferna...@live.com
> CC: tinyos-help@millennium.berkeley.edu
> 
> On Thu, May 13, 2010 at 3:50 PM, ranal fernando  
> wrote:
> > Dear all,
> >
> >
> >
> > I have some data in the PC which has to be to the nodes in the network. I
> > used SerialActiveMessageC to send the data to base station mote. The base
> > mote is getting the data. From there I’m trying to use CollectionSenderC to
> > send the data to other motes.
> >
> >
> >
> > I send using
> >
> > call MultiSend.send(&packet,sizeof(test_data_msg_t));  which
> > returns SUCCESS.
> >
> >
> >
> > MultiSend is wired to CollectionSenderC.
> >
> > But the other mote which is next is not signaling the receive event.
> >
> >
> >
> > Can somebody tell me what is the reason for this?
> 
> You cannot use CTP to send data from a basestation to the rest of the
> network. For something like that, you might want to look into
> dissemination protocols. TinyOS 2.x has three of them - Drip, DIP, and
> DHV and they are mentioned on the tutorial:
> http://docs.tinyos.net/index.php/Dissemination
> 
> - om_p
  
_
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CTP

2010-05-13 Thread ranal fernando



Dear all,

 

I have some data in the PC which has to be to the nodes in
the network. I used SerialActiveMessageC to send the data to base station mote.
The base mote is getting the data. From there I’m trying to use
CollectionSenderC to send the data to other motes.

 

I send using 

call
MultiSend.send(&packet,sizeof(test_data_msg_t));  which returns SUCCESS.

 

MultiSend is wired to CollectionSenderC.


But the other mote which is next is not signaling the
receive event.

 

Can somebody tell me what is the reason for this?

 

Thank you very much,

 

M.S.R.Fernando

  
_
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TinyLD

2010-05-11 Thread ranal fernando

thank you very much for the quick reply.

actually there was an error in the environment variables. now it is getting 
compiled.

thanks again.

ranal fernando

> Subject: Re: TinyLD
> From: clia...@cs.jhu.edu
> Date: Mon, 10 May 2010 21:35:43 -0400
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> Did you CVS-update the whole TinyOS tree, or just LoadFromRAM? Please try 
> updating the entire tree.
> 
> Thanks
> 
> Mike
> 
> On May 10, 2010, at 6:44 PM, ranal fernando wrote:
> 
> > Dear all,
> > 
> >  
> > 
> > I wanted to check how LoadFromRAM in tinyld works. I did a cvs update & 
> > then I tried to make the application LoadFromRAM by giving
> > 
> > make telosb threads
> > 
> > I even tried
> > 
> > Make telosb   as mentioned in the readme file.
> > 
> >  I got enormous number of errors.   
> > 
> >  
> > 
> >  
> > 
> > In file included from 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerC.nc:50,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/PlatformInterruptC.nc:43,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/chips/msp430/Msp430TimerC.nc:163,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430ClockC.nc:33,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/platforms/telosb/MoteClockC.nc:44,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/platforms/telosa/PlatformC.nc:35,
> > 
> >  from 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/MainC.nc:50,
> > 
> >  from LoadFromRAMAppC.nc:34:
> > 
> > In component `TinyThreadSchedulerP':
> > 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc: In 
> > function `ThreadScheduler.wakeupThread':
> > 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:254: 
> > warning: declaration of `i' shadows global declaration
> > 
> > /opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:57: 
> > warning: location of shadowed declaration
> > 
> > In file included from 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadC.nc:39,
> > 
> >  from 
> > /opt/tinyos-2.x/tos/lib/tosthreads/lib/tinyld/TosThreadApiC.nc:42,
> > 
> >  from 
> > /opt/tinyos-2.x/tos/lib/tosthreads/lib/tinyld/DynamicLoaderC.nc:55,
> > 
> >  from LoadFromRAMAppC.nc:36:
> > 
> > In component `CThreadP':
> > 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In function 
> > `tosthread_create':
> > 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc:45: syntax error 
> > before `AT_SPONTANEOUS'
> > 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In function 
> > `tosthread_destroy':
> > 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc:48: syntax error 
> > before `AT_SPONTANEOUS'
> > 
> > /opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In function 
> > `tosthread_pause':
> > 
> >  
> > 
> >  
> > 
> > Can somebody let me know what might be the reason? 
> > 
> >  
> > 
> > Thanks in advance
> > 
> >  
> > 
> > Fernando
> > 
> > 
> > The New Busy is not the old busy. Search, chat and e-mail from your inbox. 
> > Get started.
> 
  
_
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyLD

2010-05-10 Thread ranal fernando
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Dear all, I wanted to check how LoadFromRAM in tinyld works.
   I did a cvs update & then I tried to make the application LoadFromRAM by
  giving make telosb threads [...] 

Content analysis details:   (3.9 points, 3.3 required)

 pts rule name  description
 -- --
 3.2 FH_DATE_PAST_20XX  The date is grossly in the future.
 2.4 TVD_SPACED_SUBJECT_WORD3 TVD_SPACED_SUBJECT_WORD3
 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.0 BAYES_50   BODY: Bayesian spam probability is 40 to 60%
[score: 0.5000]
 1.1 DNS_FROM_OPENWHOIS RBL: Envelope sender listed in bl.open-whois.org.
-2.8 AWLAWL: From: address is in the auto white-list

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---



Dear all,

 

I wanted to check how LoadFromRAM in tinyld works. I did a
cvs update & then I tried to make the application LoadFromRAM by giving 

make telosb threads

I even tried 

Make telosb   as
mentioned in the readme file.

 I got enormous number
of errors.   

 

 

In file included from
/opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerC.nc:50,

 from
/opt/tinyos-2.1.0/tos/lib/tosthreads/system/PlatformInterruptC.nc:43,

 from
/opt/tinyos-2.1.0/tos/lib/tosthreads/chips/msp430/Msp430TimerC.nc:163,

 from
/opt/tinyos-2.1.0/tos/chips/msp430/timer/Msp430ClockC.nc:33,

 from
/opt/tinyos-2.1.0/tos/platforms/telosb/MoteClockC.nc:44,

 from
/opt/tinyos-2.1.0/tos/platforms/telosa/PlatformC.nc:35,

 from
/opt/tinyos-2.1.0/tos/lib/tosthreads/system/MainC.nc:50,

 from
LoadFromRAMAppC.nc:34:

In component `TinyThreadSchedulerP':

/opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:
In function `ThreadScheduler.wakeupThread':

/opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:254:
warning: declaration of `i' shadows global declaration

/opt/tinyos-2.1.0/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:57:
warning: location of shadowed declaration

In file included from
/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadC.nc:39,

 from
/opt/tinyos-2.x/tos/lib/tosthreads/lib/tinyld/TosThreadApiC.nc:42,

 from
/opt/tinyos-2.x/tos/lib/tosthreads/lib/tinyld/DynamicLoaderC.nc:55,

 from
LoadFromRAMAppC.nc:36:

In component `CThreadP':

/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In
function `tosthread_create':

/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc:45:
syntax error before `AT_SPONTANEOUS'

/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In
function `tosthread_destroy':

/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc:48:
syntax error before `AT_SPONTANEOUS'

/opt/tinyos-2.x/tos/lib/tosthreads/csystem/CThreadP.nc: In
function `tosthread_pause':

 

 

Can somebody let me know what might be the reason?  

 

Thanks in advance

 

Fernando

  
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] CC2420Config

2010-04-20 Thread ranal fernando



Dear all,

 

Is there a way to include cc2420_tkn154 folder in my app.
The reason is I need to programmatically change the radio transmit power. But 
cc2420config.c
in the folder cc2420 does not have that command. But cc2420config.nc in 
cc2420_tkn154
folder has the ability to change it. But when I compile my app by default goes
to cc2420 folder & it says,

 

CC2420Config.syncDone not implemented.

 

Can somebody suggest me something to overcome this problem.

 

Thanks in advance

 

ranal

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Tasks

2010-04-15 Thread ranal fernando


hi all,
How can I check whether there are tasks in the taskqueue? 

I used Radiostress application in tosthreads & used 

TashScheduler.hasTasks() before & after
BlockingReceive0.receive but it always returns false?

 

Is blockingreceive.receive supposed to post a task to the
main tinyos thread? As far as I know it is.

 

Any help would be appreciated.

 

thanks

 
ranal

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] capturing packets in tosthreads

2010-04-15 Thread ranal fernando

Hi all,

 

I have a question related to TOSThreads.

 

I need tinyos main thread to  capture a packet & get the data that is
supposed to be received by an application thread (suppose thread 1). Will it be
possible for me to do that?

 

Because I know that the tinyos main thread will get called
to receive the packet.(if I’m not wrong) at that moment will I be able to 
retrieve
the data?

 

If this is possible can someone suggest a way to implement
this?

 

Thanks 

 

ranal 
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] telosb radio range

2010-04-09 Thread ranal fernando



Hi all,

I’m working with telosb motes in TOS2. I need to change the
radio range of cc2420.

I tried giving DCC2420_DEF_RFPOWER=3 .




but it does not seem to work. I could do change the radio
range by including this in tinyos 1 .

It is really helpful to work with a reduced radio range when
I have a network.i really do not need to change it on a packet basis. 

Can anybody help me in this?

Thanks in advance

 

ranal

  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/196390708/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Radiostress app. in tosthreads

2010-04-05 Thread ranal fernando

got it.
thanks
ranal

> Subject: Re: [Tinyos-help] Radiostress app. in tosthreads
> From: clia...@cs.jhu.edu
> Date: Mon, 5 Apr 2010 15:07:37 -0400
> CC: tinyos-help@millennium.berkeley.edu
> To: ranalferna...@live.com
> 
> BlockingReceive.receive returns if it receives a packet, or nothing after 
> 5000 msec. In the latter case, it would return with FAIL error code. As you 
> pointed out, RadioStress currently doesn't check for returned error code, and 
> just blinks.
> 
> Mike
> 
> On Apr 5, 2010, at 2:50 PM, ranal fernando wrote:
> 
> > Hi all,
> >  
> > I’m trying to understand the behavior of radiostress app.
> > I found that this app will only receive if the node_id is 0.
> > I have the following questions.
> >  
> > Can blockingreceive.receive(etc.) can return success even without actually 
> > getting a packet?
> >  
> > Because when I ran the app  the leds started to toggle.
> >  I was wondering without really receiving a packet how can it start 
> > toggling?
> >  
> > I’ll be really thankful if someone can explain why this is happening?
> >  
> > Thanks
> >  
> > ranal
> > 
> > The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
> > Hotmail. Get busy.___
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Radiostress app. in tosthreads

2010-04-05 Thread ranal fernando

Hi all,

 

I’m trying to understand the behavior of radiostress app.

I found that this app will only receive if the node_id is 0.


I have the following questions.

 

Can blockingreceive.receive(etc.) can return success even
without actually getting a packet?

 

Because when I ran the app  the leds started to toggle.

 I was wondering
without really receiving a packet how can it start toggling?

 

I’ll be really thankful if someone can explain why this is
happening?

 

Thanks

 

ranal 
_
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with 
Hotmail. 
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TestPrintf in tosthreads

2010-03-25 Thread ranal fernando

Hi all,

I was trying out the TestPrintf app in tosthreds folder. It
works sometimes. But randomly it fails to start.

 

It says

Thread[Thread-1,5,main] serial@/dev/ttyUSB0:57600:
resynchronising

 

Can somebody tell me what is the reason for this?

 

 

Thanks in advance.

 

ranal 
_
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] AMSend.sendDone not signalled

2010-03-05 Thread ranal fernando


Hi Mojtaba,
thank you very much for the reply.
but i have added noise model this is my .py file have a look & let me know if 
i'm making a mistake

#! /usr/bin/pythonimport sysfrom TOSSIM import 
*t=Tossim([])r=t.radio();r.setThreshold(-72);m=t.getNode(2);m1=t.getNode(3);m2=t.getNode(4);t.addChannel("BlinkC",sys.stdout);m.bootAtTime(45654);m1.bootAtTime(45654);m2.bootAtTime(45654);
// added links
r.add(2,3,-50.0);r.add(3,2,-50.0);r.add(4,2,-50.0);r.add(2,4,-50.0);r.add(4,3,-50.0);r.add(3,4,-50.0);
m=addNoisetraceReading(-39);m1=addNoisetraceReading(-98);m2=addNoisetraceReading(-98);m.createNoiseModel();m1.createNoiseModel();m2.createNoiseModel();

for i in range(1,2):t.runNextEvent()

ranal
> From: mojtaba.razna...@gmail.com
> To: tinyos-help@millennium.berkeley.edu
> Date: Fri, 5 Mar 2010 10:14:32 +0330
> Subject: Re: [Tinyos-help] AMSend.sendDone not signalled
> 
> 
> Hi Ranal,
> 
> Have you loaded any noise model to your motes ?
> I had a problem like this ,you should use a noise model and load it in
> everynode you want to be simulated.
> Have a look at this : http://docs.tinyos.net/index.php/TOSSIM and read
> "Configuring a Netwrok".
> 
> 
> Good luck.
>  
> Mojtaba Raznahan.
> www.raznahan.com
> Computer engineering ,BS
> TMU university
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Adding tosthreads support in tossim

2010-03-04 Thread ranal fernando

Dear all,

 

Is it possible for us to add support for TOSThreads in
TOSSIM? 

 If yes can anyone let
us know some documentation related to the structure of the TOSSIM
implementation so that we have a clear idea what files need to be updated?

 

 

Thanks in advance

 

ranal 
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] AMSend.sendDone not signalled

2010-03-04 Thread ranal fernando

Dear all,
sorry for multiple posts  i did not include the subject in the previous post.I 
have implemented AMSend.send command in my program. But i see there is no 
AMSend.sendDone signalled. Can somebody tell me why this is happening?i ran the 
application in TOSSIM Thanks in advance.

Ranal 
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] (no subject)

2010-03-04 Thread ranal fernando



Dear all,

I have implemented AMSend.send command in my program. But i see there is no 
AMSend.sendDone signalled. Can somebody tell me why this is happening?i ran the 
application in TOSSIM Thanks in advance.

Ranal 
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TinyLD

2010-03-04 Thread ranal fernando


Dear all,
As far as i know TinyLD is implemented only in msp430. Do you have an 
implementation in atmega(micaz) platform?
thanks

ranal

  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] xubuntos with tmote sky nodes problem

2010-02-10 Thread ranal fernando

Did you try giving make telosb install bsl, /dev/ttyUSB0
is your environment configured? but it is usually pre configured.


> From: mongoose_r...@mail.ru
> To: tinyos-help@millennium.berkeley.edu
> Date: Wed, 10 Feb 2010 23:56:03 +0300
> Subject: [Tinyos-help] xubuntos with tmote sky nodes problem
> 
> hi i am running Xubuntos, connected Moteiv Tmote Sky node,
> then opening terminal it greets me as follows: Setting up for TinyOS 2.x
> 
> then i type motelist it sees my device
> 
> ReferenceDevice  Description
> M/dev/ttyUSB0Moteiv tmote sky
> 
> then i type the following:
> a...@a:~$make tmote install bsl,/dev/ttyUSB0
> make: *** No rule to make target 'tmote'. Stop.
> 
> 
> Can anyone help me to solve this problem? thanks a lot!
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSThreads inTOSSIM

2010-02-09 Thread ranal fernando


thank you very  much. 
yes i have java installed according to the instructions in tinyos wiki.
but i can compile for telosb platform. it compiles perfectly. only problem is 
with micaz.
should i reinstall java & see?
Fernando
Subject: Re: [Tinyos-help] TOSThreads inTOSSIM
From: p...@cs.stanford.edu
Date: Tue, 9 Feb 2010 17:30:48 -0800
CC: klue...@gmail.com; tinyos-help@millennium.berkeley.edu
To: ranalferna...@live.com




On Feb 9, 2010, at 3:41 PM, ranal fernando wrote:Thank you very much.
But i have a small problem compiling the Blink app for micaz

when i say
make micaz threads
it gives me an error 
/usr/bin/nescc-wiring: line 19: java command not found
but i have not connected a micaz to my system. I was just checking whether it 
compiles.
this is the same with RadioStress app
If would be really thankful if you could let me know why i'm getting this msg.
It's trying to execute java and can't find it. Have you installed Java as per 
the TinyOS installation instructions?
Phil  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] TOSThreads inTOSSIM

2010-02-09 Thread ranal fernando

Thank you very much.
But i have a small problem compiling the Blink app for micaz

when i say
make micaz threads
it gives me an error 
/usr/bin/nescc-wiring: line 19: java command not found
but i have not connected a micaz to my system. I was just checking whether it 
compiles.
this is the same with RadioStress app
If would be really thankful if you could let me know why i'm getting this msg.
thank you
Fernando






> Date: Tue, 9 Feb 2010 15:21:05 -0800
> Subject: Re: [Tinyos-help] TOSThreads inTOSSIM
> From: klue...@gmail.com
> To: ranalferna...@live.com
> 
> TOSSIM only supports micaz, but tosthreads on real hardware supports both.
> 
> Kevin
> 
> On Tue, Feb 9, 2010 at 3:11 PM, ranal fernando  wrote:
> >
> > thanks for the  quick respose.
> > do you currently support micaz motes or just telosb
> > thanks again
> >> Date: Tue, 9 Feb 2010 14:52:18 -0800
> >> Subject: Re: [Tinyos-help] TOSThreads inTOSSIM
> >> From: klue...@gmail.com
> >> To: ranalferna...@live.com
> >> CC: tinyos-help@millennium.berkeley.edu
> >>
> >> There is currently no explicit support for TOSThreads in TOSSIM that I
> >> am aware of.
> >>
> >> Kevin
> >>
> >> On Tue, Feb 9, 2010 at 2:34 PM, ranal fernando 
> >> wrote:
> >> >
> >> >
> >> > Dear all,
> >> > Will i be able to use TOSSIM  to simulate TOSThreads?
> >> > Thanks
> >> > M.S.R. Fernando
> >> > 
> >> > Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign
> >> > up
> >> > now.
> >> > ___
> >> > Tinyos-help mailing list
> >> > Tinyos-help@millennium.berkeley.edu
> >> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >> >
> >>
> >>
> >>
> >> --
> >> ~Kevin
> >
> > 
> > Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up
> > now.
> 
> 
> 
> -- 
> ~Kevin
  
_
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TOSThreads inTOSSIM

2010-02-09 Thread ranal fernando



Dear all,
Will i be able to use TOSSIM  to simulate TOSThreads?
Thanks 
M.S.R. Fernando   
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469226/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] scope of Tinyscript

2010-02-03 Thread ranal fernando

Dear all,

 

I would like to know the scope of Tinyscript after we
started with TOS 2.x. Is the community going to have a new language for an
application which might need a scripting language?

 

Thank you very much

 

M.S.R.Fernando

 

  
_
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Setting the CC2420 radio range

2009-06-11 Thread ranal fernando

try to add the following line in the makefile & then compile

 

CFLAGS+=-DCC2420_DEF_RFPOWER=31


 


Date: Thu, 11 Jun 2009 16:42:15 -0600
From: m.hashem...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Setting the CC2420 radio range

Hi all,

I have a program running on MICAz motes with TOS 1.x (the one which ships with 
MoteWorks by Crossbow). I want to set the CC2420 radio range to the highest 
value (31), so at first I used CC2420Controller.SetRFPower to set the power, 
but after setting the rate again the power drops to 15 (which seems to be the 
default value, right?). why it changes and how can I set it for the whole 
program life time? is there any way to set this value at compile time?

Thanks
Mohammad

_
Insert movie times and more without leaving Hotmail®. 
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Deluge T2 BaseStation compilation error

2009-05-27 Thread ranal fernando


Thank you for the reply.

 

 I’m running the
latest CVS. (I followed the instructions at  sourceforge). 

But I updated it again but still gives the same problem.

What might be the reason for this error?

I configured /opt/tinyos-2.x/tools according to the
tutorial.

 

But when I compile BaseStation program it gives me the
error.

 

Component DelugeC not found.

 please help me 

Thank you.

 

R.Fernando> Date: Tue, 26 May 2009 20:03:53 -0400
> From: razv...@cs.jhu.edu
> To: ranalferna...@live.com
> CC: tinyos-help@millennium.berkeley.edu
> Subject: Re: [Tinyos-help] Deluge T2 BaseStation compilation error
> 
> Hi!
> 
> On Tue, 26 May 2009, ranal fernando wrote:
> 
> >
> > Dear all,
> >
> >
> >
> > Iʼm trying to use Deluge for T2, I could continue according
> > to the Deluge T2 tutorial  but when I encounter
> > the compilation of BaseStation app it
> > gives me an error.
> >
> >
> > Component deluge not found
> >
> >
> >
> > When I give $ TINYOS_NP=BNP make telosb
> > it gives me lot of
> > errors.
> >
> >
> >
> > I went thru TOS help for bnp.extra. I have bnp.extra version
> >
> >
> >
> >
> > bnp.extra,v 1.3 2007/07/11 00:42:54 razvanm
> > Exp $
> >
> >
> >
> > I tried to download a new bnp.extra but it is not available
> > for download at sourceforge as well as at Razvanʼs location.
> >
> > I think this is a path problem.
> >
> 
> Are you running the latest CVS? If you are not, can you please give a try? :-)
> 
> Note: the 'TINYOS_NP=BNP' was replaces by 'BOOTLOADER=tosboot'.
> 
> --
> Razvan ME
> 
> >
> > I really want some help in this.
> >
> > Thanks in advance.
> >
> >
> >
> > R.Fernando
> >
> >

_
Hotmail® goes with you. 
http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Deluge T2 BaseStation compilation error

2009-05-26 Thread ranal fernando

Dear all,

 

I’m trying to use Deluge for T2, I could continue according
to the Deluge T2 tutorial  but when I encounter
 the compilation of BaseStation app it
gives me an error.


Component deluge not found

 

When I give $ TINYOS_NP=BNP make telosb 
it gives me lot of
errors.

 

I went thru TOS help for bnp.extra. I have bnp.extra version


 

bnp.extra,v 1.3 2007/07/11 00:42:54 razvanm
Exp $

 

I tried to download a new bnp.extra but it is not available
for download at sourceforge as well as at Razvan’s location.

I think this is a path problem.

 

I really want some help in this.

Thanks in advance.

 

R.Fernando

 
_
Hotmail® has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Help with Mate

2009-01-29 Thread ranal fernando

Dear all,
 
 
I’m very new to maté. I need to know the following about maté , and please 
correct me if I’m wrong.
 
1. What is the support provided in maté to run concurrent applications?
2. As far as I know we can run two or more contexts simultaneously by halting 
one contexts & running the other & resuming the halted context later etc.
3. I have a sample VM which consists of timer0 and reboot contexts. But when I 
call 
Java net.tinyos.script.Scripter –comm tossim-serial reboot led.txt
 
Timer0context throws vmrebooted event. Can somebody please tell me why is this 
happening?
 
Since I’m new to this my understanding might be wrong.
Thanks in advance.
Ranal Fernando
 

_
Windows Live™: E-mail. Chat. Share. Get more ways to connect. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Base mote ID in surgetelos

2008-11-05 Thread ranal fernando

Dear all,
 
Is it possible to have a number other than 0 for the base mote in surgetelos? 
If so where can I change this?
 
Thanks in advance
 
 
Fernando
_
Get 5 GB of storage with Windows Live Hotmail.
http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_5gb_112008___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Base mote ID in surgetelos

2008-11-05 Thread ranal fernando

Dear all,
 
Is it possible to have a number other than 0 for the base mote in surgetelos? 
If so where can I change this?
 
Thanks in advance
 
 
Fernando
_
See how Windows® connects the people, information, and fun that are part of 
your life
http://clk.atdmt.com/MRT/go/119463819/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Packet sending rate in Surgetelos

2008-10-01 Thread ranal fernando
 
 
 
 
 
Dear all,
 
 
How can I change the packet sending rate of the surgetelos application?
 
Any suggestions would be appreciated.
 
Thanks in advance for your replies
 
 
Fernando
_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Multihop communication

2008-09-30 Thread ranal fernando
 
 
 
Dear all,
 
What are the changes I have to make to change a single hop oscilloscope program 
to multihop?
 
Any help would be appreciated
 
 
Thanks in advance for your replies
 
 
Ranal
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Multihop routing

2008-09-26 Thread ranal fernando
Dear all,
 
 
I have an Easysen board attached to a tmotesky. Easysen has given their example 
application. This is not multihop. Can anyone tell me how to make this program 
multihop? What are the basic functions we need to add to make a basic program 
multihop?
 
 
 
 
Thanks .
 
 
 
Ranal
_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] SurgeTelos

2008-07-17 Thread ranal fernando

Dear all,
 
Thank you very much for your help. Now it is working and doing the multihop 
networking.
 
Thanks again
 
 
 
Ranal 

Date: Thu, 17 Jul 2008 14:37:06 +0900From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: [Tinyos-help] SurgeTelos

Please use SurgeTelos application for the Sink node instead of TOSBase.
Be sure that * make telosb reinstall.0 *, node id is 0 for Sink.
 
2008/7/17 ranal fernando <[EMAIL PROTECTED]>:


Dear all,
 
I have a problem with SurgeTelos.
I created the TOS image & injected it to several telosb motes having 1, 2, and 
3 as the addresses. I created a TOSBase (with the address 0) & gave the 
following command.
 
Java net.tinyos.tools.Listen 
But it is only getting the data from the mote within its range. It is not 
showing any data from other motes. Apparently multihop function is not working.
 
Can somebody help me in this? I'm really in need of help.
 
 
Thanks in advance.
 
Ranal

Time for vacation? WIN what you need. Enter 
Now!___Tinyos-help mailing [EMAIL 
PROTECTED]://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help-- 
Jeonghoon Kang Senior Researcher at Korea Electronics Technology 
Institute(www.keti.re.kr) TinyOS Korea Forum Administratorwww.tinyos.or.krwork 
= [EMAIL PROTECTED] private = [EMAIL PROTECTED]/rnd/*Kmote Connector 
http://www.tinyos.re.kr/bbs/upload/kmote_connector.pdf 
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] SurgeTelos

2008-07-16 Thread ranal fernando
Dear all,
 
I have a problem with SurgeTelos.
I created the TOS image & injected it to several telosb motes having 1, 2, and 
3 as the addresses. I created a TOSBase (with the address 0) & gave the 
following command.
 
Java net.tinyos.tools.Listen 
But it is only getting the data from the mote within its range. It is not 
showing any data from other motes. Apparently multihop function is not working.
 
Can somebody help me in this? I’m really in need of help.
 
 
Thanks in advance.
 
Ranal
_
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] change TelosB Radio range

2008-07-08 Thread Mr Meddage Saliya Ranal Fernando
Dear all,


sorry for the previous post because it does not have any links to the 
help you have provided

Thank you very much for your help. But I tried including the line & I 
tried with different numbers in surgetelos application. I’m using TOS 
1.1. But I could not reduce the power. When I put 1 or 3 still I could 
take the mote nearly 4 meters from the base station ( I also changed 
the RFPower of TOSBase) they were still communicating. But when I 
gave 31 then I could notice that the range has increased. But the 
connection was not so good.


PFLAGS= -I%T/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8 -DMHOP_LEDS
CFLAGS+=-DCC2420_DEF_RFPOWER=3
PLATFORMS=telos telosa telosb

TINYOS_NP ?= BNP
COMPONENT=Surge
include ${MAKERULES}


What might be the reason for this?

Thank you

Saliya





Anton wrote:


>Anyway, when I set the power level to 1 (despite of the minimum value 3 
> mentioned in the CC2420 data sheet) two TelosB modules communicate at 
> around 0.5 meter (beyond this range there is no communication); when I 
> set it to 2 - modules communicate at around 1 meter. If the power 
level 
> is set to 3, they communicate even at 10 meters (and probably beyond 
> this limit). Of course communication conditions are important.



___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Changing TelosB Radio Range

2008-07-08 Thread Mr Meddage Saliya Ranal Fernando
Dear all,

Thank you very much for your help. But I tried including the line & I 
tried with different numbers in surgetelos application. I’m using TOS 
1.1. But I could not reduce the power. When I put 1 or 3 still I could 
take the mote nearly 4 meters from the base station ( I also changed 
the RFPower of TOSBase) they were still communicating. But when I 
gave 31 then I could notice that the range has increased. But the 
connection was not so good.


PFLAGS= -I%T/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8 -DMHOP_LEDS
CFLAGS+=-DCC2420_DEF_RFPOWER=3
PLATFORMS=telos telosa telosb

TINYOS_NP ?= BNP
COMPONENT=Surge
include ${MAKERULES}


What might be the reason for this?

Thank you

Saliya


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Multihop in TOS 2.0

2008-07-08 Thread Mr Meddage Saliya Ranal Fernando
Dear all,

Is there a multihop application in TOS 2.0 for telosb motes? Because I 
tried Antitheft it is only for Mica motes.

Thanks in advance.

Saliya

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Changing TelosB Radio Range

2008-07-04 Thread Mr Meddage Saliya Ranal Fernando
Dear all,

Thank you very much for your help. But I tried including the line & I 
tried with different numbers in surgetelos application. I’m using TOS 
1.1. But I could not reduce the power. When I put 1 or 3 still I could 
take the mote nearly 4 meters from the base station ( I also changed 
the RFPower of TOSBase)   they were still communicating. But when I 
gave 31 then I could notice that the range has increased. But the 
connection was not so good.


PFLAGS= -I%T/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8 -DMHOP_LEDS
CFLAGS+=-DCC2420_DEF_RFPOWER=3
PLATFORMS=telos telosa telosb

TINYOS_NP ?= BNP
COMPONENT=Surge
include ${MAKERULES}


What might be the reason for this?

Thank you

Saliya


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] change TelosB Radio range

2008-07-02 Thread Mr Meddage Saliya Ranal Fernando
Dear all,

I’m new to TinyOS, can you please let me know how to change the radio 
power in a TelosB mote? Can that be done when i'm injecting the program 
to the mote or have I got to do it in a particular file?


Thank you,

Saliya


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help