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/>
>> <http://sites.google.com/site/jeonggilko/>
>> http://sites.google.com/site/jeonggilko/
>>
>>
>>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to