[Tinyos-help] CTP_OPT_ECN in CTP

2012-03-21 Thread Yusnaidi Md Yusof
Hi, I am a bit confuse. I am not really clear how a call to CtpInfo.setNeighborCongested(from, congested) can set the neighbor as congested (in the BeaconReceive.receive() event in CtpRoutingEngineP)?, because I found that a call to CtpRoutingPacket.getOption(msg, CTP_OPT_ECN) returns FALSE,

[Tinyos-help] routing table entry in CtpRoutingEngineP

2012-02-01 Thread Yusnaidi Md Yusof
Hi All, Just a quick question to my understanding. As what I understood, the routing table entry (routing_table_entry) in TreeRouting.h stores all node's current neighbors, and out of these neigbors, one is selected to be its parent, and this parent is stored in the route_info_t struct (which is

[Tinyos-help] cc2420 metadata

2011-07-23 Thread Yusnaidi Md Yusof
Hi All, I wish to embed the tx_power and rssi value in the metadata part of a packet to be sent. Can I know how I can do that? What components/interface to use? Please help me. Many thanks in advance. Yusnaidi ___ Tinyos-help mailing list

[Tinyos-help] Reading the RSS value

2011-07-21 Thread Yusnaidi Md Yusof
Hi All, I have this as my opinion, the CC2420Packet.getPower() and the CC2420Packet.getRssi() functions return the same value, i.e., the return power of CC2420Packet.getPower() also represents the RSS value. Am I right? Please give me some comments. Thanks Yusnaidi

[Tinyos-help] Inspecting variables in TOSSIM

2011-07-14 Thread Yusnaidi Md Yusof
Hi All, I need help here. I follow the instructions in the TOSSIM tutorial from ' http://docs.tinyos.net/tinywiki/index.php/TOSSIM' on the 'Variables' section to inspect variables in TOSSIM. I have made the 'topo.txt' and python simulation files in the RadioCountToLeds application folder as

Re: [Tinyos-help] Installation error on Mac OS X

2011-04-01 Thread Yusnaidi Md Yusof
, Urs On 03/29/2011 06:57 PM, Yusnaidi Md Yusof wrote: Hi Urs, Sorry for the late reply. I have removed the java directory from the $TOSROOT/tools/tinyos/, and followings are the output of the compilation: 1. ./Bootstrap -bash: ./Booststrap: No such file

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-28 Thread Yusnaidi Md Yusof
them (as you don't need them). (make backups before this) Maybe you can delete the folder tinyos/java (in the tools directory) and try again. Cheers, Urs On 3/25/11 5:41 PM, Yusnaidi Md Yusof wrote: Hi Urs, Thanks for the advice. It makes me clearer, esp on this stow stuffs..I really new

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-25 Thread Yusnaidi Md Yusof
://www.schlangenstein.ch/tosruntime.jar Cheers, Urs On 03/24/2011 05:17 PM, Yusnaidi Md Yusof wrote: Hi Urs, What I meant was I got so many error messages after issuing the './configure', 'make', and 'sudo make install' commands. Do I missed settings any enviroment variables possibly

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-25 Thread Yusnaidi Md Yusof
and not to my inbox, unless we had a discussion with you on some project or such. Regards, -- Ilya On Thu, Mar 24, 2011 at 04:28:55PM +, Yusnaidi Md Yusof wrote: Hi, Thanks for the suggestions. My machine use gcc4.4 but I will try to use the gcc4.3 instead as following your suggestion

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-25 Thread Yusnaidi Md Yusof
you have overwritten the old tinyos.jar file, set the CLASSPATH explicitely to: export CLASSPATH=.:/Users/yusnaidi/tinyos-2.x/support/sdk/java/tinyos.jar And let us know how it works. Cheers, Urs On 03/25/2011 11:26 AM, Yusnaidi Md Yusof wrote: Hi Urs, I have set the classpath

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-25 Thread Yusnaidi Md Yusof
PM, Yusnaidi Md Yusof wrote: Hi Urs, I have changed the classpath to use the explicit classpath. I also had saved the tinyos.jar file the one you gave in the link to /tinyos-2.x/support/sdk/java/. I have checked the classpath by issuing command echo $CLASSPATH and got the following output

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-24 Thread Yusnaidi Md Yusof
the macosx_universal_*.lib files, rename them to lib*.jnilib and manually put them in the right folders. The files are universal binaries for Mac OS X supporting the aforementioned processors. Cheers, Urs On 03/24/2011 12:11 AM, Yusnaidi Md Yusof wrote: Hi, I really stucked here. Please

Re: [Tinyos-help] Installation error on Mac OS X

2011-03-24 Thread Yusnaidi Md Yusof
: errordevelo...@gmail.com Subject: Re: [Tinyos-help] Installation error on Mac OS X To: tinyos-help@millennium.berkeley.edu Message-ID: 20110323235216.ga30...@00110101.home Content-Type: text/plain; charset=us-ascii On Wed, Mar 23, 2011 at 11:11:39PM +, Yusnaidi Md Yusof wrote: g++ -O2

[Tinyos-help] Installation error on Mac OS X

2011-03-23 Thread Yusnaidi Md Yusof
Hi, I really stucked here. Please give me a help... I want to install tinyos-2.x (downloaded from git source) onto my Mac OS X snow leopard. I have successfully install all the macports, AVR tools, etc but when come to a stage to 'make' and 'make install' in the $TOSROOT/tools dir, I got the

Re: [Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-15 Thread Yusnaidi Md Yusof
to this information at the receiver, then I guess the simplest solution is to duplicate it in the payload of the packet. Hope this answers your question. -Doug On Mon, Dec 13, 2010 at 10:32 AM, Yusnaidi Md Yusof yusnaid...@gmail.comwrote: Hi Doug, Many thanks for the help. However, I need

[Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-13 Thread Yusnaidi Md Yusof
, 2010 at 11:10 AM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi All, I am so stucked to read the power of the received packet. I am using CTP protocol and sending the packet using Send.send(). I have tried with the AM communication (my other test that not using CTP protocol

[Tinyos-help] CTP: CC2420Packet.getPower()

2010-12-10 Thread Yusnaidi Md Yusof
Hi All, I am so stucked to read the power of the received packet. I am using CTP protocol and sending the packet using Send.send(). I have tried with the AM communication (my other test that not using CTP protocol), and in that test I send packets using AMSend.send(). I set certain power using

Re: [Tinyos-help] CC2420Packet

2010-06-17 Thread Yusnaidi Md Yusof
. Liu jinzhi *From:* tinyos-help-boun...@millennium.berkeley.edu [mailto: tinyos-help-boun...@millennium.berkeley.edu] *On Behalf Of *Yusnaidi Md Yusof *Sent:* Saturday, May 15, 2010 8:25 AM *To:* tinyos-help@millennium.berkeley.edu *Subject:* Re: [Tinyos-help] CC2420Packet Hi

Re: [Tinyos-help] Translating the RSSI value to the output power (dBm)

2010-06-17 Thread Yusnaidi Md Yusof
. Best regards, Stefano Kismet Lenzi [1] - http://wnlab.isti.cnr.it/paolo/papers/ICC09-Final.pdf On Wed, Jun 16, 2010 at 14:34, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi All, I need a help here. I have gone through the RssiDemo application and able to observe the RSSI value

[Tinyos-help] energy consumption

2010-06-16 Thread Yusnaidi Md Yusof
Hi, If you want to simulate for the micaz motes, you can try to use PowerTOSSIMz. Follow this link for more information: http://www.scss.tcd.ie/~carbajor/powertossimz/index.html cheers, Yusnaidi -- Message: 7 Date: Wed, 16 Jun 2010 08:44:19 +0100 From: Omar

[Tinyos-help] Translating the RSSI value to the output power (dBm)

2010-06-16 Thread Yusnaidi Md Yusof
Hi All, I need a help here. I have gone through the RssiDemo application and able to observe the RSSI value. Some of the values I got were: -9, -20, -10, 0, etc. I am just wondering is it this value represents the output power value sent by the sending motes? If so, is the value is in dBm

[Tinyos-help] gathering RSSI from CC2420

2010-06-16 Thread Yusnaidi Md Yusof
Hi, I am not familiar of using the UDP-based Shell as what you are using. But I can suggest you to use the built in java tools in T2 to watch the RSSI value. You can issue command, for example: $java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:micaz to view the raw data at the computer

[Tinyos-help] getNeighborAddr() in CTP

2010-06-09 Thread Yusnaidi Md Yusof
Hi All, I have no idea how to use the getNeighborAddr() of the CtpInfo interface in CTP. From the definition given in the online tinyos's nesdoc, I understand this method used to get the neighbors' addresses of a node. I got a strange which I don't understand to interpret after running the

Re: [Tinyos-help] TestNetwork app problem communicating with serial port

2010-06-09 Thread Yusnaidi Md Yusof
Hi Omprakash, Thanks a lot. I will try that. Really sorry for the late reply. Thanks Yusnaidi On Mon, May 24, 2010 at 7:26 PM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Tue, May 11, 2010 at 12:01 AM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote

Re: [Tinyos-help] Packet transmission time

2010-06-08 Thread Yusnaidi Md Yusof
to add this support, i can help you out. brano On 18/05/10 11:46 PM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi Brano, Thanks very much. I got it. I can compile it now. However, when I issue a 'make micaz sim' command, I got error messages such as follows

Re: [Tinyos-help] Packet transmission time

2010-05-18 Thread Yusnaidi Md Yusof
am so stucked what to do now... Please again help me... Thanks very much. Yusnaidi -- Message: 2 Date: Tue, 18 May 2010 10:53:11 +1000 From: Kusy, Brano brano.tin...@gmail.com Subject: Re: [Tinyos-help] Packet transmission time To: Yusnaidi Md Yusof yusnaid

Re: [Tinyos-help] Etx

2010-05-18 Thread Yusnaidi Md Yusof
I see. Thank you. Yusnaidi On Tue, May 18, 2010 at 4:23 AM, Omprakash Gnawali gnaw...@cs.stanford.eduwrote: On Fri, May 14, 2010 at 4:37 PM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi Omprakash, Thanks a lot. Thus, I guess the CtpInfo.getEtx() will return a routing cost from

Re: [Tinyos-help] CC2420Packet

2010-05-14 Thread Yusnaidi Md Yusof
Hi, Thank you. I will try the git version now. Sorry for a late reply. Yusnaidi On Sat, Apr 10, 2010 at 9:10 AM, Yusnaidi Md Yusof yusnaid...@gmail.comwrote: Hi All, I tried to wire the CC2420Packet component to the CC2420PacketC configuration. The compilation was successful, but when I

Re: [Tinyos-help] Etx

2010-05-14 Thread Yusnaidi Md Yusof
the CtpInfo.getEtx()? Am I right? Thanks and really sorry for a late reply. Yusnaidi - Message: 3 Date: Tue, 13 Apr 2010 13:41:49 -0700 From: Omprakash Gnawali gnaw...@cs.stanford.edu Subject: Re: [Tinyos-help] Etx To: Yusnaidi Md Yusof yusnaid...@gmail.com Cc: tinyos-help

Re: [Tinyos-help] Tinyos-help Digest, Vol 85, Issue 22

2010-05-11 Thread Yusnaidi Md Yusof
-- Message: 2 Date: Fri, 7 May 2010 14:17:46 -0700 From: Omprakash Gnawali gnaw...@cs.stanford.edu Subject: Re: [Tinyos-help] TestNetwork app problem communicating with serial port To: David Li w.david...@gmail.com Cc: tinyos forum

Re: [Tinyos-help] 'flags' field in the Link Estimator header

2010-05-11 Thread Yusnaidi Md Yusof
: Re: [Tinyos-help] 'flags' field in the Link Estimator header To: Yusnaidi Md Yusof yusnaid...@gmail.com Cc: tinyos-help@millennium.berkeley.edu Message-ID: q2l85b7120d1005070232le66af7cdxacb910c07f47a...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hi, FF FF 00 00 0D 22 70

[Tinyos-help] 'flags' field in the Link Estimator header

2010-05-06 Thread Yusnaidi Md Yusof
Hi All, I not really understand what does the 'uint8_t flags' field means in the /tos/lib/net/4bitle/LinkEstimator.h file? In the file, the 'flags' is quoted as: flags to describe the state of this entry. Based on my understanding, the 'flags' indicates the 'number of elements in the link

Re: [Tinyos-help] Interpreting the CTP routing frame

2010-05-05 Thread Yusnaidi Md Yusof
flags (congested, pull), in this case there are none 00 00: parent, in this case the node itself 00 00: ETX Regards. -- Giuseppe Cardone On Tue, May 4, 2010 at 11:37 PM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi All, I have the following data reading from the TestNetwork

Re: [Tinyos-help] Packet acknowledgment

2010-05-04 Thread Yusnaidi Md Yusof
To: Yusnaidi Md Yusof yusnaid...@gmail.com Cc: tinyos-help@millennium.berkeley.edu Message-ID: g2ld4dcddd21005011505q8b2627d1x6688f7b111d9c...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Fri, Apr 30, 2010 at 2:07 PM, Yusnaidi Md Yusof yusnaid...@gmail.com wrote: Hi All

[Tinyos-help] Serial forwarder and tossim-serial

2010-05-04 Thread Yusnaidi Md Yusof
Hi All, I got a problem to use the tossim-serial in the SerialForwarder tool. I intend to view packets reception at Node 0 (root of the CTP) in the MViz program. I confused how to use the SerialForwarder with the tossim-serial as a source?, since I couldn't find any tutorial on it even in the

[Tinyos-help] Interpreting the CTP routing frame

2010-05-04 Thread Yusnaidi Md Yusof
Hi All, I have the following data reading from the TestNetwork application. The data is read using the java 'net.tinyos.tools.Listen' tool. 00 FF FF 00 00 0A 22 70 01 08 00 00 00 00 00 00 02 2F. What I understood when interpreting the data is: 1. The first byte (00) refers to the AM type which

[Tinyos-help] Packet acknowledgment

2010-04-30 Thread Yusnaidi Md Yusof
Hi All, I tried using PacketAcknowledgements interface in CTP to test for packet acknowledgement. What I got: All nodes can successfully requested for packet acknowlegement (using the requestAck() method). However, the root failed to acknowledge all the packets received (using the wasAcked()

[Tinyos-help] CTP Routing Frame

2010-04-28 Thread Yusnaidi Md Yusof
Hi All, I have read the Ctp.h and from the ctp_routing_header_t structure, one of the item is 'nx_uint8_t (COUNT (0) data)[0]'. Comparing with the TEP 123, the given CTP routing frame format is: options - parent - etx. Thus, by accounting the 'nx_uint8_t (COUNT (0) data)[0]' item, is it correct

[Tinyos-help] Etx

2010-04-10 Thread Yusnaidi Md Yusof
Hi All, I wish to use an Etx metric in my program but quite confused what is the difference between the usage of getEtx() in a call from the CtpPacket compare to the getEtx() in a call from the CtpInfo. Which one should be used to measure the Etx metrics? Thanks in advance... Yusnaidi

[Tinyos-help] CC2420Packet

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

[Tinyos-help] time() and ticksPerSecond() in TOSSIM

2010-02-05 Thread Yusnaidi Md Yusof
Hi All, I understand that in TOSSIM simulation, t.time() is the current simulation time, while t,ticksPerSecond() is the number of events per second.. Is that correct? Please someone correct me if I am wrong... thank you in advance. Yusnaidi ___

[Tinyos-help] ticksPerSecond() and sim_ticks_per_sec()

2010-02-03 Thread Yusnaidi Md Yusof
Hi All, Really need an explanation here.. What 'ticksPerSecond()' is? and what 'sim_ticks_per_sec()' is? thank you... Yusnaidi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] Clock interval for micaz

2010-01-26 Thread YUSNAIDI MD YUSOF
Hi All, Can I know how many ticks per clock firing (interval) for the MicaZ mote. I need the information to count the number of packets sent/received over simulation time in TOSSIM 2. Is this interval are pre-setting in any T2 source files? Can I know which file it is? Any pointers to

[Tinyos-help] Simulating packets sent and packets received

2010-01-25 Thread YUSNAIDI MD YUSOF
Hi All, I really need some explanation on this scenario... I am simulating as simple as 2 nodes using T2. What I am intended to simulate is the count of packets received (at Node 0) from Node 1. I run the simulations for many trials but what I observed is that the returned number of packets

Re: [Tinyos-help] Micaz Data rate

2010-01-23 Thread YUSNAIDI MD YUSOF
. This is less than 1/2 the stated data rate on the datasheet. Hope this clears things up a bit. -Paul On 1/21/2010 4:25 PM, YUSNAIDI MD YUSOF wrote: Hi All, I came across the MicaZ datasheet and found that the data rate for MicaZ is 250 kbps. Thus, it came into my thought, if I set the Timer

[Tinyos-help] Micaz Data rate

2010-01-22 Thread YUSNAIDI MD YUSOF
Hi All, I came across the MicaZ datasheet and found that the data rate for MicaZ is 250 kbps. Thus, it came into my thought, if I set the Timer as Timer.startPeriodic(1000) which is to fire every 1 second, does that mean every 1 second there is amount of 250 kilobit data sent? A simple

[Tinyos-help] Read file in nesC

2010-01-14 Thread YUSNAIDI MD YUSOF
Hi All, Does anybody knows how to read a text file (contained binary data) in nesC (.nc) program?, and what the correct include file needed as well... I tried include the conio.h library from C and using FILE *fopen() but ncc compiler flags me with this errors: warning: type defaults to `int'

[Tinyos-help] Collection/Dissemination vs Surge

2010-01-14 Thread YUSNAIDI MD YUSOF
Hi All, I am wondering is it correct Collection and Dissemination protocols in T2 kind of similar to the Surge protocol in T1? Thus, are they using the same architecture (MultiHopEngineM in T1 vs Dissemination Engine in T2) to multi-hop packets in a network? To the best of my knowledge,

[Tinyos-help] SplitControl on DisseminationC

2010-01-13 Thread YUSNAIDI MD YUSOF
Hi All, I need to ask about the using of SplitControl on DisseminationC component on drip T2. I tried to wire my SplitControl component to the DisseminationC component but TOSSIM flags 'no match'. I browsed the DisseminationC file in /opt/tinyos-2.x/tos/lib/net/drip and found that the

[Tinyos-help] TOSSIM: Segmentation fault

2010-01-13 Thread YUSNAIDI MD YUSOF
Hi All, Does anybody know why TOSSIM signals 'Segmentation fault' while simulating boot events. I got 2 nodes to boot using TOSSIM; when I limit the t.runNextEvent to 10, the simulation goes well; however, when I change the t.runNextEvent to say 100, the simulation gives an error

[Tinyos-help] RadioCountToLeds python error

2009-12-28 Thread YUSNAIDI MD YUSOF
Hi all, I am having problem while simulating the RadioCountToLeds application in T2 using cygwin. While issuing the command: $ python packets.py, I got this error messages: Traceback (most recent call last): File packets.py, line 6, in module from RadioCountMsg import * File

[Tinyos-help] The purpose of @safe()?

2009-10-16 Thread YUSNAIDI MD YUSOF
Hello everybody, I came across an example of using the '@safe()' function in declaring the nesC configuration file, for example: module BlinkC '@safe() { }' I knew that the normal declaration of the configuration file is just: 'module BlinkC { }' -- without the @safe() function. When I

[Tinyos-help] s...@localhost:9002 died-connection refused

2009-09-26 Thread YUSNAIDI MD YUSOF
Hi All, I am facing a problem of a refusing connection while running the DipInject java tool in the EasyDissemination DIP application. (TinyOS-2.x). I got an error message while issuing the ' java DipInject 0a 2 ab cd ef ' as what can be followed in the Dissemination tutorial of this link:

[Tinyos-help] /opt/tinyos-2.x/tos/lib/tossim/t ossim_wrap.cxx:2202: warning: deprecated conve rsion from string constant to ‘char*’

2009-08-10 Thread YUSNAIDI MD YUSOF
Hi All, I just wondering if anyone know how to solve a TOSSIM's simulation problem which I got as below: /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2066: warning: deprecated conversion from string constant to ‘char*’ /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2067: warning: deprecated

[Tinyos-help] TOSSIM compile error

2009-08-05 Thread YUSNAIDI MD YUSOF
Hi All, I encountered a problem while compiling Blink application in TOSSIM/TinyOS-2.1/Fedora Linux. This is my first attempt to compile on TOSSIM since I have just installed the OS. I do really need a help here...Followings are the error messages given after issuing 'make micaz sim':

[Tinyos-help] nesc-1.1-1.i386.rpm

2009-07-29 Thread YUSNAIDI MD YUSOF
Hi All, I am wondering if someone happen to have the old nesc compiler (meant for TinyOs-1.x) which is : nesc-1.1-1.i386.rpm... I need to have this rpm for a new installation of TinyOS-1.x in the Linux machine (Fedora). I have searched all over the web esp at the