Re: [Tinyos-help] TOSSIM HELP
Hi Akash, Please send your questions to the tinyos forum. I have never worked with TOSSIM. I have tested all my code on real sensor motes. I will check it out how it works though, also, posting your question to the forum. NOTE: Hi all, Please look at the question and if possible help this guy. Thanks in advance,Kartik --- On Tue, 2/1/11, akash rvs wrote: From: akash rvs Subject: TOSSIM HELP To: siddhabathulakar...@yahoo.com Date: Tuesday, February 1, 2011, 8:11 AM Hi, I am Akash, an engineering student. I am new to TOSSIM and TinyOS.I was trying to run the blink application in the examples provided.But i couldnt figure out how to write the appropiate code in python to simulate the app. I am attaching all the three files :BlinkC - module fileBlinkAppC - configuration fileto.py -python file Do help me out with this.Thanking you in advance. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Current mac protocol
Thanks a lot Manjunath. I will look for it. Kartik --- On Wed, 10/20/10, Manjunath Doddavenkatappa wrote: From: Manjunath Doddavenkatappa Subject: Re: [Tinyos-help] Current mac protocol To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, October 20, 2010, 6:43 PM Yes. It is the combination of B- and X-MACs. So it is called BoX-MAC. There are two versions of BoX-MAC: 1 and 2. By default B0X-MAC1 is used. The detailed and clear discussion of these versions can be found in its paper: just search for "BoX-MACs" in google, the first reference you get is the paper. Manjunath D *** On Wed, 20 Oct 2010, Kartik Siddhabathula wrote: > Hi all, > I would like to know what is the current mac protocol used by cc2420 radio > chips. I read it our forum archives that it is a combination of B-Mac and > X-Mac. I need a proper reference so that I can back up the claim. > > Does anyone have any idea where I can find the MAC protocol implementation of > cc2420. > Thanks, > Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Current mac protocol
Hi Wasif, Seems you didn't get my question. I know where mac is in tinyos. I want to know what type of MAC is used by telosb motes? is it S-Mac, B-Mac or X-Mac? Where is the documentation for that? Thanks, Kartik --- On Wed, 10/20/10, wasif masood wrote: From: wasif masood Subject: Re: [Tinyos-help] Current mac protocol To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, October 20, 2010, 2:58 PM its under tos/chips/cc2420 On Wed, Oct 20, 2010 at 8:44 PM, Kartik Siddhabathula wrote: Hi all, I would like to know what is the current mac protocol used by cc2420 radio chips. I read it our forum archives that it is a combination of B-Mac and X-Mac. I need a proper reference so that I can back up the claim. Does anyone have any idea where I can find the MAC protocol implementation of cc2420. Thanks, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Current mac protocol
Hi all, I would like to know what is the current mac protocol used by cc2420 radio chips. I read it our forum archives that it is a combination of B-Mac and X-Mac. I need a proper reference so that I can back up the claim. Does anyone have any idea where I can find the MAC protocol implementation of cc2420. Thanks, Kartik ___ 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 timers can a program have
Thanks Eric for the help :) I will look into why the motes are failing! Kartik --- On Thu, 9/23/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] How many timers can a program have To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Thursday, September 23, 2010, 9:13 PM The current timer implementation has space for 256 timers. I have been through the timer code pretty extensively and nothing comes to mind about why it would stop working after around 5 mins. The way the timers work is there is a sync level task called UpdateTimersTask which looks at all active timers and programs the hardware to interrupt in the future. The timer h/w (called an alarm) trips and causes a task to get posted. This task scans the timer list looking for expired timers. Any expired timer is then fired. So what can go wrong. 1) interrupts off? For example on the telosb (or other msp430 varient) there is the GIE bit in the status register. If this is off then the timer h/w can't interrupt. 2) If something is keeping the timer tasks from running. Not very likely. Most everything runs as a task in tinyos and if the timer task was getting posted and the main task loop were running then it is guaranteed that the timer task will run eventually. 3) A task has gone infinite and this prevents any other task from running. 4) the timer in question is not active. Is it a periodic or a oneshot? If a oneshot is it getting rearmed? Basically you will have to dig into the system state at the point of failure and figure out what is going on. It is extremely hard to do that on a mailing list. hope that helps. eric On Thu, Sep 23, 2010 at 9:41 AM, Kartik Siddhabathula wrote: Hi All, Am using tinyos-2.x and telosb motes. How many timers can I have in my program without having a problem. Last time I had 6 timers and motes used to stop working after around 5 minutes. Thanks in advance, Kartik ___ 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
[Tinyos-help] How many timers can a program have
Hi All, Am using tinyos-2.x and telosb motes. How many timers can I have in my program without having a problem. Last time I had 6 timers and motes used to stop working after around 5 minutes. 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] Questions on MAC protocol tinyos-2.x
Hi all, I would like to know which mac protocol is used by tinyos-2.x? Is it B-MAC or 1.1.1 MAC?If I want to change the type of the MAC how can I do that? 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] [*] Regarding sending and receiving
Thanks Michael for sharing the report. I know that we do loose messages, in one of my experiment, I did the packet delivery rate test and I found that I lost somewhere between 1 to 11 messages and that is something we are not discussing about as that is acceptable to both me and Harshwal. The reason why I had posted the query in the forum and Harshwal re-posted it is that we wanted to know about the buffer queue size in the receiving end. In one of my experiments, I had one sender and one receiver. Sender transmitted 100 messages continuously through periodic timer fired at 0 ms. I found that in my receiving end I was receiving some where around 30 messages only and that means 70 messages were lost and that's why this thread. Kartik --- On Mon, 7/19/10, Michael Schippling wrote: From: Michael Schippling Subject: Re: [Tinyos-help] [*] Regarding sending and receiving To: "Kartik Siddhabathula" Cc: harsh...@cse.iitk.ac.in, "TinyoS help" Date: Monday, July 19, 2010, 12:07 PM Messages will be lost. Get over it... The number will vary depending on the distance between motes, and whether they can all "hear" each other (see Hidden Node Problem). I think TOSSIM has a whole modeling system for testing message failures, but I've never used the sim. I also found that throttling sends with up to 10ms between them helped greatly in small systems. See this old report: http://www.etantdonnes.com/Motes/report_mica2/ MS Kartik Siddhabathula wrote: > Hi Harshal, > > As from your output it is clear that the receiver mote is able to get the > messages. > The problem must be in the simultaneous sending. The problem I faced was also > when I was sending simultaneously that's why I wanted to know what is the > buffer size for receiving. > > As far as I my understanding goes, the reason must be that when the receiver > receives the messages, it keeps in the buffer till it is processed (crc check > etc). While it is processing a packet and another one arrives it puts them in > the buffer queue. > > Kartik > > --- On *Mon, 7/19/10, harsh...@cse.iitk.ac.in //* > wrote: > > > From: harsh...@cse.iitk.ac.in > Subject: Re: [*] [Tinyos-help] Regarding sending and receiving > To: "Kartik Siddhabathula" > Cc: tinyos-help@millennium.berkeley.edu > Date: Monday, July 19, 2010, 3:50 AM > > Hi Kartik, > Thanks for your reply. I did what you suggested and got the > following output: > X=91 > X=94 > X=86 > X=90 > X=83 > X=88 > X=77 > X=86 > X=89 > X=89 > > According to this, most packets are received, which is good. However, in > my application I am still facing the same problem. In that app, many > nodes > try to send at a time to a particular node. More concretely, in (TOSSIM > simulation of) a 25 node network, about 20 nodes send a message to a > particular node of which only 7-8 are seen to be received by it. Could > this simultaneous sending be a reason for that node to not to > receive all > the messages? > > Regards, > Harshal > > > > Hi Harshal, > > > > I got over the problem. I tested some code two days back and I > found that > > I was receiving some where between 89 to 99 messages out of 100 > messages. > > I am not sure how I overcame the problem though I hadn't made > much changes > > to the code! > > > > Try to do this: Have one sender and one receiver. > > Sender sends 1000 messages and each message is a number one more > than the > > previous one. > > > > At the receiver have two variables X and Y initialized to 0. > > let's say the received number is z, > > do if z > else save the value of X in the log and then do X=0 and Y=Y+100. > > > > Get the log and then let me know the results. > > > > Kartik > > > > > > --- On Sun, 7/18/10, harsh...@cse.iitk.ac.in > > > > wrote: > > > > From: harsh...@cse.iitk.ac.in > > > > Subject: Re: [*] [Tinyos-help] Regarding sending and receiving > > To: "Kartik Siddhabathula" > > > Cc: tinyos-help@millennium.berkeley.edu > > > Date: Sunday, July 18, 2010, 11:46 PM > > > >> Hi All, > >> > >> I have a question regarding the buffers. I
Re: [Tinyos-help] [*] Regarding sending and receiving
Hi Harshal, As from your output it is clear that the receiver mote is able to get the messages. The problem must be in the simultaneous sending. The problem I faced was also when I was sending simultaneously that's why I wanted to know what is the buffer size for receiving. As far as I my understanding goes, the reason must be that when the receiver receives the messages, it keeps in the buffer till it is processed (crc check etc). While it is processing a packet and another one arrives it puts them in the buffer queue. Kartik --- On Mon, 7/19/10, harsh...@cse.iitk.ac.in wrote: From: harsh...@cse.iitk.ac.in Subject: Re: [*] [Tinyos-help] Regarding sending and receiving To: "Kartik Siddhabathula" Cc: tinyos-help@millennium.berkeley.edu Date: Monday, July 19, 2010, 3:50 AM Hi Kartik, Thanks for your reply. I did what you suggested and got the following output: X=91 X=94 X=86 X=90 X=83 X=88 X=77 X=86 X=89 X=89 According to this, most packets are received, which is good. However, in my application I am still facing the same problem. In that app, many nodes try to send at a time to a particular node. More concretely, in (TOSSIM simulation of) a 25 node network, about 20 nodes send a message to a particular node of which only 7-8 are seen to be received by it. Could this simultaneous sending be a reason for that node to not to receive all the messages? Regards, Harshal > Hi Harshal, > > I got over the problem. I tested some code two days back and I found that > I was receiving some where between 89 to 99 messages out of 100 messages. > I am not sure how I overcame the problem though I hadn't made much changes > to the code! > > Try to do this: Have one sender and one receiver. > Sender sends 1000 messages and each message is a number one more than the > previous one. > > At the receiver have two variables X and Y initialized to 0. > let's say the received number is z, > do if z else save the value of X in the log and then do X=0 and Y=Y+100. > > Get the log and then let me know the results. > > Kartik > > > --- On Sun, 7/18/10, harsh...@cse.iitk.ac.in > wrote: > > From: harsh...@cse.iitk.ac.in > Subject: Re: [*] [Tinyos-help] Regarding sending and receiving > To: "Kartik Siddhabathula" > Cc: tinyos-help@millennium.berkeley.edu > Date: Sunday, July 18, 2010, 11:46 PM > >> Hi All, >> >> I have a question regarding the buffers. I am using tinyos-2.x and > telosb >> motes. From one mote I sent a message 100 times, but another mote which > was configured to receive the messages received less messages. >> >> Once it received the message only thrice and the maximum is 57 messages. > The no of messages received (on average) is 30. >> >> What could be the reason, any ideas? >> >> Thanks in advance, >> Kartik >> >> >> >> ___ > > > Hi, > I am facing a similar problem to the one above. It would be really great > if someone provides some pointers. > > Regards, > Harshal > > > > > > ___ 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 do a multihop routing in tinyos-2.x
Thanks a lot Mehmet :) --- On Mon, 7/19/10, Mehmet Akif Antepli wrote: From: Mehmet Akif Antepli Subject: Re: [Tinyos-help] How to do a multihop routing in tinyos-2.x To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Monday, July 19, 2010, 3:56 AM On 07/17/2010 07:20 AM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I would like to know how to do a multi hop routing? As, in the tinyos-2.x docs it says that "ActiveMessageC provides a best-effort, single-hop communication abstraction". How can I achieve a multihop routing? Please help! Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help You should have a look at CTP (Collection Tree Protocol) in the following link http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/tos/lib/net/ctp/ Related Paper: sing.stanford.edu/pubs/sing-09-01.pdf Mehmet Akif Antepli Telecommunications Lab. D-217 Dept. of EEE Middle East Technical University ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to do a multihop routing in tinyos-2.x
Hi All, I am using tinyos-2.x and telosb motes. I would like to know how to do a multi hop routing? As, in the tinyos-2.x docs it says that "ActiveMessageC provides a best-effort, single-hop communication abstraction". How can I achieve a multihop routing? Please help! 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] Unable to program micaz motes
Hi All, I am unable to install code on micaz motes. After typing the command make micaz install mib510,com1my installation stops at the following point: writing TOS imagecp build/micaz/main.srec build/micaz/main.srec.out installing micaz binary using mib510uisp -dprog=mib510 -dserial=com1 --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff --erase --upload if=build/micaz/main.srec.out Also when I type motelist it says no devices found! I am using tinyos-1.x on cygwin. 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] Need help with RFM.nc tinyos
Hi all, I want to use the byte interface RFM.nc in tinyos-1.x with micaz motes. Has anyone ever used it? I don't know how to use. It will be great if some tells me on how to use that component! 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] Need help regarding RFM.nc
Hi all, I want to use the byte interface RFM.nc in tinyos-1.x with micaz motes. Has anyone ever used it? I don't know how to use. It will be great if some tells me on how to use that component! 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] How to transmit byte by byte instead of packet wise?
I think we can. Please have a look at the following: "You can access the lowest level and have an infinite loop to send byte by byte instead of packet by packet. Then you don't have theinter packet delay issue. If i remember correctly, the file name is RFM.ncin TinyOS 1.0. " I am not sure how to do that in tinyos-2.x and also seems RFM.nc is for rene2 platform and not for telosb. Thanks, Kartik --- On Mon, 7/5/10, Thomas Schmid wrote: From: Thomas Schmid Subject: Re: [Tinyos-help] How to transmit byte by byte instead of packet wise? To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Monday, July 5, 2010, 5:45 PM Hi Kartik, Generally, that's not possible as the radio is a packed based radio. However, depending on what you want to do, you can frame the bytes you want to send into packets, thus providing an intermediate layer. Cheers, - Thomas On Mon, Jul 5, 2010 at 6:26 PM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I want to send data byte by byte instead of packet wise. How can I do that? 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to transmit byte by byte instead of packet wise?
Hi All, I am using tinyos-2.x and telosb motes. I want to send data byte by byte instead of packet wise. How can I do that? 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] Regarding sending and receiving
Hi All, I have a question regarding the buffers. I am using tinyos-2.x and telosb motes. From one mote I sent a message 100 times, but another mote which was configured to receive the messages received less messages. Once it received the message only thrice and the maximum is 57 messages. The no of messages received (on average) is 30. What could be the reason, any ideas? 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 to change the CCA bit during runtime?
Hi All, I want the motes to change the CCA bit during run time i.e. if they are following the MAC protocol I want them to not follow it for a certain time interval during run time. How can I do it? 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] Jammer not working
Hi, I have implemented a jammer in tinyos-2.x by assigning the CCA bit FALSE in the CC2420CSMAP.nc file. I am using telosb motes. Motes within it's range are able to receive messages though they shouldn't be able to! 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 to format telosb flash in tinyos-2.x
Hi All, Am using tinyos-2.x and wan't to format the flash. How can I do it? 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] Timer not fire in TOSSIM
Hi Liu, Your timer one shot of 1000 ms won't fire if your code fails during run-time in the packet send code. Just check if your successfully sending a packet or not by having a look at the packet send and send done code. Hope this helps! Kartik. --- On Fri, 6/18/10, Xiaohui Liu wrote: From: Xiaohui Liu Subject: Re: [Tinyos-help] Timer not fire in TOSSIM To: "Kartik Siddhabathula" Cc: "Tinyos-Help" Date: Friday, June 18, 2010, 9:38 AM Hi, event void Boot.booted() { call Timer.startOneShot(2000);} event void Timer.fired() { send a packet here call Timer.startOneShot(1000); } On Fri, Jun 18, 2010 at 12:35 AM, Kartik Siddhabathula wrote: Hi Liu, It will be better if you give some code snippet. Thanks, Kartik --- On Thu, 6/17/10, Xiaohui Liu wrote: From: Xiaohui Liu Subject: [Tinyos-help] Timer not fire in TOSSIM To: "Tinyos-Help" Date: Thursday, June 17, 2010, 11:02 PM Hi, I set a timer by calling Timer.startOneShot(1000), but it seems the timer never fires. The simulation does normally terminate in finite time, so there is no infinite loop. Can anyone give me some hint on what might be causing the problem? Thanks. -- -Xiaohui Liu -Inline Attachment Follows- ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -Xiaohui Liu ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Is it possible to corrupt a packet during transmission
Hi Arik, My jammer sends continuously and I had placed 4 jammers for 4 motes and found that still motes were able to send out their messages. Kartik --- On Sun, 5/23/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Is it possible to corrupt a packet during transmission To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Sunday, May 23, 2010, 10:11 AM You have to investigate, nut it might be the case where the motes transmit during inter packet gap of the jammer. So, try to use more then one jammer. And try to synchronize between them, so one will transmit during other's inter-packet gap. Arik On Sun, May 23, 2010 at 18:03, Kartik Siddhabathula wrote: Hi Arik, You are right, I need a jammer. I have implemented a mote which continuously sends a packet without following the MAC protocol. The problem is that the motes within it's area are not able to receive messages, but can successfully send messages which I don't want to happen. I want motes within the jammer's range to not receive and send messages. Am using tinyos-2.x and telosb motes. Kartik --- On Sun, 5/23/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Is it possible to corrupt a packet during transmission To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Sunday, May 23, 2010, 3:14 AM It sounds like you want to make a jummer. How about place a node that will be transmitting long packets all the time? Arik On Sun, May 23, 2010 at 03:52, Kartik Siddhabathula wrote: Hi All, Am using tinyos-2.x and telosb motes. I want to have a mote which will corrupt the packets of other motes during transmission so that other motes may not be able to get that message. Does any body have any idea how I can achieve that? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik -- Best Regards, Arik Sapojnik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Is it possible to corrupt a packet during transmission
Hi Arik, You are right, I need a jammer. I have implemented a mote which continuously sends a packet without following the MAC protocol. The problem is that the motes within it's area are not able to receive messages, but can successfully send messages which I don't want to happen. I want motes within the jammer's range to not receive and send messages. Am using tinyos-2.x and telosb motes. Kartik --- On Sun, 5/23/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Is it possible to corrupt a packet during transmission To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Sunday, May 23, 2010, 3:14 AM It sounds like you want to make a jummer. How about place a node that will be transmitting long packets all the time? Arik On Sun, May 23, 2010 at 03:52, Kartik Siddhabathula wrote: Hi All, Am using tinyos-2.x and telosb motes. I want to have a mote which will corrupt the packets of other motes during transmission so that other motes may not be able to get that message. Does any body have any idea how I can achieve that? Thanks in advance, Kartik ___ 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] Is it possible to corrupt a packet during transmission
Hi All, Am using tinyos-2.x and telosb motes. I want to have a mote which will corrupt the packets of other motes during transmission so that other motes may not be able to get that message. Does any body have any idea how I can achieve that? 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] Problem with jammer implementation
Hi All, I have disabled the radiobackoff for a mote and it sends continuously i.e. it acts as a jammer. The motes within its range are not able to receive messages from any other motes. The problem is they are able to send out a message. I don't want that to happen either. I want the motes not able to send messages as well. What am I supposed 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] How to generate a time stamp at Base station
Hi All, I want the base station to generate a time stamp when ever it sends a message and whenever it receives one. How can I do that? 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] Error : Counter.Overflow not connected and can I use uint128_t?
Hi All, I have made the connection but am still getting that error. I am sending my code as an attachment. Kindly advice. Also, is it not possible to have uint128_t as am getting an error when I declare that. Thanks in advance, Kartik BroadcastAppC.nc Description: Cdf file BroadcastC.nc Description: Cdf file ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to use TransformCounterC or transform Counter
Hi All, I want to transform a Counter to a Counter. Can some one please tell me how am I supposed to do that? 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] 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
[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] Need help with Counter Interface
Hi All, I am using the interface Counter to get the time difference between two events. Since the 2nd event lies beyond the limit of the Counter so I have declared a variable which should increment every time there is an overflow. The problem is neither the variable is getting incremented nor the timer is getting reset. As once the Counter gets overflowed it stops ticking again and the value stays at 0 only. In the tutorial it says that the Counter wraps around once it reaches 0 but how to start it again once it reaches 0? Does anyone know how to work with the counter? 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] Counter not ticking after overflow
Hi All, I am using Counter in my program to find the time difference between two events. The problem is once the counter overflows, it stops ticking. So, my the Counter.get() always returns 0 for the 2nd event. http://tinyos.cvs.sourceforge.net/viewvc/*checkout*/tinyos/tinyos-2.x/tos/lib/timer/Counter.nc?revision=1.4&content-type=text/plain Does anybody has any idea on how to make it start ticking after the overflow event? 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] Need help with recording the time difference between 2 events
Hi Eric, Am measuring the time between the boot event and the button pressed event. Also if am getting the value 45 am I not supposed to divide it by 1024? That makes it a very small value. There is usually a gap of 10 secs between the two events and I want my result to show that which it is not able to. Kartik --- On Fri, 4/30/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Friday, April 30, 2010, 1:18 PM What are you measuring? why is 45 mis a wrong result? It is possible other code is executing in between your start and stop instrumentation. eric On Fri, Apr 30, 2010 at 9:19 AM, Kartik Siddhabathula wrote: Hi Eric, I already tried that thing. When I tried to subtract the other way I was getting 002d something like that. That makes it 45 in decimal and when divided by 1024 it is 0.04 which is incorrect. Kartik. --- On Fri, 4/30/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Friday, April 30, 2010, 1:15 AM Well try subtracting in the other order. You are seeing numbers like 63 because they are negative. You really should have more digits. Something like because they are 32 bit numbers. // Reading the local time when the button is pressed button_time = call LocalTime.get(); // Taking the time difference between boot and button press time_diff = boot_time-button_time; you really want time_diff = button_time - boot_time. Also please review how unsigned arithmetic works. eric On Thu, Apr 29, 2010 at 10:25 PM, Kartik Siddhabathula wrote: Hi Eric, Please find attached my code. The problem that I am facing is inconsistent result. Am getting the value for the difference of the two events as AD / 63 in hex. That makes it 16777059 in int and nearly 16384 secs when divided by 1024 whereas the difference between the two events is hardly 10/15 secs. So, am not convinced with the results. Please advice. Thanks in advance,Kartik --- On Thu, 4/29/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Thursday, April 29, 2010, 11:53 PM I've used localtime with out trouble. What kind of problems have you had with it? Keep in mind that its resolution is a mis (binary millisecond, 1/1024 second). For higher resolution timing I just grab the value of TAR the timer register which is set up for 1uis ticks. 1/(1024*1024) seconds. On Thu, Apr 29, 2010 at 5:42 PM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I am looking to record the time difference between two events. Can I use moteclockp.nc to get the difference? LocalTimeMilliC is not giving accurate results. Am having a lot of trouble with it. Please help. Thanks in advance, Kartik ___ 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 -- Eric B. Decker Senior (over 50 :-) Researcher -- 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] Need help with recording the time difference between 2 events
Hi Eric, I already tried that thing. When I tried to subtract the other way I was getting 002d something like that. That makes it 45 in decimal and when divided by 1024 it is 0.04 which is incorrect. Kartik. --- On Fri, 4/30/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Friday, April 30, 2010, 1:15 AM Well try subtracting in the other order. You are seeing numbers like 63 because they are negative. You really should have more digits. Something like because they are 32 bit numbers. // Reading the local time when the button is pressed button_time = call LocalTime.get(); // Taking the time difference between boot and button press time_diff = boot_time-button_time; you really want time_diff = button_time - boot_time. Also please review how unsigned arithmetic works. eric On Thu, Apr 29, 2010 at 10:25 PM, Kartik Siddhabathula wrote: Hi Eric, Please find attached my code. The problem that I am facing is inconsistent result. Am getting the value for the difference of the two events as AD / 63 in hex. That makes it 16777059 in int and nearly 16384 secs when divided by 1024 whereas the difference between the two events is hardly 10/15 secs. So, am not convinced with the results. Please advice. Thanks in advance,Kartik --- On Thu, 4/29/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Thursday, April 29, 2010, 11:53 PM I've used localtime with out trouble. What kind of problems have you had with it? Keep in mind that its resolution is a mis (binary millisecond, 1/1024 second). For higher resolution timing I just grab the value of TAR the timer register which is set up for 1uis ticks. 1/(1024*1024) seconds. On Thu, Apr 29, 2010 at 5:42 PM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I am looking to record the time difference between two events. Can I use moteclockp.nc to get the difference? LocalTimeMilliC is not giving accurate results. Am having a lot of trouble with it. Please help. Thanks in advance, Kartik ___ 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 -- 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] Need help with recording the time difference between 2 events
Hi Eric, Please find attached my code. The problem that I am facing is inconsistent result. Am getting the value for the difference of the two events as AD / 63 in hex. That makes it 16777059 in int and nearly 16384 secs when divided by 1024 whereas the difference between the two events is hardly 10/15 secs. So, am not convinced with the results. Please advice. Thanks in advance,Kartik --- On Thu, 4/29/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] Need help with recording the time difference between 2 events To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Thursday, April 29, 2010, 11:53 PM I've used localtime with out trouble. What kind of problems have you had with it? Keep in mind that its resolution is a mis (binary millisecond, 1/1024 second). For higher resolution timing I just grab the value of TAR the timer register which is set up for 1uis ticks. 1/(1024*1024) seconds. On Thu, Apr 29, 2010 at 5:42 PM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I am looking to record the time difference between two events. Can I use moteclockp.nc to get the difference? LocalTimeMilliC is not giving accurate results. Am having a lot of trouble with it. Please help. Thanks in advance, Kartik ___ 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 BroadcastC (1).nc Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help with recording the time difference between 2 events
Hi All, I am using tinyos-2.x and telosb motes. I am looking to record the time difference between two events. Can I use moteclockp.nc to get the difference? LocalTimeMilliC is not giving accurate results. Am having a lot of trouble with it. Please help. 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 to find the time difference between two events
Hi All, I am using tinyos-2.x and telosb motes. The motes send two messages randomly. I want to record the time difference between the two send events. I am having trouble with LocalTime interface, it doesn't seem to give correct values. How can I do it? 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] how to ensure to send only the preamble and not the message
Hi Eric, Sorry, there seems to be some confusion! Let me phrase my question properly: I want to implement a deceptive jammer. Details of the deceptive jammer are as follows: Deceptive jammer: Instead of sending out random bits, the deceptive jammer constantly injects regular packets to the channel without any gap between sub-sequent packet transmissions. As a result, a normal communicator will be deceived into believing there is a legitimate packet and will be duped to remain in the receive state. For example, in TinyOS, if a preamble is detected, a node remains in the receive mode, regardless of whether that node has a packet to send or not. Hence, even if a node has packets to send, it cannot switch to the send state because a constant stream of incoming packets will be detected. Further, we also observe that it is adequate for the jammer to only send a continuous stream of preamble bits (0xAA in TinyOS) rather than entire packets. I read this in a paper and am curious just like you that how some one can just send a preamble. Thanks, Kartik --- On Sun, 4/25/10, Eric Decker wrote: From: Eric Decker Subject: Re: [Tinyos-help] how to ensure to send only the preamble and not the message To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Sunday, April 25, 2010, 6:52 PM why on earth do you want to do that? Also what preamble are you talking about? The preamble on the radio? the cc2420 preamble? If so you can't do that. My understanding is the radio will start to transmit the preamble if it has something to transmit and after it has done the CCA, clear channel assessment. In other words if there is nothing to transmit it won't transmit the preamble. Catch 22. But maybe you are trying to do something else. In which case, phrasing your question in a more consise, clearer manner would really help you get an answer for the question you are seeking answers to. So what exactly are you trying to do? On Sun, Apr 25, 2010 at 2:46 PM, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I just want to send the preamble and not the complete message. Does anyone has any idea how I can do it? Thanks in advance, Kartik ___ 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
[Tinyos-help] how to ensure to send only the preamble and not the message
Hi All, I am using tinyos-2.x and telosb motes. I just want to send the preamble and not the complete message. Does anyone has any idea how I can do it? 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] how to have all motes synchronized?
Hi Wafa, One way is to have a mote broadcast a message upon reception of which the other motes will start their activity. Kartik --- On Wed, 4/21/10, wafa jaballah wrote: From: wafa jaballah Subject: [Tinyos-help] how to have all motes synchronized? To: "tinyos-help" Date: Wednesday, April 21, 2010, 5:17 PM hi all, I have an application that needs a lightweight synchronisation between nodes. In order to implement it in motes, I need all sensors must be initially synchronised in orde to have correct results. What should I have ? Thanks, and Best Regards, -- Wafa Ben Jaballah -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
Re: [Tinyos-help] CC2420Config
Hi Ranal, If you want to change the radio power then you need to define as follows in your makefile: CFLAGS+=-DCC2420_DEF_RFPOWER= value. I have tested it and it works. Kartik --- On Tue, 4/20/10, ranal fernando wrote: From: ranal fernando Subject: [Tinyos-help] CC2420Config To: tinyos-help@millennium.berkeley.edu Date: Tuesday, April 20, 2010, 1:15 PM 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. See how. -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
Re: [Tinyos-help] Need help with LocalTime interface
Hi Arik, Thanks for the response and sorry for the un-commented code. Yes, I am looking for the lower order bits when I do time_diff&0ff. So, if the mask is 0x then my results must also be right, right? Thanks in advance, Kartik --- On Tue, 4/20/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with LocalTime interface To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Tuesday, April 20, 2010, 10:07 AM Not all the parameters were defined in the file, so I hope no problems there (such as boot_time)The code is a bit cumbersome, so I had no patience to analyze all, BUT: Why don't you use nx_uint32_t variables instead of the conversions you do?When you do lower_order_bits=time_diff&0xff - you want to use the 16 lower bits, right? So the mask you need is 0x. Arik On Tue, Apr 20, 2010 at 00:06, Kartik Siddhabathula wrote: Hi Arik, Please find attached the code for the local time interface that I had written. Thanks in advance, Kartik --- On Mon, 4/19/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with LocalTime interface To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Monday, April 19, 2010, 3:56 PM Some code snippets would help On Mon, Apr 19, 2010 at 19:12, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I am using the LocalTime.get and storing the values in 2 variables and subtracting them. My first value is stored at boot up and 2nd value is on pressing the user button on telosb. Since the time is a 32 bit number am storing it in 32 bit variable. After subtracting the two values am converting the result into 16 bit variable and displaying it. The values that am getting are no matter how much time gap I take to press the button from the booting time is: 1. -F32. -633. -19 4. -27 Can some one please help me understand it ? Thanks a lot in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik -- 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] Need help with localtime interface
Hi All, I am using tinyos-2.x and telosb motes. I am using the LocalTime.get and storing the values in 2 variables and subtracting them. My first value is stored at boot up and 2nd value is on pressing the user button on telosb. Since the time is a 32 bit number am storing it in 32 bit variable. After subtracting the two values am converting the result into 16 bit variable and displaying it. The values that am getting are no matter how much time gap I take to press the button from the booting time is: 1. -F32. -633. -19 4. -27 Please find attached the code. Thanks in advance, Kartik BroadcastC.nc Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Need help with LocalTime interface
Hi Arik, Please find attached the code for the local time interface that I had written. Thanks in advance, Kartik --- On Mon, 4/19/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with LocalTime interface To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Monday, April 19, 2010, 3:56 PM Some code snippets would help On Mon, Apr 19, 2010 at 19:12, Kartik Siddhabathula wrote: Hi All, I am using tinyos-2.x and telosb motes. I am using the LocalTime.get and storing the values in 2 variables and subtracting them. My first value is stored at boot up and 2nd value is on pressing the user button on telosb. Since the time is a 32 bit number am storing it in 32 bit variable. After subtracting the two values am converting the result into 16 bit variable and displaying it. The values that am getting are no matter how much time gap I take to press the button from the booting time is: 1. -F32. -633. -19 4. -27 Can some one please help me understand it ? Thanks a lot in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik BroadcastC.nc Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help with LocalTime interface
Hi All, I am using tinyos-2.x and telosb motes. I am using the LocalTime.get and storing the values in 2 variables and subtracting them. My first value is stored at boot up and 2nd value is on pressing the user button on telosb. Since the time is a 32 bit number am storing it in 32 bit variable. After subtracting the two values am converting the result into 16 bit variable and displaying it. The values that am getting are no matter how much time gap I take to press the button from the booting time is: 1. -F32. -633. -194. -27 Can some one please help me understand it ? Thanks a lot 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] error: async mismatch with declaration
Hi All, I have used interface CC2420Transmit and for the event sendDone I am getting the following error :CC2420Transmit.sendDone : async mismatch with declaration Please help 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] MAC protocol over-rided but seems it doesn't work
Hi All, I am using tinyos-2.x and telosb motes. I want to have a mote which continuously sends a message by over riding the MAC protocol so that other normal motes may not be able to communicate. (in short I want to implement a jammer)In the program for the mote which over rides the MAC protocol, I set the ccaon to FALSE in the CC2420CsmaP and then I wired my send to the CC2420CsmaC. But it seems the other motes are still able to communicate without any hindrance. Is there anything wrong with my implementation? How can I implement a jammer? 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 to use the random value generated by the rand function to start a timer?
Hi All, It may seem to be a silly question but am rather confused as I want to generate a random number between 1 and 50 and then start a timerOneshot with the random value. How can I do that? 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] Log getting erased after power reset
Hi All, I am using tinyos-2.x and telosb motes. I am using log to store some data but the problem is the log is not surviving a power cycle. As soon as am cutting off the power supply am log is getting erased. Please help. 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] Problem with log function, help needed
Hi All, I am having problem with my log function as sometimes my log read gives inconsistent values. Also, I am having some issues with the code which am sending as an attachment, like my send is executed only once whereas it should execute 10 times. Also whenever log contains the correct values it has the same value for the whole array, whereas the mote receives several values. Also, how to format the flash in tinyos-2.x? Please help me find the error, Kartik BroadcastC.rtf Description: MS-Word document ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem with log function
Hi All, I am having problem with my log function as sometimes my log read gives inconsistent values. Also, I am having some issues with the code which am sending as an attachment, like my send is executed only once whereas it should execute 10 times. Also whenever log contains the correct values it has the same value for the whole array, whereas the mote receives several values. Please help me find the error, Kartik BroadcastC.rtf Description: MS-Word document ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Unable to receive Serial Message
Hi All, I have made some changes to TestSerial.java to display some messages that I send serially. I am sending messages serially but not able to display it on screen. I have checked my configuration files but everything is fine there. I am attaching the Serial.java, can anyone kindly go through and tell me what is wrong with there? The program is not even printing "Packet rcvd". Thanks in advance,Kartik Serial.java Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Poblem declaring an array of characters
Hi All, I am having trouble declaring an array of characters. Till now I have always worked with numbers but now I need an array of characters. When I used them in the result.h which I have attached to the mail, I am getting the following error: result.h:7: syntax error before `nx_char' result.h:7: warning: no semicolon at end of struct or union result.h:9: syntax error before `}' result.h:9: warning: data definition has no type or storage class Thanks in advance, Kartik #ifndef RESULT_H #define RESULT_H typedef nx_struct packet_msg{ nx_char content[10]; nx_uint8_t c_len; }packet_msg_t; enum { AM_PACKET_MSG = 14 }; #endif ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] TOSSIM error
Hi All, I am getting the following error while trying to execute TOSSIM. /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: No such file or directory /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++ forbids declaration of ‘PyObject’ with no type /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: expected ‘;’ before ‘*’ token /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:297: error: ‘PyObject’ has not been declared /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:302: error: ‘PyObject_HEAD’ does not name a type /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:306: error: expected initializer before ‘*’ token /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:313: error: ‘FILE’ has not been declared /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: In function ‘int swig_varlink_print(swig_varlinkobject*, int*, int)’: /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:316: error: ‘fprintf’ was not declared in this scope /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:317: error: ‘struct swig_varlinkobject’ has no member named ‘vars’ /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: At global scope: /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:325: error: expected initializer before ‘*’ token /opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected `}' at end of input make: *** [sim-exe] Error 1 Please help, 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] Unable to execute TOSSIM? error : Invalid target :pc
Hi All, I want to simulate my code on TOSSIM. When I am trying to type make -f makefile_name pc. It is saying invalid target. Even my Blink application is not simulating when I am typing make pc, it is also giving the same invalid error message. I am getting a message that the valid targets are all, clean, eyesIFX, eyesIFXv1, eyesIFXv2, intelmote2, iris, mica2, mica2dot, micaz, null, shimmer, telos, telosa, telosb, tinynode, tmote. I am using tinyos-2.x. 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] Problem with receving messages after integrating log and button events
Hi All, I have done individual testing of receive event, sending, log and button. Then integrated the event of button pressed then send. But when I am integrating the button + log + send + receive. It is not working. Even the mote is not able to receive any message with that code. I am sending the files as an attachment. I have reviewed the code several times but have no idea why it is not working? Thanks in advance, Kartik BroadcastAppC.nc Description: Binary data BroadcastC.nc Description: Binary data SenderC.nc Description: Binary data SenderAppC.nc Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING)
Thanks Arik, I will change the size. --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING) To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 11:50 AM Great, Anyway, notice that the default message size is 28bytes. You have to change it in order to be able to send larger messages. Arik On Wed, Feb 24, 2010 at 19:18, Kartik Siddhabathula wrote: Hi Arik, I figured it out. Actually I had not switched on the radio on the sender side and was looking only the receiver side code. The Msg_size is to declare the size of the message which I will broadcast. It has been reused from other project that I was doing in tinyos-1.x. Thanks a lot. Kartik --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING) To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 11:06 AM Kartik, I have noticed that in the makefile you have MSG_SIZE. What is this for?Does a sample applications work on your platform? Something like RadioCountToLeds? Or http://docs.tinyos.net/index.php/Mote-mote_radio_communication Arik On Wed, Feb 24, 2010 at 17:39, Kartik Siddhabathula wrote: Hi Arik, I did as told by you and also manually switched on the radio in the ReceiverC but still it is not working. What else could be the problem? Please help! Thanks in advance, Kartik --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 1:13 AM Hi, I think that your problem is that you are running over the message's header: file SenderC.nc: pPacket = (packet_msg_t *)report.data; report is a messaget_t, you are casting it to (packet_msg_t *) and running over the header. Try two things: Comment lines 42 through 45 in SenderC.nc.Change line 43 to the following: pPacket = (packet_msg_t*)call Packet.getPayload(&report, sizeof(report)); Of course you need to wire interface Packet to ActiveMessageC Arik On Wed, Feb 24, 2010 at 03:16, Kartik Siddhabathula wrote: Hi All, I am new to tinyos-2.x and was migrating my tinyos-1.x code to tinyos-2.x. I am having a problem with the reception of the message. I am sending a message but I am not able to receive it. I am sending the code as an attachment, if possible can anyone tell me where I am going wrong? Is there any problem with the configuration? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik sapoj...@gmail.com -- Best Regards, Arik Sapojnik sapoj...@gmail.com -- Best Regards, Arik Sapojnik sapoj...@gmail.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING)
Hi Arik, I figured it out. Actually I had not switched on the radio on the sender side and was looking only the receiver side code. The Msg_size is to declare the size of the message which I will broadcast. It has been reused from other project that I was doing in tinyos-1.x. Thanks a lot. Kartik --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING) To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 11:06 AM Kartik, I have noticed that in the makefile you have MSG_SIZE. What is this for?Does a sample applications work on your platform? Something like RadioCountToLeds? Or http://docs.tinyos.net/index.php/Mote-mote_radio_communication Arik On Wed, Feb 24, 2010 at 17:39, Kartik Siddhabathula wrote: Hi Arik, I did as told by you and also manually switched on the radio in the ReceiverC but still it is not working. What else could be the problem? Please help! Thanks in advance, Kartik --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 1:13 AM Hi, I think that your problem is that you are running over the message's header: file SenderC.nc: pPacket = (packet_msg_t *)report.data; report is a messaget_t, you are casting it to (packet_msg_t *) and running over the header. Try two things: Comment lines 42 through 45 in SenderC.nc.Change line 43 to the following: pPacket = (packet_msg_t*)call Packet.getPayload(&report, sizeof(report)); Of course you need to wire interface Packet to ActiveMessageC Arik On Wed, Feb 24, 2010 at 03:16, Kartik Siddhabathula wrote: Hi All, I am new to tinyos-2.x and was migrating my tinyos-1.x code to tinyos-2.x. I am having a problem with the reception of the message. I am sending a message but I am not able to receive it. I am sending the code as an attachment, if possible can anyone tell me where I am going wrong? Is there any problem with the configuration? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik sapoj...@gmail.com -- Best Regards, Arik Sapojnik sapoj...@gmail.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Need help with event Receive (STILL NOT WORKING)
Hi Arik, I did as told by you and also manually switched on the radio in the ReceiverC but still it is not working. What else could be the problem? Please help! Thanks in advance, Kartik --- On Wed, 2/24/10, Arik Sapojnik wrote: From: Arik Sapojnik Subject: Re: [Tinyos-help] Need help with event Receive To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Wednesday, February 24, 2010, 1:13 AM Hi, I think that your problem is that you are running over the message's header: file SenderC.nc: pPacket = (packet_msg_t *)report.data; report is a messaget_t, you are casting it to (packet_msg_t *) and running over the header. Try two things: Comment lines 42 through 45 in SenderC.nc.Change line 43 to the following: pPacket = (packet_msg_t*)call Packet.getPayload(&report, sizeof(report)); Of course you need to wire interface Packet to ActiveMessageC Arik On Wed, Feb 24, 2010 at 03:16, Kartik Siddhabathula wrote: Hi All, I am new to tinyos-2.x and was migrating my tinyos-1.x code to tinyos-2.x. I am having a problem with the reception of the message. I am sending a message but I am not able to receive it. I am sending the code as an attachment, if possible can anyone tell me where I am going wrong? Is there any problem with the configuration? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Best Regards, Arik Sapojnik sapoj...@gmail.com ReceiverC.nc Description: Binary data ReceiverAppC.nc Description: Binary data SenderAppC.nc Description: Binary data SenderC.nc Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help with event Receive
Hi All, I am new to tinyos-2.x and was migrating my tinyos-1.x code to tinyos-2.x. I am having a problem with the reception of the message. I am sending a message but I am not able to receive it. I am sending the code as an attachment, if possible can anyone tell me where I am going wrong? Is there any problem with the configuration? Thanks in advance, Kartik ReceiverC.nc Description: Cdf file ReceiverAppC.nc Description: Cdf file #ifndef RESULT_H #define RESULT_H typedef nx_struct packet_msg{ nx_uint8_t content; nx_uint8_t c_len; }packet_msg_t; enum { AM_PACKET_MSG = 0x93 }; #endif SenderAppC.nc Description: Cdf file SenderC.nc Description: Cdf file makefile_Receiver Description: Binary data makefile_Sender Description: Binary data ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help porting tinyos1.x code to tinyos2.x
Hi All, I don't have much idea about tinyos-2.x. I want to port my tinyos-1.x code to tinyos-2.x. In the component wiring file, I am getting an error that it cannot find "Boot", "AMSend" and "Receive". Also what are the valid instantiation arguments for the components AMSenderC and AMReceiverC. 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] How to use tinyos-1.x code in tinyos-2.x
Thanks a lot :) I will work on it. --- On Thu, 2/18/10, Mehmet Akif Antepli wrote: From: Mehmet Akif Antepli Subject: Re: [Tinyos-help] How to use tinyos-1.x code in tinyos-2.x To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Thursday, February 18, 2010, 8:46 AM Hi, Please check the following links: http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/doc/html/porting.html?view=log http://enl.usc.edu/~jpaek/porting_tinyos_1_to_2.html Regards, --Mehmet Akif AntepliDept. of EEEMiddle East Technical University On Thu, Feb 18, 2010 at 4:31 PM, Kartik Siddhabathula wrote: Hi All, Sorry for the previous message, it got accidentally sent even before I could complete it. I have some programs written in tinyos-1.x and found that I cannot execute that code in tinyos-2.x. Can anyone tell me what are the changes that I need to carry out so that I can execute those programs in tinyos-2.x. 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to use tinyos-1.x code in tinyos-2.x
Hi All, Sorry for the previous message, it got accidentally sent even before I could complete it. I have some programs written in tinyos-1.x and found that I cannot execute that code in tinyos-2.x. Can anyone tell me what are the changes that I need to carry out so that I can execute those programs in tinyos-2.x. 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 to use tinyos-1.x code in tinyos-2.x
H ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Range of the motes
Hi All, I want to change the outdoor range of the telosb motes to near about 20-30 meters, to what power level should I configure so that I get the required range. 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] Need help with Deluge T2 RPMs
Hi All, I want to install deluge T2 and it has been mentioned that I need to install some RPMs from the CVS tinyos-2.x/tools/tinyos/misc but I am not sure which ones to download? Also I have not much idea about the RPMs, when I press download, it shows me the code, am I supposed to save that code as filename.RPM and then execute? 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 to display a message on PC?
Hi All, I want the mote to send a message to the PC and want the PC to show that message on the screen. Serial Forwarder just increments the counter and Listen shows the packet format. What should I do so that I am able to display the message on the screen? 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] Bad packet and packet too long error
Hi All, I am trying to display a message on the screen using Listen tool but am always getting "Bad packet" or "Packet too long" error. I have tried out several things but couldn't figure out what to do?The message I want to display is simply an uint8_t number. I am using tinyos1.x and telosb motes. pPacket = (packet_msg *)report.data;pPacket->c_len = MSG_LEN;memcpy(pPacket->content, message, MSG_LEN);call PacketMsg.send(TOS_UART_ADDR, sizeof(packet_msg), &report); 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] error: invalid option `disable-hwmul'
Hi All, I am getting the following error when I am trying to compile using make telosb. I just installed tinyos2.x and was trying to compile Blink app. cc1: error: invalid option `disable-hwmul': failed to preprocess /usr/lib/ncc/nesc_nx.hcc1: error: invalid option `disable-hwmul': failed to preprocess C:\cygwin\opt\tinyos-2.x\tos/system/tos.hcc1: error: invalid option `disable-hwmul': failed to preprocess BlinkAppC.ncmake: *** [exe0] Error 1 Please help, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] error: invalid option `disable-hwmul', failed to preprocess
Hi All, I am getting the following error message when trying to compile Blink : cc1: error: invalid option `disable-hwmul': failed to preprocess /usr/lib/ncc/nesc_nx.hcc1: error: invalid option `disable-hwmul': failed to preprocess C:\cygwin\opt\tinyos-2.x\tos/system/tos.hcc1: error: invalid option `disable-hwmul': failed to preprocess BlinkAppC.ncmake: *** [exe0] Error 1 Please help, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Problem with jammer implementation
Hi All, I am implementing a jammer (Tinyos-1.x and telosb motes) and for the jammer I disabled the call HPLChipcon.cmd(CC2420_STXONCCA); I am sending the file as an attachment where I carried out the changes, it is located in opt\tinyos1.x\tos\lib\CC2420Radio\CC2420ControlM.nc so that channel is always clear for the jammer and it sends a message, but still my other genuine mote was able to send out it's message and the other motes were able to receive the message of the genuine message. Where might be the mistake? I don't have much idea as am new to tinyos. Please help, Kartik CC2420ControlM.nc Description: Cdf file ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Tinyos2.x compilation error
Hi All, I am getting the following error message when trying to compile Blink : cc1: error: invalid option `disable-hwmul': failed to preprocess /usr/lib/ncc/nesc_nx.hcc1: error: invalid option `disable-hwmul': failed to preprocess C:\cygwin\opt\tinyos-2.x\tos/system/tos.hcc1: error: invalid option `disable-hwmul': failed to preprocess BlinkAppC.ncmake: *** [exe0] Error 1 Please help, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Nesc1.exe Entry point not found error
Hi All, I just installed tinyos2.x. When I am trying to compile the Blink application, I am getting the following error: The procedure entry point basename could not be located in the dynamic link library cygwin1.dll. Please help, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help with Maths Library
Hi All, I need help with the maths library. In the tutorial, it says to pass -lm option to ncc. How am I supposed to do that? make telosb -lm doesn't work nor the various combinations. Please help, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Tinyos2.x installation error
Hi All, While trying to install tinyos2.x, I am getting the following errors: raghaven...@gautam ~ $ rpm -ivh msp430tools-base-0.1-20050607.cygwin.i386.rpm error: Failed dependencies: /bin/sh is needed by msp430tools-base-0.1-20050607 raghaven...@gautam ~ $ rpm -ivh msp430tools-binutils-2.16-20050607.cygwin.i386.rpm error: Failed dependencies: msp430tools-base >= 0.1 is needed by msp430tools-binutils-2.16-20050607 Please help. 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] Tinyos2.x upgrade error
Hi All, While upgrading my Tinyos1.x to Tinyos2.x, I got the following error: $ rpm -ivh tinyos-2.0.2-2.cygwin.noarch.rpmerror: Failed dependencies: tinyos-tools >= 1.2.4 is needed by tinyos-2.0.2-2 Please help. 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] Flash Storage in Tinyos1.x
Hi All, I am using telosb motes and running tinyos1.x. My mote receives messages and I want to ensure that everytime I receive a message, I store it in the flash. How am I supposed to do it? 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] How to override the MAC protocol? (Jammer implementation)
Thanks Paul. I will surely dig into the code and try to do my best. If any trouble will let you know. Kartik. --- On Fri, 11/27/09, Paul Johnson wrote: From: Paul Johnson Subject: Re: [Tinyos-help] How to override the MAC protocol? (Jammer implementation) To: "Kartik Siddhabathula" Cc: "TinyoS help" Date: Friday, November 27, 2009, 9:04 PM Kartik, I suggest that you take a look at the nesdoc (google tinyos nesdoc) for the platform you are developing for. By looking at the components you currently use to send messages, you can drill-down the wirings until you find the MAC implementation. Learning how to use grep to search contents of files will really help in your search. After you find the file(s) that implement the MAC, you can read its contents to determine where it performs CCA checks prior to transmitting. Hope that helps. I could search myself for your platform and find the files for you, but as the saying goes. "If you give a man a fish, he will have a single meal. If you teach him how to fish, he will eat all his life." Good luck with the search. -Paul Kartik Siddhabathula wrote: Hi All, I want to over ride the MAC protocol. I want to ensure that a mote sends a message continuously without sensing the channel. In fact I would like to implement a jammer. Can anyone please tell me how to do it? 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 mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to override the MAC protocol? (Jammer implementation)
Hi All, I want to over ride the MAC protocol. I want to ensure that a mote sends a message continuously without sensing the channel. In fact I would like to implement a jammer. Can anyone please tell me how to do it? 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] Sending message to basestation
Hi All, Am using telosb motes and tinyos-1.x. I want to send a packet to the base station. In the tutorial they have done it using a logger which invokes EEPROM, I don't want to do that way. Please help. Kartik Siddhabathula. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] How to bypass EEPROM
Hi All, In the tinyos-1.x tutorial Ch-8, they are using an EEPROM to store and forward the message, I would like to bypass it, as I don't want to use the EEPROM. I would like to use the RAM instead. Can anyone please tell me how to do it? 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] Help with broadcasting
Hi All, I am having a problem broadcasting a packet using multihop. I am using tinyos-1.x and crossbow telosb motes. The tutorial mentions use of EEPROM, but when am executing it it says EEPROM not found. How to bypass EEPROM and how to pass the RAM as a local variable to it so that I can compile / execute it. 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] Error SubControl.start not connected
Hi All, I am new to the world of TinyOS and am getting this error. Please help. Kartik. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Need help with broadcasting
Hi, I am new with Tiny OS and need help with broadcasting a packet by "all the motes". How am I supposed to do it. Thanks in advance, Kartik. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Writing Failed
Hi All, I am new to the world of TinyOS, and am stuck in the following: I am trying to broadcast and when am trying to do this, my SerialForwarder GUI gives me an error message stating "Writing Failed". Am following the instructions on ch-7 and carried out in the same way, but don't know why I am getting an error. Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help