[Tinyos-help] bad packets error returned by printf

2012-07-25 Thread Peng Du
Hello everyone, I configured my telosb mote to periodically output some strings using printf() / printfflush(), and the strings are captured from serial port using "java net.tinyos.tools.PrintfClient". However I noticed after a certain period of time, typically a couple of days, the mote stops gi

[Tinyos-help] CC2420 accuracy range

2012-07-19 Thread Peng Du
Hello everyone, The cc2420 data sheet states its RSSI accuracy is -6 to +6 dBm. Does the range represent, e.g. the 95% confidence interval obtained during hardware test, or the standard deviation? I am really interested in finding out what it really represents. Thanks very much and any input woul

Re: [Tinyos-help] interference and RSSI

2011-06-15 Thread Peng Du
uite simple. RSSI is measuring power, it does not matter quite much >> whether it comes from noise, interference or useful signal. >> That is the reason because there is another quality indicator which measures >> signal to noise ratio. >> Cheers! >> Sergio >> >> On

[Tinyos-help] interference and RSSI

2011-06-15 Thread Peng Du
Hello everyone, I always thought the RSSI value read from received packets would fall as the interference grows. However I just found that the reading actually rises when I switch on a commercial interference generator.. Would anyone point out why this is happening? Thanks very much. Regards, P

[Tinyos-help] bitwise operation

2011-06-14 Thread Peng Du
Hi everyone, A quick question: are the bitwise operators in tinyOS the same with the c ones? e.g. & for bitwise AND and ~for NOT. Thanks a lot. Regards, Peng ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berke

[Tinyos-help] Activating reception

2011-06-04 Thread Peng Du
Hi everyone, The datasheet has that the RSSI value should become valid when "receiver has been enabled for at least 8 symbol periods". And the CC2420Power.rxOn() seems to be the command that does the job. My questions is that, if what I said afore was correct, whether calling CC2420Power.rxOn() i

Re: [Tinyos-help] Relationship between noise floor and channel quality

2011-05-31 Thread Peng Du
sh bounds in the performance. But I do not know > whether this is what you have in mind... > Cheers! > Sergio > On Tue, May 31, 2011 at 8:14 PM, Peng Du wrote: >> >> Hello everyone, >> >> I have been wondering the significance of the noise floor (in this >>

[Tinyos-help] Relationship between noise floor and channel quality

2011-05-31 Thread Peng Du
Hello everyone, I have been wondering the significance of the noise floor (in this context, the RSSI value read from the register when no communication is underway). Does it in some way reflect the likelihood that packets sent in certain channel will be successfully received (The Packet Delivery R

[Tinyos-help] event triggered in a strange way

2011-05-29 Thread Peng Du
Hello everyone, I have observed a weird thing: In one module I use CC2420Config interface of a CC2404ControlC component. However an event of the interface in my module is triggered by another module that is using its own instance of the CC2404ControlC. I am confused about why that is happening.

[Tinyos-help] using interface with the same name from different stacks

2011-05-29 Thread Peng Du
Hi everyone, I have a stack under TOSROOT/apps/ , which has its own version of components such as CC2420Config. But I would also like to use some functions of the original version of CC2420Config. How can I do that? I tried adding the "CFLAGS += -I $(TOSROOT)/tos/chips/cc2420/interfaces" in the Ma

[Tinyos-help] cc2420 sensitivity

2010-10-08 Thread Peng Du
Hello. The datasheet of cc2420 states the sensitivity threshold is -94dBm. But when doing noise floor listening (for example the RssiToSerial application under apps/test/cc2420) the reading is usually around -110. So are these readings valid? Many thanks. Regards, Peng _

[Tinyos-help] RssiToSerial sampling rate

2010-09-21 Thread Peng Du
Dear all, I am curious about how frequent the RSSI register is read in the /apps/tests/cc2420/RssiToSerial. I can see from the code that the sampling cycle is controlled using the number of readings rather than the period. So probably there won't be an accurate frequency/ sampling rate. However, i

[Tinyos-help] channel quality

2010-09-20 Thread Peng Du
Hello everyone. I have a rather general question: How the quality of a channel can be assessed (in the context of tinyos, probably RSSI)? Best regards, Peng ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkele

[Tinyos-help] RSSI threshold

2010-09-16 Thread Peng Du
Hi there. I know the sensitivity threshold for CC2420 is -94dbm, but am wondering if there is a reasonable "threshold value" so that when RSSI reaches it, the channel is considered not a suitable for carrying out a communication? Many thanks. Best regards, Peng _

Re: [Tinyos-help] reading RSSI.RSSI_VAL

2010-08-05 Thread Peng Du
it straight away in ur main configuration file, and adding some > clear comments would do it, too. > > > > > On Wed, Aug 4, 2010 at 1:05 PM, Peng Du wrote: > >> Thanks very much for your reply. >> >> I am curious that why it is necessary to create m

[Tinyos-help] reading RSSI.RSSI_VAL

2010-08-03 Thread Peng Du
Hello, According to the datasheet of CC2420 the RSSI value is stored in RSSI.RSSI_VAL register, which has the address of 0x13. I am wondering if there is anyway that I can read the register directly at anytime without using CC2420Packet.getRssi(), which is on a per-packet basis? Thanks very much.

[Tinyos-help] RSSI value update

2010-07-29 Thread Peng Du
Hi. Is the RSSI value in RSSI.RSSI_VAL register only updated when a message is received? Many thanks. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] packets overhearing

2010-07-27 Thread Peng Du
es { > interface CollectionId[uint8_t client]; > > > } > } > > > > 2010/7/27 Peng Du > > Thank you all very much. >> >> To Zied: did you mean using AMSnooperC? >> >> To Obaid: Is there any kind of standard interfaces to identify the

Re: [Tinyos-help] packets overhearing

2010-07-27 Thread Peng Du
ets. > ActiveMessage layer uses this component for receiving packets may filter > messages. > This low component (low = sit very close to the radio) can hear all the > packets, packets targeted for other nodes, broadcast messages etc. > > On Tue, Jul 27, 2010 at 3:23 PM, Peng Du wrote

[Tinyos-help] packets overhearing

2010-07-27 Thread Peng Du
Hello everyone, Is there anyway to let a sensor overhear nearby communications so that it can estimate the crowdedness of the channel? Many thanks! Peng ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.ed

[Tinyos-help] energy detection without Rssi

2010-07-19 Thread Peng Du
Hello. Is there anyway to detect the energy level (and probably the level of utilisation) in a certain channel without reading the RSSI values from the packets exchange? Thanks a lot. Peng ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.ed

Re: [Tinyos-help] reliable communication strategy?

2010-07-18 Thread Peng Du
side of things. I had to modify TOSBase to pass > send acks back to the PC to get enough information to make > it work. > > It would probably be easier for you to reinvent the wheel, > than to try to understand what I did...but there it is... > > MS > > > Peng Du wrote:

[Tinyos-help] reliable communication strategy?

2010-07-17 Thread Peng Du
Hi everyone. My BaseStation periodically sends some info to 3 motes. It then waits for ACKs to carry on further operations. The problem is how I can ensure that the initial info and ACKs are not lost due to collision or whatever problem there could be - Sometimes the motes do get the info so they

[Tinyos-help] How to interpret RSSI reading?

2010-07-11 Thread Peng Du
Hello everyone. As the title says, how is the Rssi reading captured using, for example, the Rssi Demo application in the tutorial supposed to be interpreted into meaningful values? Thanks very much. Peng ___ Tinyos-help mailing list Tinyos-help@millenn

[Tinyos-help] Dissemination synchronisation

2010-06-22 Thread Peng Du
Hi. I would like to let the BaseStation periodically changes its channel and keep the communication with nearby motes (assuming the number and ID of these motes are known). How can I use the Dissemination protocol to let the BaseStation know every other motes are ready to change the channel befor

[Tinyos-help] event in an event?

2010-06-06 Thread Peng Du
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator

[Tinyos-help] informing the motes about channel change

2010-03-08 Thread Peng Du
Hello all, I am looking at the IPBaseStation application. Since driver under $TOSROOT/support/sdk/c/blip/ driver (specifically serial_tun.c) allows the channel to be changed dynamically, is there any way that I can inform the motes about change? P.S. someone suggested that I should write a comp

[Tinyos-help] changing channel with IPBaseStation

2010-03-07 Thread Peng Du
Hello all, I am looking at the IPBaseStation application. Since driver under $TOSROOT/support/sdk/c/blip/driver (specifically serial_tun.c) allows the channel to be changed dynamically, is there any way that I can inform the motes about change? Many thanks. __

[Tinyos-help] passing parameters

2010-03-04 Thread Peng Du
Dear all, This might sound naive - how to send parameters, say channels, to the motes that are not plugged to the desktop? Would something like the IPBaseStation provided with tinyOS do the job? Many thanks! ___ Tinyos-help mailing list Tinyos-help@mill