lolive...@ipt.pt
No dia 18 de Set de 2012 09:01, <tinyos-help-requ...@millennium.berkeley.edu>
escreveu:

> 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. ChipSpiResource SPI release is never aborted in
>       CC2420TransmitP.nc (Xiaohui Liu)
>    2. Re: Neighbor Cache (Eric Decker)
>    3. Re: make channel switch delay deterministic on TelosB
>       (Xiaohui Liu)
>    4. Re: how to use IEEE 802.15.4 layer in iris motes in any
>       application (mamta_b)
>    5. WSN testbeds (wasif masood)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 17 Sep 2012 16:44:27 -0400
> From: Xiaohui Liu <whu...@gmail.com>
> Subject: [Tinyos-help] ChipSpiResource SPI release is never aborted in
>         CC2420TransmitP.nc
> To: Tinyos-Help <tinyos-help@millennium.berkeley.edu>
> Message-ID:
>         <CAFxSfzhj7cP4vo2h8_=
> wsde2uobto46altjo6zkfwsv0qor...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi everyone,
>
> CC2420TransmitP uses ChipSpiResource interface to keep hold of SPI bus when
> it is expecting ACK. However, from the
> code, ChipSpiResource.attemptRelease() is only called in signalDone():
>
> *  void signalDone( error_t err ) {*
> *    atomic m_state = S_STARTED;*
> *    abortSpiRelease = FALSE;*
> *    call ChipSpiResource.attemptRelease();*
> *    signal Send.sendDone( m_msg, err );*
> *  }*
> abortSpiRelease is always FALSE when ChipSpiResource.attemptRelease() is
> called, which in turn signals the following:
> *  async event void ChipSpiResource.releasing() {*
> *    if(abortSpiRelease) {*
> *      call ChipSpiResource.abortRelease();*
> *    }*
> *  }*
> Because abortSpiRelease is FALSE, ChipSpiResource.abortRelease() is never
> called.
>
> The only place that abortSpiRelease is set TRUE is after the SFD is first
> triggered:
> *        if ( (call CC2420PacketBody.getHeader( m_msg ))->fcf & ( 1 <<
> IEEE154_FCF_ACK_REQ ) ) {*
> *          // This is an ack packet, don't release the chip's SPI bus
> lock.*
> *          abortSpiRelease = TRUE;*
> *        }*
> *        releaseSpiResource();*
> Should  *releaseSpiResource()* be replaced with *call
> ChipSpiResource.abortRelease()* here? Any response is appreciated.
>
> --
> -Xiaohui Liu
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120917/6261ab40/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Mon, 17 Sep 2012 14:45:29 -0700
> From: Eric Decker <cire...@gmail.com>
> Subject: Re: [Tinyos-help] Neighbor Cache
> To: Carlos Neto <carlneto2...@gmail.com>
> Cc: tinyos-help@millennium.berkeley.edu
> Message-ID:
>         <CAMdX_2D-J-LMAF=
> zgnvwcsaz+8tpmgktqynwguyfqnof7vj...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Mon, Sep 17, 2012 at 7:40 AM, Carlos Neto <carlneto2...@gmail.com>
> wrote:
>
> > Dear all,
> >
> > Anyone knows if PppRouter app uses 6lowpan neighbor discovery? If yes, it
> > is  possible access to neighbor cache?
> >
>
> I am not aware of an existing interface.   So why don't you add one.   SMOP
>  (simple matter of programming).
>
>
> >
> > Thanks in advance.
> > Cheers
> >
> > Carlos Neto
> >
> >
> >
> > _______________________________________________
> > 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120917/c2af0e88/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Mon, 17 Sep 2012 18:30:58 -0400
> From: Xiaohui Liu <whu...@gmail.com>
> Subject: Re: [Tinyos-help] make channel switch delay deterministic on
>         TelosB
> To: Tinyos-Help <tinyos-help@millennium.berkeley.edu>
> Message-ID:
>         <
> cafxsfzjge+cq7d8dsf4soardcmdpnduk9xua3a+gj1lczap...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi everyone,
>
> I have been stuck by this issue for quite a few days and tried many
> options. Still, none of them works as
> PIP<http://www.cse.unl.edu/~zzhong/F12CSCE990/paper/PIPMACSenSys10.pdf
> >does.
> Can anyone please help?
>
> On Fri, Sep 14, 2012 at 1:20 AM, Xiaohui Liu <whu...@gmail.com> wrote:
>
> > Hi,
> >
> > I removed the default resource arbitration of SPI bus. More specifically,
> > all SPI resources are provided by a single instance of CC2420SpiC. SPI
> > resource is only requested for the first time, after that, it is never
> > released.
> >
> > But CC2420ReceiveP gets stuck. In particular, calls to RXFIFO.beginRead()
> > or RXFIFO.continueRead() sometimes fail to signal RXFIFO.readDone()
> later.
> >
> > Can anyone please give me some hint on where things may go wrong? Thanks
> > very much in advance.
> >
> >
> > On Tue, Sep 11, 2012 at 2:31 AM, Eric Decker <cire...@gmail.com> wrote:
> >
> >>
> >>
> >> On Mon, Sep 10, 2012 at 11:28 PM, Eric Decker <cire...@gmail.com>
> wrote:
> >>
> >>>
> >>> you might try getting rid of the arbitration that is used by default.
> >>>
> >>> That is make sure that the only thing hanging off USART0 is the CC2420
> >>> and then get rid of the resource arbiter that by default is used on the
> >>> TelosB code.
> >>>
> >>
> >> The simplest way to do this is to use Resource.immediateRequest and then
> >> never release it.
> >>
> >>
> >>>
> >>> As long as your code is running as a task (the default programming
> >>> paradigm in TinyOS (for very good reasons)) you will have potentially
> >>> non-deterministic timing.
> >>>
> >>> It depends on what else has already been posted to the task queue.
> >>>
> >>
> >> The current architecture of the code may not be capable of doing what
> you
> >> are trying to do.  I said "MAY NOT".  It depends on the timing
> >> constraints/requirements that you  need for your algorithm to work
> >> properly.
> >>
> >>
> >>
> >>> eric
> >>>
> >>>
> >>> On Mon, Sep 10, 2012 at 8:44 PM, Xiaohui Liu <whu...@gmail.com> wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> To be precise, my channel switch delay is defined as the interval from
> >>>> when CC2420Config.sync() is called to CC2420Config.syncDone() event is
> >>>> triggered.
> >>>>
> >>>> On Mon, Sep 10, 2012 at 11:02 PM, Xiaohui Liu <whu...@gmail.com>
> wrote:
> >>>>
> >>>>> Hi everyone,
> >>>>>
> >>>>> I'm developing a protocol which requires fast switch between two
> >>>>> channels. But I find the channel switch delay varies significantly
> from 16
> >>>>> to 600 jiffies, causing the sender and receiver out of sync. The
> major
> >>>>> cause is the non-deterministic delay to access the SPI bus, whose
> >>>>> distribution is long-tailed. Can anyone please share his/her
> experience on
> >>>>> how to make channel switch delay more deterministic? This may be a
> basic
> >>>>> issue for multi-channel protocols as discussed in related threads
> here<
> http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2012-May/054737.html>
> and
> >>>>> here<
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2010-October/048160.html
> >
> >>>>> .
> >>>>>
> >>>>> One way I'm trying is to circumvent the resource arbitration of SPI
> >>>>> bus since it is merely used to access cc2420 in TelosB as seen in the
> >>>>> schematic<
> http://webs.cs.berkeley.edu/tos/hardware/telos/telos-revb-2004-09-27.pdf>
> >>>>> .
> >>>>>
> >>>>> Any hint will be sincerely appreciated.
> >>>>>
> >>>>> Cheers,
> >>>>> -Xiaohui Liu
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> -Xiaohui Liu
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Eric B. Decker
> >>> Senior (over 50 :-) Researcher
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Eric B. Decker
> >> Senior (over 50 :-) Researcher
> >>
> >>
> >>
> >
> >
> > --
> > -Xiaohui Liu
> >
>
>
>
> --
> -Xiaohui Liu
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120917/f51b9239/attachment-0001.htm
>
> ------------------------------
>
> Message: 4
> Date: Mon, 17 Sep 2012 22:10:34 -0700 (PDT)
> From: mamta_b <mamtabu...@indiatimes.com>
> Subject: Re: [Tinyos-help] how to use IEEE 802.15.4 layer in iris
>         motes in any application
> To: tinyos-help@millennium.berkeley.edu
> Message-ID: <34445665.p...@talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> ok Jan. I am studying TKN145 and if i get problem i will ask you for the
> help
> if you don't mind. thanks.
>
> Jan Hauer-2 wrote:
> >
> >> thanks Jan for your reply. is it the default tinyos 802.15.4 library and
> >> what
> >> about the zigbee library what is that?
> >
> > TKN154 is an implementation of the IEEE 802.15.4-2006 MAC, take a look
> > at tos/lib/mac/tkn154/README.txt, where the implementation status is
> > described. The MAC is not the default MAC in TinyOS 2, i.e. you have
> > to add some lines to your Makefile to use it (see README.txt which
> > points to example apps). ZigBee is not covered by TKN154.
> >
> > Jan
> >
> > On Mon, Sep 17, 2012 at 11:20 AM, mamta_b <mamtabu...@indiatimes.com>
> > wrote:
> >>
> >> thanks Jan for your reply. is it the default tinyos 802.15.4 library and
> >> what
> >> about the zigbee library what is that?
> >>
> >> Jan Hauer-2 wrote:
> >>>
> >>> TKN154 is only available on the platforms listed in
> >>> tos/lib/mac/tkn154/README.txt (i.e. not on iris at the moment)
> >>>
> >>> Jan
> >>>
> >>> On Fri, Sep 14, 2012 at 1:25 PM, mamta_b <mamtabu...@indiatimes.com>
> >>> wrote:
> >>>>
> >>>> hi,
> >>>> i want to use ieee 802.15.4 standard phy and mac layer in tinyos
> >>>> applications over iris mote. but there is an application given named
> >>>> tkn154
> >>>> and its library is also present but it uses only cc2420 tranceivers
> i.e
> >>>> micaz , telosb motes. but i want to use iris motes, and applications
> >>>> using
> >>>> ieee 802.15.4 layers. i am confused that how to use ieee 802.15.4 phy
> >>>> and
> >>>> mac layers in our application on iris motes. plz help. thanks.
> >>>> --
> >>>> View this message in context:
> >>>>
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34432532.html
> >>>> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >>>>
> >>>> _______________________________________________
> >>>> Tinyos-help mailing list
> >>>> Tinyos-help@millennium.berkeley.edu
> >>>>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>> _______________________________________________
> >>> Tinyos-help mailing list
> >>> Tinyos-help@millennium.berkeley.edu
> >>>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34441633.html
> >> Sent from the TinyOS - Help mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> Tinyos-help@millennium.berkeley.edu
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > _______________________________________________
> > Tinyos-help mailing list
> > Tinyos-help@millennium.berkeley.edu
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/how-to-use-IEEE-802.15.4-layer-in-iris-motes-in-any-application-tp34432532p34445665.html
> Sent from the TinyOS - Help mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 5
> Date: Tue, 18 Sep 2012 09:58:00 +0200
> From: wasif masood <rwmas...@gmail.com>
> Subject: [Tinyos-help] WSN testbeds
> To: tinyos forum <tinyos-help@millennium.berkeley.edu>
> Message-ID:
>         <
> caobidoe+wvpofl2qsczw5mlfxmhtu0nzlozkanqr3m++ewo...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am looking for some online testbeds to test run my application on the
> real telosb motes. I know about Indirya and Harvard Motelab, are there any
> other such testbeds available for students that I can use online?
>
> Regards!
> Wasif Masood
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120918/ed4ee997/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> 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 113, Issue 36
> ********************************************
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to