Re: [Tinyos-help] tos-set-symbols help

2008-07-21 Thread Paul Stickney
For the variable to ever appear in the symbol listing generated by tos-set-symbols, it MUST be in the final symbol table of the generated executable. (Neither enums or defines constitute variables, ever.) > enum{ > symbol_1=1, > symbol_2=2 > }; Enumerations are removed during comp

[Tinyos-help] help please : turn off mote & packet loss rate ?

2008-07-21 Thread fatima zohra
Hi, please i need your help and it's urgent 1) i want to turn off motes (on Tossim, TinyOS 1.x)... for this, i use StdControl.stop() where i stop all the components (timer, genericComm, flash) except Timer.stop() i couldn't find how to stop the other componnents (GenericComm and flash)... i get so

Re: [Tinyos-help] SPI clock phase incorrect (T2 Telos)

2008-07-21 Thread Xiaofan Jiang
Hi Jan, Thank you very much for looking into this. And yes, I see the exact same thing on the oscilloscope (default is ckph=1 and ckpl=0). I also saw the MSP430's guide having that setting to be clock lagging by half cycle. But here is where the problem came from. The SPI specification as

Re: [Tinyos-help] PacketLink

2008-07-21 Thread David Moss
Sorry, not sure why Blaze.h was being included. Please replace all occurrences of #include "Blaze.h" with #include "CC2420.h". You won't need the blaze.h file. FYI, blaze is the project name of another radio stack that uses the CC1100/CC2500 radios. -David -Original Message- From: Da

Re: [Tinyos-help] PacketLink

2008-07-21 Thread David Valencia
s-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > ------ next part -- > A non-text attachment was scrubbed... > Name: DummyReceiveP.nc > Type: application/octet-stream > Size: 209 bytes > Desc: not av

[Tinyos-help] Tx power in tossim and LinkLayerModel 'AID ME PLEASE'

2008-07-21 Thread Nahr ...
Hi all, > > How could I change the Tx power in Tossim simulator > is it by inserting this command in the makfile file: > > > *CFlags = -DCC2420_DEF_RFPower=3 > > > *if it is right --> so the gain model generated by LinkLayerModel > application is wrong because it does not consider this value >

Re: [Tinyos-help] PacketLink

2008-07-21 Thread David Moss
By default, the base station will filter out duplicate packets just like any other node. It will not display the retransmission attempts. I've attached a few files you can drop into your tos/chips/cc2420/unique directory that will bypass the UniqueReceive layer if RECEIVE_HISTORY_SIZE = 0. This

[Tinyos-help] PacketLink

2008-07-21 Thread David Valencia
When using the PacketLink interface, and a node requires retransmission of a packet, if a BaseStation is being used to monitor network activity will the BaseStation see all of the retransmission attempts? As a simple test, I setup one node to transmit a packet using: call PacketLink.setRetries(&

Re: [Tinyos-help] Injecting ADC readings with TOSSIM in TinyOS2.x

2008-07-21 Thread De-MonHell
it could interest me. cause i'm developing a telosb application for my thesis and in this application i need to read value from the various sensor. as debug a real network of node isn't simple, simulations with TOSSIM are the must. But fake the value of the sensors in the simulation from the

Re: [Tinyos-help] Injecting ADC readings with TOSSIM in TinyOS2.x

2008-07-21 Thread Zainul M Charbiwala
Hi Raymond, Thanks for your reply. Yes, you extension would be really helpful. If you could post it or add it to the repository, I can work off it and try to use it. Thanks again, Zainul. On Mon, Jul 21, 2008 at 6:25 AM, Raymond Paxton <[EMAIL PROTECTED]> wrote: > I have a working extension fo

Re: [Tinyos-help] remaining mote power

2008-07-21 Thread Michael Schippling
In short. No. Battery voltage may give an indication of near-death batteries but it's quite dependent on the actual chemistry and load conditions. If you measure the voltage during some high-current activity you might be able to infer their condition if you always use the same type of battery. MS

Re: [Tinyos-help] max data send rate with AMSend.send

2008-07-21 Thread Michael Schippling
Here's my findings from a few years ago, with the proviso that my micaZ experiments might have been limited by the serial baud rate rather than radio issues: http://www.etantdonnes.com/Motes/report_mica2/ MS [EMAIL PROTECTED] wrote: > Hi * > > I tested how fast I could send messangess w

[Tinyos-help] Temperature data from the MTS300 sensor board (TinyOS 1.x and 2.x)

2008-07-21 Thread afuba edwin
Hi all, i have trouble getting data from the temperature sensor on the MTS300 sensor board in both tinyOS 1.x and 2.x. I get values from all the other sensors, but a zero for temperature and i can't figure out why. The code i used is shown below: TinyOS 1.x: static void start() {

[Tinyos-help] tos-set-symbols help

2008-07-21 Thread De-MonHell
Hi all, i'm an italian student developing a tinyos based project for my master degree thesis. As my application need to have some symbol set at deploy time (like TOS_NODE_ID and some COLLECTION and DISSEMINATION id ), i'm trying to use tos-set-symbols. But i don't understand which kind of vari

Re: [Tinyos-help] SPI clock phase incorrect (T2 Telos)

2008-07-21 Thread Jan Hauer
With the default configuration (that you use) I verified in the debugger that in Usart.setModeSpi (in HplMsp430Usart0P.nc) the USART Transmit Control Register U0TCTL is set to 0xA3, i.e. ckph and ckpl flags are set correctly. With this configuration (ckph=1, ckpl = 0) data is written at falling e

[Tinyos-help] Injecting ADC readings with TOSSIM in TinyOS2.x

2008-07-21 Thread Raymond Paxton
I have a working extension for TOSSIM in TinyOS2.x that allows for injecting ADC readings from the MTS300 sensorboard. I haven't had time to write any documentation on it but if there is a demand for it I can release it to the community as is. There is one bug in the code when reading from Temper

[Tinyos-help] Retransmissions at Application Layer

2008-07-21 Thread ram kishore
Hi all, A transmits Msg to B. B sends Ack to A. Meanwhile,on otherside I have to switch the transmitter(A side) to Receiving mode and wait for few milli seconds.If I get Ack i will transmit next packet else re-transmit. I want to know 1) How to switch to re

[Tinyos-help] Serial Forwarder Application

2008-07-21 Thread Rafael Aguilar Velez
Hello to everybody, I am using the application Serial Forwarder. In the main screen appear a box that says: "Control Panel". Does anyone know what is this and how to use it? Thank you very much Rafael <>___ Tinyos-help mailing list Tinyos-he

[Tinyos-help] max data send rate with AMSend.send

2008-07-21 Thread jordanow
Hi * I tested how fast I could send messangess with AMSend.send and my maximal rate has been about 127 packages/second ( no matter how big the message was ). I made a loop (like : AMSend.sendDone(){ AMSend.send();} ) and counted the msgs. then I tried to send msgs periodically u

[Tinyos-help] remaining mote power

2008-07-21 Thread prashan wanigasekara
Hi, Is there a way to measure remaining energy in a MICAZ mote? For example by calling a certain nesc fucntion? otherwise how is it done? Thanks. prashan ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley

[Tinyos-help] RXFIFO overflow judgement in CC2420RadioM.nc

2008-07-21 Thread 汪付强
Hello all: I am using telosb nodes, and I have a question about the model CC2420RadioM.nc. In the model it use the code if ((!TOSH_READ_CC_FIFO_PIN()) && (!TOSH_READ_CC_FIFOP_PIN())) to decide if an overflow occurs in the RXFIFO, but I find in CC2420 datasheet page 33 (14.3 RXFIFO overflow) it

[Tinyos-help] Porting code from tinyos 1.x to tinyos 2.x

2008-07-21 Thread Pratibha S
Hi all, I want to upgrade a code written in tinyos 1.x to 2.x. I would like to know what are the changes made in the following" 1. RadioCRCPacket 2. TOS_UART_ADDR (I know it is no more in the AM file. The help says to use SerialAMSenderC component to send to a serial port. But I want the address v