[Tinyos-help] CCA Threshold for CC1000

2013-02-15 Thread Sid
Hello everyone, I am trying to find out how to change the CCA threshold for CC1000, but could not find anywhere to do that. I found CC2420 has an enum in the CC2420.h file: *CC2420_RSSI_CCA_THR = 8,* but did not find it being used anywhere in the code either. I was looking for a similar enum for

[Tinyos-help] CCA Threshold

2012-07-13 Thread Indranil Chakraborty
Hi, I am new to Tinyos and Tossim. I am finding in difficult to set a new CCA(Clear channel assessment) threshold. The instructions are given as: 1 from TOSSIM import * 2 t = Tossim ([]) 3 r = t. radio () 4 dir(r) 5 [' __class__ ', '__del__ ', '__delattr__ ', '__dict__ ', '__doc__ ', 6

[Tinyos-help] CCA value or threshold value in TOSSIM

2011-03-17 Thread Shamali Gunawardena
How do you get the CCA value or threshold value in TOSSIM. although the tutorial says type threshold() when type it gives the message threshold is not defined. also this does not show in the dir(r) mode Can someone please help me with this. Regards, Shamali

Re: [Tinyos-help] CCA on

2010-12-09 Thread Miklos Maroti
Hi Guys! On the RF230 we perform an instantaneous RSSI based CCA check, but you can enable the hardware CCA which takes around 16 microseconds. Miklos On Thu, Dec 9, 2010 at 7:55 AM, Urs Hunkeler urs.hunke...@epfl.ch wrote:  From my tests on a TelosB (CC2420 radio) it varies linearly between

Re: [Tinyos-help] CCA on

2010-12-09 Thread Urs Hunkeler
Hi, My bad, I mixed CCA (clear channel assessment) up with random back-off time. I think that the original question was rather about the random back-off time (used for the CSMA in the default MAC protocol used by TinyOS), during which (please correct me if I'm wrong here) the channel is

Re: [Tinyos-help] CCA on

2010-12-09 Thread Miklos Maroti
Hi Urs, During the random back-off time we do nothing. After the timer expires, then we do CCA and if the channel is free, then we send the message. If the channel is busy, then we go another round of random back-off (congested). On the TelosB the random back-off time was up to 8 ms the last time

Re: [Tinyos-help] CCA on

2010-12-09 Thread Urs Hunkeler
Hi Miklos, Thanks for the clarification. Cheers, Urs On 12/09/2010 09:50 AM, Miklos Maroti wrote: Hi Urs, During the random back-off time we do nothing. After the timer expires, then we do CCA and if the channel is free, then we send the message. If the channel is busy, then we go another

Re: [Tinyos-help] CCA on

2010-12-09 Thread wasif masood
Thanks fellows, well I was also suspecting it around 8msec. On Thu, Dec 9, 2010 at 9:54 AM, Urs Hunkeler urs.hunke...@epfl.ch wrote: Hi Miklos, Thanks for the clarification. Cheers, Urs On 12/09/2010 09:50 AM, Miklos Maroti wrote: Hi Urs, During the random back-off time we do

Re: [Tinyos-help] CCA on

2010-12-09 Thread Deeksha G Rao Sahib
Can someone please tell me why the initial backoff and congestion backoff values are defined in two places??!! One in CC2420CsmaP.nc and again in DefaultLplP.nc. The hx values used in the calculations in both places are different. What does this mean? In CC2420CsmaP.nc (lines 216 to 229)

[Tinyos-help] CCA on

2010-12-08 Thread wasif masood
Hi all, can anyone tell me how long does a sender sense(in msec) the channel if I use CCA enabled transmission? is this mention anywhere? BR Wasif Masood ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] CCA on

2010-12-08 Thread Eric Decker
On Wed, Dec 8, 2010 at 12:27 PM, wasif masood rwmas...@gmail.com wrote: Hi all, can anyone tell me how long does a sender sense(in msec) the channel if I use CCA enabled transmission? is this mention anywhere? I think that is buried down in the radio h/w but I am not sure. You might want

Re: [Tinyos-help] CCA on

2010-12-08 Thread TheMrOrange
from my tests cc2420 is in rx mode for 8msec if the channel is empty Davide On 08/dic/10, at 20:53, Eric Decker wrote: On Wed, Dec 8, 2010 at 12:27 PM, wasif masood rwmas...@gmail.com wrote: Hi all, can anyone tell me how long does a sender sense(in msec) the channel if I use CCA

Re: [Tinyos-help] CCA on

2010-12-08 Thread Urs Hunkeler
From my tests on a TelosB (CC2420 radio) it varies linearly between 1ms and 10ms (when the channel is free, in principle the radio is already in receive mode while the message is being copied to the radio's memory, but I don't think this is used as the CCA). The duration on an Iris mote

Re: [Tinyos-help] CCA ON/OFF

2010-11-03 Thread Deeksha G Rao Sahib
Thanks. Are you doing any kind off delay measurements with and/or without CCA?? On Sat, October 30, 2010 12:49 am, nandeesh basavaraju wrote: Hi deeksha,wasif I'm making use of CCA by adding this below mentioned . async event void RadioBackoff.requestCca(message_t *msg){ call

Re: [Tinyos-help] CCA ON/OFF

2010-10-29 Thread nandeesh basavaraju
Hi deeksha,wasif I'm making use of CCA by adding this below mentioned . async event void RadioBackoff.requestCca(message_t *msg){ call RadioBackoff.setCca(FALSE); } async event void RadioBackoff.requestCongestionBackoff(message_t *msg){ call RadioBackoff.setCongestionBackoff(0);

Re: [Tinyos-help] CCA ON/OFF

2010-10-28 Thread wasif masood
make it false and comment out the next line initiating the call back, then you it should remain always false. On Thu, Oct 28, 2010 at 7:36 AM, Deeksha Rao Sahib eced...@ece.iisc.ernet.in wrote: Hi All, In tos/chips/cc2420/csma/CC2420CsmaP.nc file there is in line 72: ccaOn= TRUE ; If I

[Tinyos-help] CCA ON/OFF

2010-10-27 Thread Deeksha Rao Sahib
Hi All, In tos/chips/cc2420/csma/CC2420CsmaP.nc file there is in line 72: ccaOn= TRUE ; If I changed this to FALSE, does that means disable all the backofftimes and send the packet immediately without carrier sense? if not then how to disable all the backoff times? --Deeksha -- This message

[Tinyos-help] CCA and CSMA question?? TinyOs 1.x and iMote2 with CC2420

2010-03-18 Thread I HUNG LI
Hi~ I am confusing about CSMA using in TinyOs 1.x with iMote2 I tried to modify the application within the TinyOs 1.x 1.CntToLedsAndRfm 2.RfmToLeds I made my own app with combine 1 and 2 so my app can transmit and receive. My experiment: 1.Using 3 iMote2 to send packets (only using timer to

[Tinyos-help] CCA for cc2420

2010-01-04 Thread 展安东
Dear all, In cc2420 datasheet, if cca_mode = 1, then cca=1 when RSSI_VAL CCA_THR - CCA_HYST, or CCA=0 when RSSI_VAL ≥ CCA_THR. My question is when CCA_THR - CCA_HYST RSSI_VAL CCA_THR, CCA=0 or 1? Why? Thanks and Happy New Year! -- Andong Zhan, State Key Laboratory for Novel Software

Re: [Tinyos-help] CCA on TmoteSky and different channels

2009-11-25 Thread Nicola Franceschini
I use command void setChannel(uint8_t channel) and after command error_t sync() of interface CC2420Config Vikram vik76 ha scritto: Out of my curiosity, can you please explain me how to make motes transmit on different channels? Thanks Vikram On Tue, Nov 24, 2009 at 11:34 PM,

[Tinyos-help] CCA on TmoteSky and different channels

2009-11-24 Thread Nicola Franceschini
Hi all, I have a question: If there is a mote A whit CCA ON, that start to transmit a message when there is already another mote B that is transmitting BUT ON ANOTHER CHANNEL, the CCA of mote A defer the transmission or not? thanks in advance ___

Re: [Tinyos-help] CCA on TmoteSky and different channels

2009-11-24 Thread JeongGil Ko (John)
If the channel is different they should not affect each other. -John On Nov 24, 2009, at 1:04 PM, Nicola Franceschini wrote: If there is a mote A whit CCA ON, that start to transmit a message when ___ Tinyos-help mailing list

[Tinyos-help] CCA TinyOS 1.x ; Visualization for TinyOS2.x

2009-10-24 Thread Nils T. Kannengießer
Hello, I'm searching for the error rate, I guess the CCA value, of a node to figure out radio problems in an area. In TinyOS 2.x it seems to be the value of EnergyIndicator.isReceiving() but I can't find it under TinyOS 1.x . As the visualization TinyViz is not working with TinyOS 2.x I can

Re: [Tinyos-help] CCA vs RTS-CTS

2009-10-15 Thread Philip Levis
On Oct 1, 2009, at 3:23 PM, YangYang wrote: Hi, Are CCA and RTS-CTS the same? Or in another word the RTS-CTS mechanism in TinyOS is replaced by CCA. CCA is CSMA. TinyOS link layers typically do not use RTS/CTS (none in tos/ do). They use CSMA. Phil

[Tinyos-help] CCA and congestion backoff (Tmote Sky)

2009-10-09 Thread Nicola Franceschini
In my nesC application I want to know when the CCA of Tmote Sky find a busy channel, and so congestion backoff time start . Is possible? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

[Tinyos-help] CCA vs RTS-CTS

2009-10-01 Thread YangYang
Hi, Are CCA and RTS-CTS the same? Or in another word the RTS-CTS mechanism in TinyOS is replaced by CCA. I want to do an experiment that nodes switch off control packets and start sending after they sensed that the media is free. In RTS-CTS-DATA-ACK scheme, that means switch off RTS-CTS. In

[Tinyos-help] CCA for CC2420

2009-03-12 Thread Mohammad Sajjad Hossain
Hi,I was wondering how to read the CCA value for CC2420 in tinyos-2.x. I can read the RSSI value using ReadRssi but could not find something similar for CCA. Any hint would be great.. --sajjad ___ Tinyos-help mailing list

Re: [Tinyos-help] CCA for CC2420

2009-03-12 Thread Razvan Musaloiu-E.
Hi! On Thu, 12 Mar 2009, Mohammad Sajjad Hossain wrote: Hi,I was wondering how to read the CCA value for CC2420 in tinyos-2.x. I can read the RSSI value using ReadRssi but could not find something similar for CCA. I think the EnergyIndicator.isReceiving() from CC2420TransmitC is what you

[Tinyos-help] CCA Check in application layer.

2008-07-17 Thread Hui Kang
Dear All: In my tinyos-2.x application, I would like to check the channel before sending a packet. By copying the following code from CC2420TransmitP.nc, I found the congest is always set as TRUE even I have only one mote turn on. Could anyone help to solve this problem or any other smarter way

Re: [Tinyos-help] CCA Check in application layer.

2008-07-17 Thread David Moss
If you want to check the channel *before* sending a packet, you can sample the CCA pin directly. This GeneralIO is provided by HplCC2420PinsC. The code you're looking at here actually sends a packet, if the channel is immediately found to be clear. If you're not doing so already, you must also

Re: [Tinyos-help] CCA Check in application layer.

2008-07-17 Thread Philip Levis
On Jul 17, 2008, at 10:25 AM, Hui Kang wrote: Dear All: In my tinyos-2.x application, I would like to check the channel before sending a packet. By copying the following code from CC2420TransmitP.nc, I found the congest is always set as TRUE even I have only one mote turn on. Could

Re: [Tinyos-help] CCA Check in application layer.

2008-07-17 Thread David Moss
Clear channel assessments are performed automatically by the CC2420 radio stack before any and every transmission, unless you explicitly disable it. In the CC2420 radio, a CSMA strategy is implemented where initial and congestion backoffs are set for random lengths of time to prevent transmissions

[Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
Hi I am trying to use CCA for a node to detect all radio channels around. If CCA is false, then there may be some nodes transmitting packets on corresponding channel. But in my test there has some problem. When a node uses a channel , eg 11, while no other nodes are around, it will report channel

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread David Moss
-help] CCA for channel detection Hi I am trying to use CCA for a node to detect all radio channels around. If CCA is false, then there may be some nodes transmitting packets on corresponding channel. But in my test there has some problem. When a node uses a channel , eg 11, while no other

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
. -David -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *renjie huang *Sent:* Sunday, April 20, 2008 4:17 PM *To:* tinyos-help *Subject:* [Tinyos-help] CCA for channel detection Hi I am trying to use CCA for a node to detect

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread Philip Levis
On Apr 20, 2008, at 5:35 PM, renjie huang wrote: Hi David Yes, I ignored 802.11 interference. Thanks for your advice. That is a much better solution. Figure 6 of SING tech report SING-06-00 plots typical interference strength you can observe for different 802.11 and 802.15.4 pairs:

Re: [Tinyos-help] CCA for channel detection

2008-04-20 Thread renjie huang
Thanks Philip. It is very useful. On 4/20/08, Philip Levis [EMAIL PROTECTED] wrote: On Apr 20, 2008, at 5:35 PM, renjie huang wrote: Hi David Yes, I ignored 802.11 interference. Thanks for your advice. That is a much better solution. Figure 6 of SING tech report SING-06-00 plots

[Tinyos-help] cca detect channel

2008-03-27 Thread renjie huang
Hi I have a problem of channel detection. The radio chip used is CC2420. The code is based on on TinyOS-1.x. I want to use CCA to search or detect other channels. Following is part of my code that related to this: uint16_t count = 0; for(ccaCheck = 0; ccaCheck 400; ccaCheck++)

[Tinyos-help] CCA Threshold

2007-08-09 Thread Mathieu DAVID
Hi, We wanted to know about the procedure to change the *CCA threshold* using tinyOS. We are trying to simulate the scenario from the tutorials in chapter 11. However, the nodes were established, but we could not see the packets received. We attribute this to the default value of CCA if

Re: [Tinyos-help] CCA Threshold

2007-08-09 Thread Philip Levis
On Aug 2, 2007, at 6:39 AM, Mathieu DAVID wrote: Hi, We wanted to know about the procedure to change the *CCA threshold* using tinyOS. We are trying to simulate the scenario from the tutorials in chapter 11. However, the nodes were established, but we could not see the packets received.

RE: [Tinyos-help] CCA value

2007-07-03 Thread JeongKwanhee
Hello! I'm using the micaz to Tinyos 1.1.15 version. In cc2420data sheet, the default value of CCA_THR is -35. From: roberto pagliari [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 11:56 PM To: JeongKwanhee Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] CCA

RE: [Tinyos-help] CCA value

2007-07-03 Thread Aleksandr N. Sadkov
Of JeongKwanhee Sent: Tuesday, July 03, 2007 10:15 AM To: 'roberto pagliari' Cc: tinyos-help@millennium.berkeley.edu Subject: RE: [Tinyos-help] CCA value Hello! I'm using the micaz to Tinyos 1.1.15 version. In cc2420data sheet, the default value of CCA_THR is -35. From: roberto pagliari [mailto

RE: [Tinyos-help] CCA value

2007-07-03 Thread Aleksandr N. Sadkov
PROTECTED] Sent: Tuesday, July 03, 2007 1:38 PM To: 'Aleksandr N. Sadkov' Cc: tinyos-help@Millennium.Berkeley.EDU Subject: RE: [Tinyos-help] CCA value Hello I forgot it. I have one more question. What is range of CCA? I don't know the smallest reset value for CCA. From

Re: [Tinyos-help] CCA value

2007-07-03 Thread roberto pagliari
-- *From:* JeongKwanhee [mailto:[EMAIL PROTECTED] *Sent:* Tuesday, July 03, 2007 1:38 PM *To:* 'Aleksandr N. Sadkov' *Cc:* tinyos-help@Millennium.Berkeley.EDU *Subject:* RE: [Tinyos-help] CCA value Hello I forgot it. I have one more question. What is range of CCA? I don't

[Tinyos-help] CCA value

2007-07-01 Thread JeongKwanhee
Hello all! I knew CCA default value is -32. And I found CCA_MODE that decided whether data received or not. So, if I want to decide CCA Threshold, what I have to do? I think that I just change default value(E0). Is right??? Plz, give me send many email whether it is right or not.

Re: [Tinyos-help] CCA Backoff CC1000

2007-05-09 Thread Benjamin Madore
Ok, So I'm mucking about in CC1000RadioIntM.nc In SpiByteFifo.dataReady I have commented out actions in case PRETX_STATE and in RSSIADC.dataReady I have removed the squelch check, just checking the state. Is this correct? Will I now get no clear channel assessment? On Tue, May 8, 2007 11:32

[Tinyos-help] CCA Backoff CC1000

2007-05-08 Thread Benjamin Madore
Is there a handle in TinyOS 1.x using the CC1000 chip to turn off CCA? Or perhaps a contrib file that uses the radio without CCA? I have Backoff and Congestion Backoff set to 0 (zero) but it still is checking and not transmitting if the channel is in use. I want it to transmit without checking

[Tinyos-help] CCA to Led: Tmote Sky

2007-01-10 Thread giovanni gamba
Hi all, I'm working on Tmote Sky (Boomerang 2.04) and i would like to drive the cca-pin status (ON-OFF) to a led.. so if the radio chip senses the channel busy a led is on and when the channel is free the led is off. Is there a simple method for doing this, modifying the CC2420RadioM or similar

[Tinyos-help] CCA in cc2420

2006-02-22 Thread serbaumo
Hello. i'm working in cc2420RadioM.nc, and what i want to do is that when the board ir receveing something, i would lke to check if there is energy in th channel. To do that i check the CCA pin, with the order TOSH_READ_RADIO_CCA_PIN, but it always returns that the chanel is clear. my question is