Actually I was referring to this particular line of Adeel, "receiver sensor
(another sensor) do not show second time receiption of the same packet".





On Sun, Sep 9, 2012 at 11:27 AM, JeongGil Ko <[email protected]> wrote:

> Wasif,
>
> Sorry I thought you were talking to me :)
>
> -John
>
>
> On Sep 9, 2012, at 6:25 PM, JeongGil Ko wrote:
>
> > You can always try to use a packet sniffer to see if packets are in the
> air. Unlike what your email implies, I have not implemented the code and I
> am not debugging anything. I am just suggesting solutions.
> >
> > -John
> >
> > On Sep 9, 2012, at 6:20 PM, wasif masood wrote:
> >
> >>
> >> Also, I am not sure the way you are debugging it, did you make sure
> that the second packet is not droped by the receiver due to duplicate
> receive, in the CC2420Receive Component.
> >>
> >>
> >>
> >> On Sun, Sep 9, 2012 at 4:18 AM, JeongGil Ko <[email protected]>
> wrote:
> >> AJ,
> >>
> >> I don't have the CC2420 specs fully in my head right now but I would
> check if the STXON strobe flushes the TXFIFO after packet transmissions. If
> this is true, an additional STXON will do nothing. Again, you can try and
> follow the state machine implemented in CC2420TransmitP.nc.
> >>
> >> -John
> >>
> >>
> >> On Sep 9, 2012, at 10:25 AM, Adeel Javed wrote:
> >>
> >>> Hi John,
> >>>
> >>> Thanks for your guidance, I am actually implementing a sort of jammer
> when a sensor receives any particular packet, it should start broadcasting
> that same packet number of times (twice is just an example) so that
> neighbours consider the channel busy and stay in silence. Now as you said
> SPI resources must be acquired before second strobe command, it did that
> and didn't load buffer because i read it that STXON strobe transmits the
> last buffered frame. I am not sure where i am going wrong, i am clearing
> CSN pin before making STXON and setting this pin after strobe command.
> >>>
> >>> Is there anything else i can do? any idea will be highly appreciated.
> >>>
> >>> Thank you again for your input.
> >>>
> >>> On Wed, Sep 5, 2012 at 9:22 AM, JeongGil (John) Ko <
> [email protected]> wrote:
> >>> AJ,
> >>>
> >>> Not sure exactly what you're trying to do here... Send the same packet
> twice? In that case, have you tried loading the TXFIFO before the second
> strobe command? Also, you need to make sure that your strobe has the
> resources for the SPI before sending the strobe. If not your strobe, in
> simple words, will not reach the radio. There is a state machine for the
> radio that you need to keep in mind before (and after) issuing a strobe. If
> the radio is not in the proper state the strobe will simple not work.
> Probably looking at tos/chips/cc2420/transmit/CC2420TransmitP.nc may help.
> >>>
> >>> -John
> >>>
> >>> On Wed, Sep 5, 2012 at 1:22 PM, JeongGil (John) Ko <
> [email protected]> wrote:
> >>> AJ,
> >>>
> >>> Not sure exactly what you're trying to do here... Send the same packet
> twice? In that case, have you tried loading the TXFIFO before the second
> strobe command? Also, you need to make sure that your strobe has the
> resources for the SPI before sending the strobe. If not your strobe, in
> simple words, will not reach the radio. There is a state machine for the
> radio that you need to keep in mind before (and after) issuing a strobe. If
> the radio is not in the proper state the strobe will simple not work.
> Probably looking at tos/chips/cc2420/transmit/CC2420TransmitP.nc may help.
> >>>
> >>> -John
> >>>
> >>> On Wed, Sep 5, 2012 at 11:51 AM, Adeel Javed <[email protected]>
> wrote:
> >>> Hi everyone,
> >>>
> >>> I am wondering why this explicit call to STXON strobe is not working.
> As written in the theory  call STXON.strobe() send the last packet saved in
> the buffer. Now in the send.senddone() event function, when i write this
> call this strobe cammand, receiver sensor (another sensor) do not show
> second time receiption of the same packet.
> >>>
> >>> can any one guide me in this regard. Am i using this strobe command
> correctly ( i have disabled CCA).
> >>>
> >>> Thank you.
> >>> with regards,
> >>> AJ
> >>>
> >>> _______________________________________________
> >>> Tinyos-help mailing list
> >>> [email protected]
> >>>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>>
> >>>
> >>>
> >>> --
> >>> JeongGil Ko, Ph.D.
> >>> Researcher
> >>> Electronics and Telecommunications Research Institute (ETRI)
> >>> http://sites.google.com/site/jeonggilko/
> >>>
> >>> --
> >>> JeongGil Ko, Ph.D.
> >>> Researcher
> >>> Electronics and Telecommunications Research Institute (ETRI)
> >>> http://sites.google.com/site/jeonggilko/
> >>>
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> Tinyos-help mailing list
> >> [email protected]
> >>
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >>
> >>
> >>
> >> --
> >> Wasif Masood
> >>
> >
>
>


-- 
Wasif Masood
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to