[Tinyos-help] is this resources good for practical understanding
of TOS
Michael Schippling
schip at santafe.edu
Tue Jun 6 11:07:22 PDT 2006
Never saw it before, but looks interesting.
However TOS was designed to be used with the mica Motes
and has been extended to some other products, like Tmote.
Start with the search page I just sent you. Also look at:
http://www.xbow.com/Products/productsdetails.aspx?sid=3
For learning TOS itself, see the doc/tutorial stuff and
all the demos in the app tree.
Also, please try not to include the entire help digest every
time you send a message...it just clogs up the works.
MS
Sola Famoriyo wrote:
> Thanks for the response , please can anyone advice if the products on
> the website http://www.smileymicros.com/ is equally good for the
> practical understanding of TOS. I would like to have a practical feel of
> the functionalities of TOS and need a constant practise.... all
> comments are welcome...
>
>
> */tinyos-help-request at Millennium.Berkeley.EDU/* wrote:
>
> Send Tinyos-help mailing list submissions to
> tinyos-help at Millennium.Berkeley.EDU
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> or, via email, send a message with subject or body 'help' to
> tinyos-help-request at Millennium.Berkeley.EDU
>
> You can reach the person managing the list at
> tinyos-help-owner at 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. RSSI strength (Rajat Bansal)
> 2. Re: Re: Packet format from PC to base mote through UART
> (Sankar Gorthi)
> 3. Re: RSSI strength (Sankar Gorthi)
> 4. Re: Need help for VM (Philip Levis)
> 5. Re: RSSI strength (Michael Schippling)
> 6. Re: RSSI strength (Rajat Bansal)
> 7. Re: RSSI strength (Sankar Gorthi)
> 8. Re: RSSI strength (Sankar Gorthi)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 6 Jun 2006 10:03:52 +0530 (IST)
> From: Rajat Bansal
> Subject: [Tinyos-help] RSSI strength
> To: tinyos-help at Millennium.Berkeley.EDU
> Message-ID:
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>
> I am trying to print RSSI strength in the recieved broadcast packet.
> First
> i was trying to access in tinyos-1.0 but i came to know that it is not
> possible in this version. I upload my tinyos to 1.15 but i am
> getting the
> value as zero only. Has ne one else came thru similar problem?
>
> -rajat
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 05 Jun 2006 23:39:28 -0500
> From: "Sankar Gorthi"
> Subject: Re: [Tinyos-help] Re: Packet format from PC to base mote
> through UART
> To: "Lei Tang" , "jabdo at site.uottawa.ca"
>
> Cc: tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: text/plain; format=flowed; delsp=yes;
> charset=iso-8859-15
>
> of course, i'm assuming you're using a windows based PC and are using a
> generic serial port access software (MATLAB, java etc.) to write to the
> serial port.
>
> Sankar.
>
> On Mon, 05 Jun 2006 23:35:30 -0500, Sankar Gorthi
> wrote:
>
> > Lei,
> >
> > you're actually right.
> >
> > You need to write to the 7E address.
> >
> > Try sending this message:
> >
> > 7E42 7D5E FFFF 7D5D 05AA 0744 0811 3840 7E
> >
> > Sankar.
> >
> >
> >
> > On Mon, 05 Jun 2006 23:23:41 -0500, Lei Tang wrote:
> >
> >> Hi, Julia
> >>
> >> Thanks for your reply.
> >>
> >> I was using a general serial-port application to send data to
> the mote,
> >> because I want to have my own application to control motes.
> >>
> >> My steps:
> >> Firstly, I created a data file with TOS_Msg type; then the
> application
> >> read
> >> it and sent data to the base mote through serial port; I
> programmed the
> >> base
> >> mote with TOSBase, and tried to check received data in event
> >> UARTReveive.receive.
> >>
> >> Yes, you are right; the length should be 6. But I'm not sure if the
> >> address
> >> should be 0x007e, since I'm trying to send data FROM PC TO MOTE
> through
> >> UART. Anyway, even when I changed the two fields, Msg->data is
> still not
> >> correct.
> >>
> >> I read SimpleCmdM.nc, which is used when injecting packets
> (Lesson 7 in
> >> Tinyos tutorial). It seems that the received data is also
> TOS_Msg type
> >> (see task
> >> void cmdInterpret). I'm really confused.
> >>
> >> Thanks a lot.
> >>
> >> Best,
> >> Lei
> >>
> >> On 6/5/06, jabdo at site.uottawa.ca < jabdo at site.uottawa.ca> wrote:
> >>>
> >>>
> >>> Hi Lei,
> >>>
> >>> Are u trying to send the packet to Micaz using serial Forwarder and
> >>> Broadcast Inject. If not, What format are u using to send it???
> >>> Note: 10 represents the data length right?? so I think it
> should be 6
> >>> and
> >>> not 10. Also, since you are sending the packet to the UART so the
> >>> destination address should be the UART address.
> >>>
> >>>
> >>> My best regards,
> >>>
> >>> Julia
> >>>
> >>>
> >>>
> >>>
> -----------------------------------------------------------------------
> >>> >
> >>> > Hi, all
> >>> >
> >>> > I am trying to send a packet from a PC to a micaZ mote
> through serial
> >>> > cable.
> >>> > The packet looks like:
> >>> >
> >>> > 7e 42 ff ff 0 81 10 f f f f f f a1 21 7e
> >>> > header data crc
> >>> >
> >>> > (I put two random bytes in the crc field, but I think that's
> not a
> >>> big
> >>> > problem since it doesn't filt out CRC-error packet.)
> >>> >
> >>> > At the mote, I read the received data in event TOS_MsgPrt
> >>> > UARTReveive.receive(TOS_MsgPrt Msg) {}. The header is
> correct, but
> >>> > Msg->data[0] is always the last CRC byte, here 0x21, and I
> didn't see
> >>> the
> >>> > data section (0xf) in Msg.
> >>> >
> >>> > Did I make a right packet? How could I send data to base mote
> >>> throught
> >>> > UART
> >>> > correctly?
> >>> >
> >>> > Thanks!
> >>> >
> >>> > Best,
> >>> > Lei Tang
> >>>
> >>>
> >>>
> >
> >
> >
>
>
>
> --
> No opera plot can be sensible, for people do not sing when they are
> feeling sensible. - W. H. Auden
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 05 Jun 2006 23:45:40 -0500
> From: "Sankar Gorthi"
> Subject: Re: [Tinyos-help] RSSI strength
> To: "Rajat Bansal" ,
> tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: text/plain; format=flowed; delsp=yes;
> charset=iso-8859-15
>
> i was able to get it. what seems to be the problem?
>
> all i did was access the message->strength value.
>
> Sankar.
>
> On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal
> wrote:
>
> >
> > I am trying to print RSSI strength in the recieved broadcast packet.
> > First i was trying to access in tinyos-1.0 but i came to know
> that it is
> > not possible in this version. I upload my tinyos to 1.15 but i am
> > getting the value as zero only. Has ne one else came thru similar
> > problem?
> >
> > -rajat
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
> --
> No opera plot can be sensible, for people do not sing when they are
> feeling sensible. - W. H. Auden
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Jun 2006 21:51:00 -0700
> From: Philip Levis
> Subject: Re: [Tinyos-help] Need help for VM
> To: Joe Polastre
> Cc: tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> On May 30, 2006, at 7:07 PM, Joe Polastre wrote:
>
> > Phil Levis can correct me on this, but Phil's ASVM (Mate) runs on
> > Tmote Sky from Moteiv (my company, www.moteiv.com).
>
> It runs on both the mica (mica, mica2, micaZ) and telos (Telos revA,
> Telos revB, and TMote) families. When compiling for the Telos revA
> you have to follow a slightly different build process due to its RAM
> limitations, revB and TMote are no problem. There is support for the
> basic mica sensor board (light/temp), the mica sensor board (the one
> with the sounder, accelerometers, magnetometer, etc.), and the Telos
> sensors.
>
> Phil
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 05 Jun 2006 23:08:19 -0600
> From: Michael Schippling
> Subject: Re: [Tinyos-help] RSSI strength
> To: Rajat Bansal
> Cc: tinyos-help at Millennium.Berkeley.EDU
> Message-ID: <44850DC3.6060702 at santafe.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> By the use of "print" I think you may be trying to get the strength
> on the host PC? If so, it ain't there. It's only available in the
> TOS_Msg structs on the mote end of the world, and is not passed
> over the UART to the host.
>
> Search back on this list for "RSSI" discussions.
> MS
>
>
> Rajat Bansal wrote:
> >
> > I am trying to print RSSI strength in the recieved broadcast packet.
> > First i was trying to access in tinyos-1.0 but i came to know
> that it is
> > not possible in this version. I upload my tinyos to 1.15 but i am
> > getting the value as zero only. Has ne one else came thru similar
> problem?
> >
> > -rajat
> >
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help at Millennium.Berkeley.EDU
> >
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 6 Jun 2006 10:41:29 +0530 (IST)
> From: Rajat Bansal
> Subject: Re: [Tinyos-help] RSSI strength
> To: Sankar Gorthi
> Cc: tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> dear sanskar,
>
> 1) which version of tinyos did u use?
>
> 2) i am attaching my code for recieved packet.
>
> event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
>
> TOS_MsgPtr ret = m;
> IntMsgnew*message = (IntMsgnew *)m->data;
> atomic{receivednode=message->src;}
> // call ADC.getData();
> // call ADCBattery.getData();
> updateNeighbors(message->src,message->val,message->seqNo);
> dbg(DBG_USR1,"strength %d",m->strength); --> this is how i am trying
> to access...
> // printNeighbors();
> call Leds.redToggle();
> ret = m;
>
> this is a simple code i have written for recieved packet..i dont
> know wat
> seems to be the problem. can u make out some mistake?
>
> -rajat
>
>
> On Mon, 5 Jun 2006, Sankar Gorthi wrote:
>
> > i was able to get it. what seems to be the problem?
> >
> > all i did was access the message->strength value.
> >
> > Sankar.
> >
> > On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal wrote:
> >
> >>
> >> I am trying to print RSSI strength in the recieved broadcast
> packet. First
> >> i was trying to access in tinyos-1.0 but i came to know that it
> is not
> >> possible in this version. I upload my tinyos to 1.15 but i am
> getting the
> >> value as zero only. Has ne one else came thru similar problem?
> >>
> >> -rajat
> >>
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> Tinyos-help at Millennium.Berkeley.EDU
> >>
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
> >
> >
>
> --
> *************************************************************************
> * "Physics is like sex: sure, it may give some practical results, but *
> * that's not why we do it." - Richard Feynman. *
> * *
> * *
> *************************************************************************
>
>
> ------------------------------
>
> Message: 7
> Date: Tue, 06 Jun 2006 00:20:08 -0500
> From: "Sankar Gorthi"
> Subject: Re: [Tinyos-help] RSSI strength
> To: "Rajat Bansal"
> Cc: tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: text/plain; format=flowed; delsp=yes;
> charset=iso-8859-15
>
> well,
>
> this is my (a colleague's) code:
>
> Receive.receive(TOS_MsgPtr m)
> IntMsg *message=(IntMsg*)buffer.data;
> message->val=m->strength;
> ....
>
> doesn't look too different.
>
> although our experiments were done on the actual motes and we broadcast
> the value in a message packet as you can see.
>
> Sankar.
>
> On Tue, 06 Jun 2006 00:11:29 -0500, Rajat Bansal
> wrote:
>
> > dear sanskar,
> >
> > 1) which version of tinyos did u use?
> >
> > 2) i am attaching my code for recieved packet.
> >
> > event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
> >
> > TOS_MsgPtr ret = m;
> > IntMsgnew*message = (IntMsgnew *)m->data;
> > atomic{receivednode=message->src;}
> > // call ADC.getData();
> > // call ADCBattery.getData();
> > updateNeighbors(message->src,message->val,message->seqNo);
> > dbg(DBG_USR1,"strength %d",m->strength); --> this is how i am
> > trying to access...
> > // printNeighbors();
> > call Leds.redToggle();
> > ret = m;
> >
> > this is a simple code i have written for recieved packet..i dont
> know
> > wat seems to be the problem. can u make out some mistake?
> >
> > -rajat
> >
> >
> > On Mon, 5 Jun 2006, Sankar Gorthi wrote:
> >
> >> i was able to get it. what seems to be the problem?
> >>
> >> all i did was access the message->strength value.
> >>
> >> Sankar.
> >>
> >> On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal
> >> wrote:
> >>
> >>> I am trying to print RSSI strength in the recieved broadcast
> packet.
> >>> First i was trying to access in tinyos-1.0 but i came to know
> that it
> >>> is not possible in this version. I upload my tinyos to 1.15 but
> i am
> >>> getting the value as zero only. Has ne one else came thru similar
> >>> problem?
> >>> -rajat
> >>> _______________________________________________
> >>> Tinyos-help mailing list
> >>> Tinyos-help at Millennium.Berkeley.EDU
> >>>
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >>
> >>
> >
>
>
>
> --
> No opera plot can be sensible, for people do not sing when they are
> feeling sensible. - W. H. Auden
>
>
>
> ------------------------------
>
> Message: 8
> Date: Tue, 06 Jun 2006 00:20:54 -0500
> From: "Sankar Gorthi"
> Subject: Re: [Tinyos-help] RSSI strength
> To: "Rajat Bansal"
> Cc: tinyos-help at millennium.berkeley.edu
> Message-ID:
> Content-Type: text/plain; format=flowed; delsp=yes;
> charset=iso-8859-15
>
> and oh - tinyos-1.1.0
>
> Sankar.
>
>
> On Tue, 06 Jun 2006 00:20:08 -0500, Sankar Gorthi
> wrote:
>
> > well,
> >
> > this is my (a colleague's) code:
> >
> > Receive.receive(TOS_MsgPtr m)
> > IntMsg *message=(IntMsg*)buffer.data;
> > message->val=m->strength;
> > ....
> >
> > doesn't look too different.
> >
> > although our experiments were done on the actual motes and we
> broadcast
> > the value in a message packet as you can see.
> >
> > Sankar.
> >
> > On Tue, 06 Jun 2006 00:11:29 -0500, Rajat Bansal
> > wrote:
> >
> >> dear sanskar,
> >>
> >> 1) which version of tinyos did u use?
> >>
> >> 2) i am attaching my code for recieved packet.
> >>
> >> event TOS_MsgPtr ReceiveIntMsg.receive(TOS_MsgPtr m) {
> >>
> >> TOS_MsgPtr ret = m;
> >> IntMsgnew*message = (IntMsgnew *)m->data;
> >> atomic{receivednode=message->src;}
> >> // call ADC.getData();
> >> // call ADCBattery.getData();
> >> updateNeighbors(message->src,message->val,message->seqNo);
> >> dbg(DBG_USR1,"strength %d",m->strength); --> this is how i am
> >> trying to access...
> >> // printNeighbors();
> >> call Leds.redToggle();
> >> ret = m;
> >>
> >> this is a simple code i have written for recieved packet..i dont
> know
> >> wat seems to be the problem. can u make out some mistake?
> >>
> >> -rajat
> >>
> >>
> >> On Mon, 5 Jun 2006, Sankar Gorthi wrote:
> >>
> >>> i was able to get it. what seems to be the problem?
> >>>
> >>> all i did was access the message->strength value.
> >>>
> >>> Sankar.
> >>>
> >>> On Mon, 05 Jun 2006 23:33:52 -0500, Rajat Bansal
> >>> wrote:
> >>>
> >>>> I am trying to print RSSI strength in the recieved broadcast
> packet.
> >>>> First i was trying to access in tinyos-1.0 but i came to know
> that it
> >>>> is not possible in this version. I upload my tinyos to 1.15
> but i am
> >>>> getting the value as zero only. Has ne one else came thru similar
> >>>> problem?
> >>>> -rajat
> >>>> _______________________________________________
> >>>> Tinyos-help mailing list
> >>>> Tinyos-help at Millennium.Berkeley.EDU
> >>>>
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>>
> >>>
> >>>
> >>>
> >>
> >
> >
> >
>
>
>
> --
> No opera plot can be sensible, for people do not sing when they are
> feeling sensible. - W. H. Auden
>
>
>
> ------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
> End of Tinyos-help Digest, Vol 38, Issue 16
> *******************************************
>
>
>
>
> *Famoriyo Olusola O <http://www.solafamoriyo.8k.com/> *
> *Halmstad University,*
> *Computer Systems Engineering*
> *B.Sc,OND, CCNP, CCNA, A+, MCSE, MCDBA, MCP*
> *tel: +46739096106*
> **
>
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice.
> <http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>
> PC-to-Phone calls for ridiculously low rates.
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list