Re: [Tinyos-help] Make "[program] Error 57" on uisp command
Hi Michael, Thank you for your recommendations. As you commented, this error comes from AVR libraries, cause I googled it and I found that some people working with AVR processor are having problem, but not very much, and it seems there is no a solution yet. I can't remember if a mention in a previous e-mail but I get an error when I try to reinstall the avr-dude package from tinyos 2.1.1, I don't know it that could be the problem. Anyway, I've just searched in my TinyOS 2.1.1 folder for uisp directories, but there's only an exe (the uisp command) located in cygwin/bin, and the documentation for cygwin ( in usr/share/man folder), so I don't follow you with your second part of advice, and in addition I don't have a C++ debugger in my cygwin so I guess it wouldf hard to debug the code (if any), Thank you very much anyway, and I still looking for a solution, Regards, Javier. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] are there any guidelines for how long a task can run?
I have a task that does some of the h/w initilization. The problem is we turn this h/w off when not using it and later we need to reinitilize it. The first part of the job take about 200-300 us. Is this too long for the task? Are there any general guidelines that people have found from actual experience about where this becomes a problem. I'm sure it is very application specific in that it of course depends on whether something else really needs to run. -- 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
[Tinyos-help] tinyos help
Hi all, I am new to tinyos and i'ad installed tinyos successfully,but when i am trying to *make pc* in the directory "c:/cygwin/opt/tinyos-2.x/apps/Blink" i got an error make rules .*168. please give me solution of this as early as possible. Thanks to all -- Nirvesh R. Priyadarshi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] tosthreads simulation
TOSSIM doesn't support tosthreads. Something you can try is Avrora. Avrora crashed on me a long time ago, but it could be fine now. Thanks Mike On May 4, 2010, at 7:06 PM, sadun silva wrote: > as far as i know there is no support for tosthreads in tossim currently > > On Mon, May 3, 2010 at 3:17 PM, chikh omar wrote: > > can we simulate Tosthreads application? if yes how to compile? > > thanks in advance, > ** > Omar Cheikhrouhou > Engineer & Researcher @SENS Lab (Software Engineering and Network Security) > Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 > Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437 > Fax: : (+216)74 431 386 > > Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National > School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 > > Home page: http://www.ceslab.org/eng/perso.php?id=46 > > Coordinator C2i @ ISET Sfax (Certified C2i since 2008) > > > > > ___ > 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 many bit shifts required for TransformCounterC (KINDLY IGNORE)
Please ignore the previous message ! I found the answer. --- On Tue, 5/4/10, Kartik Siddhabathula wrote: From: Kartik Siddhabathula Subject: How many bit shifts required for TransformCounterC To: "TinyoS help" Date: Tuesday, May 4, 2010, 9:13 PM Hi All, I am using telosb motes. I would like to convert a 32 bit Counter to a 64 /128 / 256 bit Counter. My questions are : 1) Can telosb handle 128/256 bit Counter? 2) Also can TransformCounterC perform this operation? 3) And how many bit shifts are required for such operations? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How many bit shifts required for TransformCounterC
Hi All, I am using telosb motes. I would like to convert a 32 bit Counter to a 64 /128 / 256 bit Counter. My questions are : 1) Can telosb handle 128/256 bit Counter? 2) Also can TransformCounterC perform this operation? 3) And how many bit shifts are required for such operations? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Interpreting the CTP routing frame
Hi, CtpP wires CtpRoutingEngineP.BeaconSend to LinkEstimatorP.Send, so the LinkEstimator can add a header and a footer to each packet sent by CtpRoutingEngineP. The bytes 01 08 are the link estimator header ( linkest_header_t in LinkEstimator.h). The first byte encodes the number of elements in the footer and some flags, the second byte is a sequence counter. In this case the footer contains only one element. Each element is a neighbor_stat_entry_t struct. In your example the footer is 00 02 2F. The first two bytes are a node address, the last byte is the input link quality. The real CTP routing frame is: 00 00 00 00 00 00 : CTP routing 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 wrote: > 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 said can be ignored. > 2. The next 'FF FF' is the destination address. > 3. The next '00 00' is the source address. > 4. The next '0A' is the length of the data. > 5. The next '22' is the group ID. > 6. The next '70' is the AM handler type. -> which I believe this byte > indicates the data stream belongs to the CTP routing frame since I found > from the Ctp.h, '0x70' is an enum for AM_CTP_ROUTING. > > Thus, the rest of the bytes, I translated as the fields that belongs to the > CTP routing frame; thus by referring to TEP 123, the next byte after '70' > which is '01' would refer as 'reserved' field, the next '08 00' will be the > 'parent' field, the next '00 00' will be the 'ETX' field, and the rest I > really have no idea what they are?? Instead, I think my interpretation here > sounds wrong since it doesn't make sense that '08 00' refers to 'parent' > field because I set (by issuing make micaz install) the motes ID to be 0, 1, > 2, etc..and none of them are '08 00' hexa. If I translate them as data of > CTP routing frame, that could also be wrong since CTP routing frame does not > carry data... > > I am so confused here and really need your help guys... > > Thanks > > Yusnaidi > > > > ___ > 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 simulation
as far as i know there is no support for tosthreads in tossim currently On Mon, May 3, 2010 at 3:17 PM, chikh omar wrote: > > can we simulate Tosthreads application? if yes how to compile? > > thanks in advance, > > *** > Omar Cheikhrouhou > **Engineer & Researcher @SENS Lab (Software Engineering and Network > Security) > Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 > Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437 > ** **Fax: : (+216)74 431 386* > > *Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, > National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 > * > > *Home page: http://www.ceslab.org/eng/perso.php?id=46** > * > > *Coordinator C2i @ ISET Sfax (Certified C2i since 2008)* > > > > ___ > 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] warning: internal error: unsupported relocation error
Hi, The following warning pops up after I build my program against telosb: app.c:(.text+0x4c82): warning: internal error: unsupported relocation error Does anyone have any idea on how to get rid of this warning? Thanks. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] UART Send returns EBUSY
Hi, To record the result of my experiment, every time I receive a packet, I send the a log message to UART with command SerialActiveMessageC.AMSend.send(). For the first few packets (from 1 ~ 70), the command returns SUCCESS. But after that, it constantly returns EBUSY. But I'm only calling the command at the time scale of 1 second because packet reception happens at that time scale in my experiment. And I have used UART logging at much higher frequency before (~10Hz) without this problem. Any idea on what's going? I really appreciate your help. -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Interpreting the CTP routing frame
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 said can be ignored. 2. The next 'FF FF' is the destination address. 3. The next '00 00' is the source address. 4. The next '0A' is the length of the data. 5. The next '22' is the group ID. 6. The next '70' is the AM handler type. -> which I believe this byte indicates the data stream belongs to the CTP routing frame since I found from the Ctp.h, '0x70' is an enum for AM_CTP_ROUTING. Thus, the rest of the bytes, I translated as the fields that belongs to the CTP routing frame; thus by referring to TEP 123, the next byte after '70' which is '01' would refer as 'reserved' field, the next '08 00' will be the 'parent' field, the next '00 00' will be the 'ETX' field, and the rest I really have no idea what they are?? Instead, I think my interpretation here sounds wrong since it doesn't make sense that '08 00' refers to 'parent' field because I set (by issuing make micaz install) the motes ID to be 0, 1, 2, etc..and none of them are '08 00' hexa. If I translate them as data of CTP routing frame, that could also be wrong since CTP routing frame does not carry data... I am so confused here and really need your help guys... Thanks Yusnaidi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] repository
I sent an email to tinyos-contrib-caretak...@millennium.berkeley.edu, but I never got a reply. Maybe somebody else is handling this? On Tue, May 4, 2010 at 10:05 AM, Philip Levis wrote: > > On May 4, 2010, at 12:11 AM, Markus Becker wrote: > > > > > > > By the way, is TinyOS moving to git now since the release is out of the > door? > > This would possibly change a lot the procedure for contributing code. > > > The working groups are talking it through; we're hoping to suggest a course > of action to -devel for feedback in a few weeks. The current leaning (might > change after more discussion) is towards subversion; the open question is > what hosting service. The poll a while ago said just over 50% preferred > subversion. Since it's easy to set up a git repository that mirrors a > subversion one (but not necessarily the opposite), it seems like the better > approach. > > Phil > ___ > 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] receive doc
Message points to the whole message struct which includes header, payload and footer. You need it when you need to manipulate the message struct. For instance - set acknowledgment or Tx power. The payload pointer is a pointer to the payload inside the above mentioned struct.You should use it when you need to change / add actual payload to your message. Arik On Sun, Apr 18, 2010 at 14:05, chikh omar wrote: > hello, > for the event revceive: > event message_t *receive(message_t *msg, void *payload, uint8_t len) > > what is the difference between msg and payload and when we use each > parameter > > thanks for explanation, > Cheers, > > *** > Omar Cheikhrouhou > **Engineer & Researcher @SENS Lab (Software Engineering and Network > Security) > Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 > Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437 > ** **Fax: : (+216)74 431 386* > > *Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, > National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 > ** * > > *Coordinator C2i @ ISET Sfax (Certified C2i since 2008)* > > > > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Best Regards, Arik Sapojnik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TestNetwork app problem communicating with serial port
Hi, I am trying to print out more meaningful messages sent to serial port from a small network formed in TestNetwork app. So I created a java directory under TestNetwork and added a Makefile: Makefile BUILD_EXTRA_DEPS += TestNetwork.class CLEAN_EXTRA = *.class TestNetworkMsg.java TestNetwork.class: $(wildcard *.java) TestNetworkMsg.java javac *.java TestNetworkMsg.java: mig java -target=null -java-classname=TestNetworkMsg ../TestNetwork.h TestNetworkMsg -o $@ - The "make" cmd ran ok and it generated TestNetworkMsg.java. Following the "Mote-PC serial communication" tutorial, I launched MsgReader as following: java net.tinyos.tools.MsgReader TestNetworkMsg -comm serial@ /dev/ttyUSB1:iris serial@/dev/ttyUSB1:57600: resynchronising That's it! I didn't see any more messages coming out of this unlike what's expected in the tutorial. But I can see the raw output just by using "java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB1:iris". Anything wrong with this? Thanks. -- Regards, - David ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Make "[program] Error 57" on uisp command
I perused the source that I have. I couldn't find a "57" and only two calls to exit( {1,2} ). All the usual Error messages have text explanations. It could be coming from a system library though. Some enterprising soul, who is experiencing this problem, could try running uisp with the added argument "-v=4" and see if there is any comment about where it is when it crashes. "They" could also run it in a C++ debugger, I believe the source is in the TOS distribution someplace -- I only have T1 trees, where it is: tinyos-xxx/tools/src/uisp/src MS Javier Barbaran wrote: > > Hi Steven, > > Thank you very much for you feedback, as you have Windows XP, we can say > that the problem is not related to Windows 7. I'm thinking now that the > problem might be related to the TinyOS 2.1.1 version, could be a bug? I > guess that a lot of people have already installed and tested it, but > otherwise, as soon as we are sure of that we could add it to the TinyOS > bugtracker. > > Regards to everybody, > > Javier. > > > > > ___ > 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] repository
On May 4, 2010, at 12:11 AM, Markus Becker wrote: > > > By the way, is TinyOS moving to git now since the release is out of the door? > This would possibly change a lot the procedure for contributing code. The working groups are talking it through; we're hoping to suggest a course of action to -devel for feedback in a few weeks. The current leaning (might change after more discussion) is towards subversion; the open question is what hosting service. The poll a while ago said just over 50% preferred subversion. Since it's easy to set up a git repository that mirrors a subversion one (but not necessarily the opposite), it seems like the better approach. Phil ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Help Needed (Urgent) : How to restart the Counter after overflow?
Hi All, I am using a counter interface which stops after overflow. I want it to run after the overflow, so how to do it? There are commands and events for overflow but how to make it run is what I am unable to do! Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TOSSIM, NewPacket(), pkt.Deliver(). How to receive the sent message
Hi All, I am using Tossim with tiny-os 2.1.0 (Python Language and no visual API). I am able to make new packets, choose a destination, and send a packet to a node. The code below is the part for where I make the packet and use deliver() function ( The topology is already made with all noises and etc.) msg = RadioCountMsg() msg.set_counter(7); msg.data = "test"; pkt = t.newPacket(); pkt.setData(msg.data) pkt.setType(msg.get_amType()) pkt.setSource(0) pkt.setDestination(1) pkt.deliver(1, t.time() + 3) My question is how can I check that this delivery is successfully done? How can I receive this packet in the destination and for example re use it again? I am really getting frustrated as I searched and couldn't find any decent answer to my question. With Kind Regards, Amir ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Make "[program] Error 57" on uisp command
Hi Steven, Thank you very much for you feedback, as you have Windows XP, we can say that the problem is not related to Windows 7. I'm thinking now that the problem might be related to the TinyOS 2.1.1 version, could be a bug? I guess that a lot of people have already installed and tested it, but otherwise, as soon as we are sure of that we could add it to the TinyOS bugtracker. Regards to everybody, Javier. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Serial forwarder and tossim-serial
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 'Mote-PC serial communication and serial forwarder' and the 'TOSSIM' tutorials of the TinyOS Tutorials. I have issued several command such as: $java net.tinyos.sf.SerialForwarder -comm tossim-serial $java net.tinyos.sf.SerialForwarder -comm tossim-ra...@hostname $java net.tinyos.sf.SerialForwarder -comm tossim-ser...@hostname $java net.tinyos.sf.SerialForwarder -comm tossim-ser...@hostname:9002 but all seems failed with the following error messages: Couldn't instantiate tossim packet source Did you compile tossim? Serial Forwarder Exited Normally In addition, I tried this combination: 1st: Running the MViz application with commands: $make micaz sim, $python mviz.py (A script of my own created with 1 seconds sim time) 2nd: While MViz simulation running, I ran the serial forwarder tool: $java net.tinyos.sf.SerialForwarder -comm s...@localhost:9002 3rd: While both the MViz application is running and the SerialForwarder tool also running (1st and 2nd steps above): I issue command: $ tos-mviz -comm s...@localhost:9002 MVizMsg What I got were an MViz window opened but with no packets reading, and the sf window keep on listening the 9002 port but also with zero 'Pckts read' and 'Pckts wrttn'... I am so confused what port I need to open, or what is the proper steps to do in order to view the data reception on Node 0 (root) in MViz? Please help me... thanks Yusnaidi ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] CTP Routing Frame
Hi Omprakash, I see. That thought was just a wonder... Thanks again for the comment. Yusnaidi > > -- > > Message: 3 > Date: Sat, 1 May 2010 15:01:49 -0700 > From: Omprakash Gnawali > Subject: Re: [Tinyos-help] CTP Routing Frame > To: Yusnaidi Md Yusof > Cc: tinyos-help@millennium.berkeley.edu > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Wed, Apr 28, 2010 at 2:00 PM, Yusnaidi Md Yusof > wrote: > > 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 if I > > re-translate the CTP routing frame format as: options -> parent -> etx -> > > data??? , since a 'data' field follows after the 'collect_id' field in > the > > CTP data frame format (also narrated in the TEP 123). > > That data field is just a placeholder. The router does not send > "data". The frame specified in TEP 123 is correct. > > - 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] Packet acknowledgment
Hi Omprakash, Thanks a lot for a valuable suggestions. I got it now: at line 448 and 546. I am referring that now. thanks again. yusnaidi Message: 4 > Date: Sat, 1 May 2010 15:05:06 -0700 > From: Omprakash Gnawali > Subject: Re: [Tinyos-help] Packet acknowledgment > To: Yusnaidi Md Yusof > Cc: tinyos-help@millennium.berkeley.edu > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > On Fri, Apr 30, 2010 at 2:07 PM, Yusnaidi Md Yusof > wrote: > > 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() method). I am > > wondering why? > > You might want to look at CtpForwardingEngineP.nc for an example of > how to use requestAck() and wasAcked(). > > - om_p > > > -- > > ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] FTSP in tossim
Hello, I am developping a secure group communication application and, I would like to use FTSP in order to synchronize node. I am testing my app using tossim. How can I integrate/use FTSP in my app? does FTSP compile with tossim? great thanks for help ** Omar Cheikhrouhou Engineer & Researcher @SENS Lab (Software Engineering and Network Security) Higher Institute of Technological Studies - Address : Mahdia's road Km 2.5 Sfax. BP 88 A - 3099 El Bustan Sfax Telephone : (+216)74 237425 Poste : 437 Fax: : (+216)74 431 386 Ph.D @ CES Lab (Computer and Embedded System)-University of Sfax, National School of Engineers BP W, Sfax, 3038, Tunisia , Fax:(+216)74665369 Home page: http://www.ceslab.org/eng/perso.php?id=46 Coordinator C2i @ ISET Sfax (Certified C2i since 2008) ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Hash Message Authentication Code (HMAC)
Hello I used the HMAC protocol to encode the message that me the messenger and decoded it in the BlinkToRadio application. please helped me to make the compilation of this application. I find mistakes following: $ make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkToRadioAppC to object file sim.o ncc -c -DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -DIDENT_PROGRAM_NAME=\"BlinkToRadioApp\" -DIDENT_USER_ID=\"Administrateur\" -DIDENT_HOSTNAME=\"sweet-089462c65\ " -DIDENT_USER_HASH=0xa9586914L -DIDENT_UNIX_TIME=0x4be01023L -DIDENT_UID_HASH=0x480c99f4L -Wno-nesc-data-race BlinkToRadioAppC.nc -fnesc-dump=components -fnesc-dump=variables -fne sc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml In component `BlinkToRadioAppC': BlinkToRadioAppC.nc:10: component hmacC not found In file included from BlinkToRadioAppC.nc:12: In component `BlinkToRadioC': BlinkToRadioC.nc:12: interface hmac not found In component `BlinkToRadioAppC': BlinkToRadioAppC.nc:26: no match thanks ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] [blip-users] Re: Iris problem on IPBaseStation
Hello everyone, I removed line 431 of BaseStationP.nc, but it doesn't work, I keep getting the "FATAL: configuring interface failed! aborting!" message when I do sudo driver/ip-driver /dev/ttyUSB1 iris Any hints on how to change the watchdog timer? Thanks in advance, -- Gilberto Almeida 2010/4/22 Lars Schor > When we used a mote similar to the iris (Meshbean) we had a comparable > error. The problem was that the ip-driver sends to the basestation the > command to reset. As soon as this one got the command, it stopped working > and the ip-driver couldn't connect to the basestation. The background is > that the AtMega1281 processor uses a different Watchdog Timer than its > predecessor and is still activated after restarting the processor, thus the > mote continuously resets. > > Workarounds are to change how the watchdog timer works, or (for testing) to > deactivate the reset of the basestation in the BaseStationP.nc file (line > 431). Nonetheless, I don't know if the deactivation of the reset may have > some other impacts. > > May it helps. Best, > Lars > > ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Make "[program] Error 57" on uisp command
Hi, Javier, Christian, and everybody: I have the same problem with using cygwin in WIN XP. When I check the tinyos enviroment, I have no errors but one warning which is the JDK version. I use the AVRISP and COM1 port to download the Blink program to my mote (ATmega 128 and cc1000). If only I use the command "make mica2", the program can be compiled well. If someone give me some help, I would appreciate! :-) Thanks a lot! Steven Javier Barbarán wrote: > > > Hi Christian, and everybody, > > Just wanted to join to the same question, as I'm facing with the same > error > as you, I get also the Error 57 when I try to compile, but I also detected > that doesn't matter if you don't have anything connected to the COM port, > cause the error will come up anyway. > > The only different thing is that I have Windows 7 (don't know if it > affects, > or if more people has the cygwin installed in windows 7 and it works??) > and > I have TinyOS 2.1.1 installed as well. The tos-check-env says not errors, > just the typical JAVA 1.4 or 15 warning. > > I would appreciate any help, > > Thanks in advance, > > Regards, > > Javier. > > > > From: tinyos-help-boun...@millennium.berkeley.edu > [tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of McArthur, > Christian > [cm1...@txstate.edu] > Sent: Monday, April 19, 2010 4:52 PM > To: tinyos-help@millennium.berkeley.edu > Subject: [Tinyos-help] Make "[program] Error 57" on uisp command > > Howdy All! > > I'm experiencing an odd problem when running 'make' to compile and upload > code > to a mote. I had no issues with this several months ago and can't figure > out > what has changed in the time I walked away from the project. First some > information on the environment, then the error. > > I'm running TinyOS 2.1 under Cygwin and Windows XP. I am using a MicaZ > mote > from Crossbow (MPR2400CA). I connect the mote to the computer via USB > cable > and at that point COM3 and COM4 appear for the mote. The command line I > am > using for the make process is: > > make micaz install mib520,/dev/ttyS2 > > The error is occurring whether I attempt this for the tutorial program > Oscilloscope, code I've written based upon Oscilloscope, and even the > Blink > application. > > As for the error, here are the last two lines of the make process (if you > want > to see it all, I can provide it): > > uisp -dprog=mib510 -dserial=/dev/ttyS2 --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out-10 > --verify > make: *** [program] Error 57 > > The only reference to Error 57 I've found is in the sys/errno.h file which > says > it is due to "Bad font file fmt" and one reference to it on this mailing > list > in the past, but no suggestion on a resolution or if the poster's problem > was > ever solved. > > I've tried several sets of code (as mentioned above) and tried referencing > the > com port differently (/dev/ttyS2, /dev/ttyS3, COM3, COM4). Anyone have > suggestions on what the problem could be or other things to check on? > > Thanks, > --Christian > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > -- View this message in context: http://old.nabble.com/Make-%22-program--Error-57%22-on-uisp--command-tp28336899p28442989.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Make "[program] Error 57" on uisp command
Hi, Javier, Christian, and everybody: I have the same problem with using cygwin in WIN XP. When I check the tinyos enviroment, I have no errors but one warning which is the JDK version. I use the AVRISP and COM1 port to download the Blink program to my mote (ATmega 128 and cc1000). If only I use the command "make mica2", the program can be compiled well. If someone give me some help, I would appreciate! :-) Thanks a lot! Steven Javier Barbarán wrote: > > > Hi Christian, and everybody, > > Just wanted to join to the same question, as I'm facing with the same > error > as you, I get also the Error 57 when I try to compile, but I also detected > that doesn't matter if you don't have anything connected to the COM port, > cause the error will come up anyway. > > The only different thing is that I have Windows 7 (don't know if it > affects, > or if more people has the cygwin installed in windows 7 and it works??) > and > I have TinyOS 2.1.1 installed as well. The tos-check-env says not errors, > just the typical JAVA 1.4 or 15 warning. > > I would appreciate any help, > > Thanks in advance, > > Regards, > > Javier. > > > > From: tinyos-help-boun...@millennium.berkeley.edu > [tinyos-help-boun...@millennium.berkeley.edu] On Behalf Of McArthur, > Christian > [cm1...@txstate.edu] > Sent: Monday, April 19, 2010 4:52 PM > To: tinyos-help@millennium.berkeley.edu > Subject: [Tinyos-help] Make "[program] Error 57" on uisp command > > Howdy All! > > I'm experiencing an odd problem when running 'make' to compile and upload > code > to a mote. I had no issues with this several months ago and can't figure > out > what has changed in the time I walked away from the project. First some > information on the environment, then the error. > > I'm running TinyOS 2.1 under Cygwin and Windows XP. I am using a MicaZ > mote > from Crossbow (MPR2400CA). I connect the mote to the computer via USB > cable > and at that point COM3 and COM4 appear for the mote. The command line I > am > using for the make process is: > > make micaz install mib520,/dev/ttyS2 > > The error is occurring whether I attempt this for the tutorial program > Oscilloscope, code I've written based upon Oscilloscope, and even the > Blink > application. > > As for the error, here are the last two lines of the make process (if you > want > to see it all, I can provide it): > > uisp -dprog=mib510 -dserial=/dev/ttyS2 --wr_fuse_h=0xd9 -dpart=ATmega128 > --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out-10 > --verify > make: *** [program] Error 57 > > The only reference to Error 57 I've found is in the sys/errno.h file which > says > it is due to "Bad font file fmt" and one reference to it on this mailing > list > in the past, but no suggestion on a resolution or if the poster's problem > was > ever solved. > > I've tried several sets of code (as mentioned above) and tried referencing > the > com port differently (/dev/ttyS2, /dev/ttyS3, COM3, COM4). Anyone have > suggestions on what the problem could be or other things to check on? > > Thanks, > --Christian > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > -- View this message in context: http://old.nabble.com/Make-%22-program--Error-57%22-on-uisp--command-tp28336899p28442988.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] repository
The contrib caretaker stuff is mostly my fault. Somehow my gmail decided to recently mark all contrib requests as spam and send them directly to my spam folder. I now have a back log of requests which I plan to deal with soon. Kevin On Tue, May 4, 2010 at 12:11 AM, Markus Becker wrote: > However, tinyos-contrib-caretakers is not responding for quite some time now. > I last tried to contact caretakers in March and did not get a reply. > > I decided to go for a git clone to interwork with my colleagues. > > By the way, is TinyOS moving to git now since the release is out of the door? > This would possibly change a lot the procedure for contributing code. > > BR, > Markus > >> On May 3, 2010, at 3:17 PM, Roberto Pagliari wrote: >> > Hi All, >> > I would like to let a few algorithms I implemented available on >> > tinyos cvs. Do you know how I can upload the code? >> > >> > Thanks >> >> http://docs.tinyos.net/index.php/Contributing_Code_to_TinyOS >> >> Phil >> ___ >> Tinyos-help mailing list >> Tinyos-help@millennium.berkeley.edu >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > | ATTENTION: NEW TELEPHONE EXTENSION! > > | Dipl.-Ing. Markus Becker > | Communication Networks > | Mobile Research Center > | TZI - Center for Computing Technologies > | University Bremen > | Germany > > | web: http://www.comnets.uni-bremen.de/~mab/ > | mailto: m...@comnets.uni-bremen.de > | telephone: +49 421 218 62379 > | building: NW1 room: N2260 > > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] repository
However, tinyos-contrib-caretakers is not responding for quite some time now. I last tried to contact caretakers in March and did not get a reply. I decided to go for a git clone to interwork with my colleagues. By the way, is TinyOS moving to git now since the release is out of the door? This would possibly change a lot the procedure for contributing code. BR, Markus > On May 3, 2010, at 3:17 PM, Roberto Pagliari wrote: > > Hi All, > > I would like to let a few algorithms I implemented available on > > tinyos cvs. Do you know how I can upload the code? > > > > Thanks > > http://docs.tinyos.net/index.php/Contributing_Code_to_TinyOS > > Phil > ___ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help | ATTENTION: NEW TELEPHONE EXTENSION! | Dipl.-Ing. Markus Becker | Communication Networks | Mobile Research Center | TZI - Center for Computing Technologies | University Bremen | Germany | web: http://www.comnets.uni-bremen.de/~mab/ | mailto: m...@comnets.uni-bremen.de | telephone: +49 421 218 62379 | building: NW1 room: N2260 ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help