Message 4: Re: problem in implementing BLIP/RPL Hi Shrikant,
If you go for downloading BLIP on svn, the code is given under the browse option in trunk and branches. I was using the BLIP/RPL on tmote and it was working with branches. The link is given below. http://code.google.com/p/tinyos-main/source/browse/#svn%2Fbranches So you can download the code and check BLIP/RPL. Regards Fahad ________________________________________ From: tinyos-help-boun...@millennium.berkeley.edu [tinyos-help-boun...@millennium.berkeley.edu] on behalf of tinyos-help-requ...@millennium.berkeley.edu [tinyos-help-requ...@millennium.berkeley.edu] Sent: Thursday, May 19, 2011 3:13 PM To: tinyos-help@millennium.berkeley.edu Subject: Tinyos-help Digest, Vol 97, Issue 64 Send Tinyos-help mailing list submissions to tinyos-help@millennium.berkeley.edu To subscribe or unsubscribe via the World Wide Web, visit https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help or, via email, send a message with subject or body 'help' to tinyos-help-requ...@millennium.berkeley.edu You can reach the person managing the list at tinyos-help-ow...@millennium.berkeley.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Tinyos-help digest..." Today's Topics: 1. About ctp_routing_header_t* getHeader(message_t* ONE m) (???) 2. TinyOS,Labview (giuseppe tummino) 3. Re: Concerning RSSI values in TOSSIM (Mohamed Maalej) 4. Re: problem in implementing BLIP/RPL on Iris (Shrikant U Hallur) 5. Re: problem in implementing BLIP/RPL on Iris (Miklos Maroti) 6. Re: GraphViz (Romain Bornet) 7. Re: TinyOS,Labview (Reinhard Berlach) ---------------------------------------------------------------------- Message: 1 Date: Thu, 19 May 2011 14:27:35 +0800 From: ??? <cpp...@gmail.com> Subject: [Tinyos-help] About ctp_routing_header_t* getHeader(message_t* ONE m) To: Tinyos-help@millennium.berkeley.edu Message-ID: <banlktik2o4auzpog_5z_f5upjagnzr6...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" ctp_routing_header_t* getHeader(message_t* ONE m) { return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call BeaconSend.maxPayloadLength()); } The code above is from Collection Tree Protocol. What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE m ) for me? Thanks. -- Regards, Xiaozong Cui -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110519/b28399c1/attachment-0001.htm ------------------------------ Message: 2 Date: Thu, 19 May 2011 11:29:52 +0200 From: giuseppe tummino <peppetumm...@gmail.com> Subject: [Tinyos-help] TinyOS,Labview To: tinyos-help@millennium.berkeley.edu Message-ID: <banlktinfq3rgae5sufoezfrfqjgac80...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Good Morning , we are two students in Master Degree in Automation Engineering at University of Catania (Sicily,Italy). We are working on project about wireless sensor network with IRIS mote of Crossbow. We can establish connection between motes and PC(labview) using VISA tools and we can read raw data (maybe in hexadecimal) coming from a mote but we can't read out only the necessary information we need (the content of the am packet). We succeed in all this stuff in a linux environment (using Tinyos, messageReader, serialForwarder,Listener Etc) but the project requests that we use labview under Windows. Can you give us some advices?? Greetings Tummino Giuseppe Universit? degli Studi di Catania Master Degree in Automation Engineering And Control of Complex Systems. -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110519/ef30a6bc/attachment-0001.htm ------------------------------ Message: 3 Date: Thu, 19 May 2011 12:44:27 +0200 From: Mohamed Maalej <medmaa...@gmail.com> Subject: Re: [Tinyos-help] Concerning RSSI values in TOSSIM To: Tinyos-help@millennium.berkeley.edu Message-ID: <BANLkTin_Yq8wzqjKMUmBLErwu=r6ube...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" hi, I still have no solution, does anyone have ? Best regards 2011/5/18 5 MAHIEDDINE Imene <i_mahiedd...@esi.dz> > hello > I had this problem and it resolved by adding this line in the makefile > CFLAGS += -I$(TOSDIR)/chips/cc2420/packet > > but after you will get others instead this one. they have relation > with CC2420.h ..., if you find how to resolve this one tell me please. > I hope the best for you > > 2011/5/18, Mohamed Maalej <medmaa...@gmail.com>: > > Hi all, > > > > I am using TinyOS 2.1.0 under Xubuntos in my project. I want to get the > RSSI > > values in my simulation using TOSSIM as simulator. I used the command > call > > CC2420Packet.getRssi(msg) > > The component is successfully buit. But when I built it for the > simulation > > (make micaz sim), i get an error saying that the component CC2420PacketC > not > > found. > > > > Any help please for this problem ? > > > > Thanks in advance, > > > > -- > > Mohamed Ma?lej > > T?l: 96481112 > > > -- Mohamed Ma?lej T?l: 96481112 -------------- next part -------------- An HTML attachment was scrubbed... URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20110519/ee7f972e/attachment-0001.htm ------------------------------ Message: 4 Date: Thu, 19 May 2011 17:09:05 +0530 From: Shrikant U Hallur <shrik...@ece.iisc.ernet.in> Subject: Re: [Tinyos-help] problem in implementing BLIP/RPL on Iris To: "Miklos Maroti" <mmar...@math.u-szeged.hu> Cc: 6panv...@ece.iisc.ernet.in, tinyos-help@millennium.berkeley.edu Message-ID: <b1920ffd0624c32814ffb55a8594d253.squir...@www.ece.iisc.ernet.in> Content-Type: text/plain;charset=iso-8859-1 Hi Miklos, We are working on BLIP-rpl code ... which we downloaded from Tinyos svn repo tinyos-main.googlecode.com/svn/trunk/ tinyos-main-read-only .. version we are using is r5510.... In this version BLIP uses cc2420 specific components at 2 files IPDispatchC and Ieee154addressC, and i changed at these two places and used Ieee154MessageC and ActiveMessageAddressC respectively.. but this code is not working for IRIS .. while analysing this i found that rf230 radio is not starting at all... In the file RF230DriverlayerP.nc the state of command 'cmd' is not changing to CMC_SIGNAL_DONE it is remaining CMD_NONE only.... and hence this component not signalling RadioState.done() to upper component... i am not understanding why radio state is not changing ... do i need to call any other additional command other than splitControl.start()? to make radio start?... can i get any documents on rf230 radio stack implementation which helps me to understand its implementation?.... please help... Thanks&Regards, Shrikant U Hallur Hi Shrikant, > > I never used BLIP, but I was trying to get the RF230 driver in shape > to support BLIP. Can you point to which version of BLIP are you using? > Where are you downloading it? > > As far as I know, Ieee154MessageC worked on IRIS. > > Best, > Miklos > > On Thu, May 12, 2011 at 11:50 AM, Shrikant U Hallur > <shrik...@ece.iisc.ernet.in> wrote: >> >> Hello All, >> >> ? ? ?I am Shrikant from IISc Bangalore. i am trying to port BLIP/RPL >> on Iris motes, I went through the code and found that code is >> exclusivly written for CC2420 radio unlike the earlier BLIP/Hydro >> where we could able to implement BLIP on Iris... So i did the >> following changes in the BLIP/RPL code in order to make it work on >> Iris. >> >> ? ? ? I found that in BLIP code two files 'IPDispatchC.nc' and >> 'Ieee154AddressC.nc' are wired to CC2420 specific components, i >> changed those wiring and wired IPDispatchP to Ieee154MessageC >> instead of CC2420RadioC and wired Ieee154AddressP to >> ActiveMessageAddressC instead of CC2420ControlC, (same way as in >> earlier BLIP/Hydro code) and made correspondent changes in there >> interfaces also.. >> >> ? ? The modified code works well with TelosB motes, i can able to ping >> motes successfully, but code is not working for Iris, it was >> compilling successfully but Iris mote is not sending any kind of >> messages. >> >> ? ? ?While analysing the problem i found IPDispatchP is not getting >> 'RadioControl.startDone' event,but it is successfully calling >> RadioControl.start command to Ieee154MessageC. That means to say >> Ieee154MessageC component found under /tos/platforms/iris/ is not >> sending the required event.... is the available Ieee154MessageC in >> Iris is proper working code?.. or i am missing something in this >> porting process?.. ?and which is making existing Ieee154MessageC not >> to work correctly?... >> >> ? ? ?Please help me in this... is there anybody working in making >> BLIP/RPL code independent of platforms? or is ther any recent >> version which already have this?... kindly help... >> >> >> Regards, >> Shrikant U Hallur >> IISC, Bangalore. >> >> >> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------ Message: 5 Date: Thu, 19 May 2011 13:50:48 +0200 From: Miklos Maroti <mmar...@math.u-szeged.hu> Subject: Re: [Tinyos-help] problem in implementing BLIP/RPL on Iris To: Shrikant U Hallur <shrik...@ece.iisc.ernet.in> Cc: 6panv...@ece.iisc.ernet.in, tinyos-help@millennium.berkeley.edu Message-ID: <BANLkTi=ovykbuy1chtmkhdhrgzyqvsf...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi Shrikant, Only the SplitControl.start is needed to start the radio stack, nothing special. Can you verify that SplitControl.start is called? Does this version of BLIP works on TelosB motes for you? Best, Miklos On Thu, May 19, 2011 at 1:39 PM, Shrikant U Hallur <shrik...@ece.iisc.ernet.in> wrote: > Hi Miklos, > > ? ? We are working on BLIP-rpl code ... which we downloaded from Tinyos > svn repo ?tinyos-main.googlecode.com/svn/trunk/ tinyos-main-read-only > .. version we are using is r5510.... > > ? ? ?In this version BLIP uses cc2420 specific components at 2 files > IPDispatchC and Ieee154addressC, and i changed at these two places > and used Ieee154MessageC and ActiveMessageAddressC respectively.. > but this code is not working for IRIS .. while analysing this i > found that rf230 radio is not starting at all... In the file > RF230DriverlayerP.nc the state of command 'cmd' is not changing to > CMC_SIGNAL_DONE it is remaining CMD_NONE only.... and hence this > component not signalling RadioState.done() to upper component... i > am not understanding why radio state is not changing ... do i need > to call any other additional command other than > splitControl.start()? ?to make radio start?... can i get any > documents on rf230 radio stack implementation which helps me to > understand its implementation?.... please help... > > > Thanks&Regards, > Shrikant U Hallur > > > ?Hi Shrikant, >> >> I never used BLIP, but I was trying to get the RF230 driver in shape >> to support BLIP. Can you point to which version of BLIP are you using? >> Where are you downloading it? >> >> As far as I know, Ieee154MessageC worked on IRIS. >> >> Best, >> Miklos >> >> On Thu, May 12, 2011 at 11:50 AM, Shrikant U Hallur >> <shrik...@ece.iisc.ernet.in> wrote: >>> >>> Hello All, >>> >>> ? ? ?I am Shrikant from IISc Bangalore. i am trying to port BLIP/RPL >>> on Iris motes, I went through the code and found that code is >>> exclusivly written for CC2420 radio unlike the earlier BLIP/Hydro >>> where we could able to implement BLIP on Iris... So i did the >>> following changes in the BLIP/RPL code in order to make it work on >>> Iris. >>> >>> ? ? ? I found that in BLIP code two files 'IPDispatchC.nc' and >>> 'Ieee154AddressC.nc' are wired to CC2420 specific components, i >>> changed those wiring and wired IPDispatchP to Ieee154MessageC >>> instead of CC2420RadioC and wired Ieee154AddressP to >>> ActiveMessageAddressC instead of CC2420ControlC, (same way as in >>> earlier BLIP/Hydro code) and made correspondent changes in there >>> interfaces also.. >>> >>> ? ? The modified code works well with TelosB motes, i can able to ping >>> motes successfully, but code is not working for Iris, it was >>> compilling successfully but Iris mote is not sending any kind of >>> messages. >>> >>> ? ? ?While analysing the problem i found IPDispatchP is not getting >>> 'RadioControl.startDone' event,but it is successfully calling >>> RadioControl.start command to Ieee154MessageC. That means to say >>> Ieee154MessageC component found under /tos/platforms/iris/ is not >>> sending the required event.... is the available Ieee154MessageC in >>> Iris is proper working code?.. or i am missing something in this >>> porting process?.. ?and which is making existing Ieee154MessageC not >>> to work correctly?... >>> >>> ? ? ?Please help me in this... is there anybody working in making >>> BLIP/RPL code independent of platforms? or is ther any recent >>> version which already have this?... kindly help... >>> >>> >>> Regards, >>> Shrikant U Hallur >>> IISC, Bangalore. >>> >>> >>> >>> >>> -- >>> This message has been scanned for viruses and >>> dangerous content by MailScanner, and is >>> believed to be clean. >>> >>> >> >> -- >> This message has been scanned for viruses and >> dangerous content by MailScanner, and is >> believed to be clean. >> >> > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > ------------------------------ Message: 6 Date: Thu, 19 May 2011 13:59:06 +0200 From: Romain Bornet <bornet.r...@gmail.com> Subject: Re: [Tinyos-help] GraphViz To: amel leyla <m198...@hotmail.fr> Cc: tinyos-help@millennium.berkeley.edu Message-ID: <BANLkTikNxkWbyn5Kqb4i3=nmgzhb0ix...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi, >> I would like to know if i must install this GraphViz directly on my host or >> on the VirtualBox. If you, as you wrote, you "work & program" in your VirtualBox environment then you'll have to install Graphviz on your Virtualbox *guest* machine. This would make no sense to install it on your host machine... Programs installed on your host are not visible from your guest/Virtualbox. >> i would like to know how to? visualized the results What kind of results do you want to visualize ? Graphviz and the tutorial you mentioned are not for visualizing data (e.g. data collected by your program running on the mote) but to generate a graph of your application components (= graphical representation of your code). Is it really what you want to do ? Romain On Wed, May 18, 2011 at 7:03 PM, amel leyla <m198...@hotmail.fr> wrote: > > Hi there, > > My project correctly work? today?? but i would like to know how to? > visualized the results . I have read the part of tutorial tinyos "Visualizing > a Component Graph"? also > I have download Graphviz from internet. But i have problem. > I work on the virtual machine, i have install? VirtualBox-4.0.4-70112-Win? my > host is windows 7. I program with tinyos 2.x > I would like to know if i must install this GraphViz directly on my host or > on the VirtualBox or i should install another one. > ?Really i'm totally confused > " I need to know how to visualize my results on the virtualbox? where i work > & program." > > please help > Regards > Amel, > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ------------------------------ Message: 7 Date: Thu, 19 May 2011 15:13:03 +0200 From: Reinhard Berlach <reinhard.berl...@student.tugraz.at> Subject: Re: [Tinyos-help] TinyOS,Labview To: tinyos-help@millennium.berkeley.edu Message-ID: <4dd5175f.8060...@student.tugraz.at> Content-Type: text/plain; charset=ISO-8859-15 Am 2011-05-19 11:29, schrieb giuseppe tummino: > Good Morning , > we are two students in Master Degree in Automation Engineering at University > of Catania (Sicily,Italy). > We are working on project about wireless sensor network with IRIS mote of > Crossbow. > > > We can establish connection between motes and PC(labview) using VISA tools > and we can read raw data (maybe in hexadecimal) coming from a mote but > we can't read out only the necessary information we need (the content of the > am packet). > > We succeed in all this stuff in a linux environment (using Tinyos, > messageReader, serialForwarder,Listener Etc) but the project requests that > we use labview under Windows. > Maybe U can use a TCP/IP Socket to connect to the SerialForwarder and get your messages from there, or build your own java program that forwards the data to a socket, which can communicate with Labview. Greez Reinhard > Can you give us some advices?? > > Greetings > > Tummino Giuseppe > Universit? degli Studi di Catania > Master Degree in Automation Engineering And Control of Complex Systems. > -- Reinhard Berlach bakk.techn. reinhard.berl...@student.tugraz.at The only thing necessary for the triumph of evil is good men to do nothing. ------------------------------ _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help End of Tinyos-help Digest, Vol 97, Issue 64 ******************************************* _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help