Re: [Tinyos-help] Latest TinyOS distribution issue with TOS_AM_ADDRESS

2011-02-06 Thread Xiaohui Liu
Hi,

compile:
make telosb

Then I upload the executable on NetEye
http://neteye.cs.wayne.edu/testbed, which programs nodes:
usr/sbin/tos-bsl --telosb -c /dev/ttyUSB$1 -r -e -I -p $2
$1 is the USB port number, $2 executable uploaded.

Before my upgrade, the executable works well on NetEye.

On Sat, Feb 5, 2011 at 3:51 AM, Omprakash Gnawali
gnaw...@cs.stanford.eduwrote:

 On Fri, Feb 4, 2011 at 1:42 PM, Xiaohui Liu whu...@gmail.com wrote:
 
  Hi everyone,
  I upgrade my TinyOS distribution to the lastest version from google code
 yesterday. Previously I was using TinyOS 2.1 with release-dates.txt saying
 These release notes are as of: $Date: 2008/06/18 23:07:04 $. Now I find
 the following
  TOS_NODE_ID TOS_AM_ADDRESS ActiveMessageC$AMPacket$address()
  TinyOS 2.1 30 1 30
  Latest 30 1 1
 
  Since many places of my code use link addresses, my protocol now does not
 work anymore under the latest version. For
 example, ActiveMessageC$AMPacket$source() always return 1 for all packets
 received, even though they are from many different nodes with various
 TOS_NODE_IDs. Has anyone encountered this problem with the latest version
 and how should I resolve this? I find it appeared before in this thread.
  Also, can somebody please tell me where TOS_AM_ADDRESS is set from
 initial value 1 to TOS_NODE_ID as in TinyOS 2.1. Thanks very much.

 How do you compile/program the nodes? It is likely you are not setting
 proper ActiveMessageAddressC.addr.

 - om_p




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

[Tinyos-help] Tinyos

2011-02-06 Thread Prathap Mathiyalagan
Respected sir,
I am vanam aditya studying masters in Embedded and intelligent systems from
Halmstad university , sweden.  I wanted to know how we can check / measure
the battery level in the mica2 mote(MPR400) using tinyos in Linux platform.
And one more thing is can we measue RSSI directley from Tinyos, if yes can
you tell me how, I will be glad full if you could help me on this.

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

[Tinyos-help] Implementation of protocol Zigbee Pro?

2011-02-06 Thread Alfonso Pace
Hi, I wanted to know if there is an implementation  TinyOS/nesC (for  
telosb) of protocol zigbee with stochastic addressing (Zigbee Pro).
If there is could you tell me where to find source nesC?
Thank's
Sorry for my English, is not great...








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


[Tinyos-help] Network point to point zigbee

2011-02-06 Thread Alfonso Pace
Hi, I need to use zigbee on telosb.
How do I create a network with many end-nodes and one coordinator (no  
router)?
I can be use the implementation in this link 
(http://code.google.com/p/tinyos-main/source/checkout 
)  with addressing the tree?
How i can set my network?
Is possible configure my network with one depth of tree and no router  
to achieve an star network?
Thank's.
Sorry for my english...








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


Re: [Tinyos-help] obtaining ctp experiment results

2011-02-06 Thread Nicole Chiesi
I have just a question . It is written in the tep 123 that  Together, the
origin, seqno and collect_id fields denote a unique **origin packet.** .
However if we want to analyse the CollectionDebugMessage , it is seen that
after every 255 messages sent or received , the sequence number restarts. So
e.g If I want to analyse a node 1 , if it sends data more than 255 packets
then , it is bound to have two or more messages with same origin and
sequence number. So , analysis of the CollectionDebugMessage is bit out of
hand here for me. It is such that , the msg_origin in the CtpDebugMsg.h is a
16 bit , while the originseqno of ctp data frame which writes to it is 8 bit
. If I make the ctp data frame to 16 bit as well then I can analyse the
CollectionDebugMessage . I was wondering if I change the bit of  the data
frame affects the performance of ctp.
Another question is , if I am to avoid that , how can I go about analysing
the CollectionDebugMessage?

thanks ,

Nicole

On Mon, Nov 22, 2010 at 4:11 AM, Omprakash Gnawali
gnaw...@cs.stanford.eduwrote:

 On Sun, Nov 21, 2010 at 8:03 AM, Nicole Chiesi nicole.chi...@gmail.com
 wrote:
  hi,
  I am trying to do the similar experiment as done as mentioned here
  http://sing.stanford.edu/gnawali/ctp/ctp-sensys-data.html . Basically I
 want
  to get and analyse the figures given in index.html file of the
 experiment.
 
 
  It feels that the experiment data given there is just some excerpts of
 the
  experiment .
  How are these calculations made?
 
  #node total_sent uniq_rcv success_rate total_rcv repeated_rcv (frac)
  repeated_rcvthl (frac) minseq maxseq
 
 
  from the experimental data given there.
 
  I was able to set up the experiment and run the experiment but I have no
  idea how I can come to these results.

 First you need to get the log files from your testbed experiments. Did
 you get the logs? The assumption is you have one log file per node.

 Then you need to run a series of Perl scripts on the logs. You need a
 few custom Perl libraries and neato to produce the result you see.
 Because of these dependencies, I haven't posted all those Perl scripts
 because it most likely won't work on other systems. But here is how
 you can proceed:

 1. Run the parse-ctplogs.pl script on the log files.
 2. Do statistics on the output from step 1.

 For example, if you want to compute delivery ratio for a specific
 node, you can keep track of sequence numbers received from that node
 and compute the delivery ratio. If you want to compute churn, you can
 count the number of times beacons was sent. All these log messages are
 parsed with parse-ctplogs.pl.

 Feel free to ask questions as you get going.

 - om_p

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

Re: [Tinyos-help] Graphviz - make mica2 docs

2011-02-06 Thread SHIVASANKAR GANESAN

Hi
Your software components may be out of date.So please do following steps.
1.Please set CLASSPATH2.Try to update ncc,avr-gcc,usip software files3.Try to 
install Java V1.4 and graphviz v1.10

     With regards  Sivasankar  

--- On Sun, 6/2/11, GRANT, C gran...@aston.ac.uk wrote:

From: GRANT, C gran...@aston.ac.uk
Subject: [Tinyos-help] Graphviz - make mica2 docs
To: tinyos-help@millennium.berkeley.edu tinyos-help@millennium.berkeley.edu
Date: Sunday, 6 February, 2011, 3:43 AM



 


 

 Hi,



I am currently using crossbow mica2 hardware kit. I often use MoteView and 
Moteworks rather than cygwin.Installed the software using crossbow installation 
CD  carefully followed the installation instructions 



However I am trying to compile the graphviz diagram using 'make mica2 docs' 
function but cygwin produces an error saying TOP DIRS: opt/MoteWorks along 
with -nesc -topdir- options and make *** [docs_] Error 1. 



Do I need to move my files under MoteWorks tree/ directory?



What doe this mean? 



screenshot attached






operating in windows
TinyOS 1.1
graphviz 1.2






Thanks
Caleb Grant

BEng Communications Engineering

Electronic Engineering Dept.

School of Engineering and Applied Science
Aston University



 


-Inline Attachment Follows-

___
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] help

2011-02-06 Thread zibouda zouaoui
Hello all,
the command t=Tossim([]) doesn't work. Changing Tossim with TOSSIM or tossim 
it is the same result: NameError: name 'Tossim' is not defined.
can someone help me out?
Maleklina



  

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


Re: [Tinyos-help] obtaining ctp experiment results

2011-02-06 Thread Omprakash Gnawali
On Sun, Feb 6, 2011 at 2:12 PM, Nicole Chiesi nicole.chi...@gmail.com wrote:
 I have just a question . It is written in the tep 123 that  Together, the
 origin, seqno and collect_id fields denote a unique *origin packet.* .
 However if we want to analyse the CollectionDebugMessage , it is seen that
 after every 255 messages sent or received , the sequence number restarts. So
 e.g If I want to analyse a node 1 , if it sends data more than 255 packets
 then , it is bound to have two or more messages with same origin and
 sequence number. So , analysis of the CollectionDebugMessage is bit out of
 hand here for me. It is such that , the msg_origin in the CtpDebugMsg.h is a
 16 bit , while the originseqno of ctp data frame which writes to it is 8 bit
 . If I make the ctp data frame to 16 bit as well then I can analyse the
 CollectionDebugMessage . I was wondering if I change the bit of  the data
 frame affects the performance of ctp.
 Another question is , if I am to avoid that , how can I go about analysing
 the CollectionDebugMessage?


It is fine to increase the size of the sequence number to 16 bits to
make your analysis easier. Otherwise, you will need to write code to
detect sequence number wrap around.

- om_p

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


Re: [Tinyos-help] about CCM implementation on rf230

2011-02-06 Thread Markus Becker
 hello all
 
 Is there any implementation for ccm encryption (security) over rf230 in
 tinyos 2.1.1?

The RF230 does not support security, while the RF231 does. As fas as I know 
there is only a CCM implementation for the CC2420 in the TinyOS tree.

Markus

 thanks
 
  Mohammed Tarek
 Teach assistant
 Computer and systems dep.
 Faculty of Engineering
 Zagazig university
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] about CCM implementation on rf230

2011-02-06 Thread Miklos Maroti
True. Is there a software implementation of CCM? Miklos

On Mon, Feb 7, 2011 at 8:51 AM, Markus Becker m...@comnets.uni-bremen.de 
wrote:
 hello all

 Is there any implementation for ccm encryption (security) over rf230 in
 tinyos 2.1.1?

 The RF230 does not support security, while the RF231 does. As fas as I know
 there is only a CCM implementation for the CC2420 in the TinyOS tree.

 Markus

 thanks

  Mohammed Tarek
 Teach assistant
 Computer and systems dep.
 Faculty of Engineering
 Zagazig university
 ___
 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