Re: [Tinyos-help] reading RSSI.RSSI_VAL

2010-08-05 Thread Peng Du
Thanks very much again. Now I am having another question: are the values acquired by reading RSSI_VAL register supposed to be the same as those retrieved using CC2420Packet.getRssi()? Because when I compare a same application with the two methods, the RSSI I get are actually different. On 5 Augus

[Tinyos-help] Compilation errors

2010-08-05 Thread Obaid Salikeen
Hi, I just download the tinyos-2.x-contrib, and trying to compile BMAC: \tinyos-2.x-contrib\*wustl\upma\apps\tests\TestBmac* But getting compilation errors. I am using TinyOS2.x. Following are the errors: (DO i need an old version of tinyos ?) *Errors :* * * $ *make telosb* mkdir -p build/telos

[Tinyos-help] Crossbow XServe - Linux/Ubuntu

2010-08-05 Thread Dave McGee
Hi there, Does anyone have an implementation of Crossbow XServe for Linux/Ubuntu? Trying to use it with MicaZ, if possible. Thanks! Regards, Dave ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-b

[Tinyos-help] Questions on MAC protocol tinyos-2.x

2010-08-05 Thread Kartik Siddhabathula
Hi all, I would like to know which mac protocol is used by tinyos-2.x? Is it B-MAC or 1.1.1 MAC?If I want to change the type of the MAC how can I do that? Thanks in advance, Kartik ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] How to read voltage from micaz motes and store in other motes

2010-08-05 Thread Michael Schippling
You should be able to use VoltageC to get the value. The difference in the two DemoSensorC examples you have is that someone decided to use DemoChannel as an intermediate name rather then DemoSensor, probably to enhance code re-usability (not). It may be that the simulator implementation returns a

Re: [Tinyos-help] Receveing packets

2010-08-05 Thread Michael Schippling
I have successfully sent a message from a PC host to an Xmesh node, however I personally have not tested that in a multi-hop environment. On the node the message is configed as: // messages we receive App.CalibMsg -> MULTIHOPROUTER.Receive[CPAM_CALIBMSG]; Which causes this method to be call

Re: [Tinyos-help] CC2420 and microsecond precision timestamps...

2010-08-05 Thread Janos Sallai
Sinan, I actually have an alternative cc2420 radio stack implementation under tinyos-2.x-contrib/vu that does what you want. That is, the msp430 timer subsystem is reprogrammed such that timer A is the 32kHz timer and timer B is the micro timer. The radio stack uses the micro timer for timestampin

Re: [Tinyos-help] CC2420 and microsecond precision timestamps...

2010-08-05 Thread Janos Sallai
Sinan, Things are not that easy, unfortunately. For port 4.1, that's where the interrupt line of the cc2420 is connected, you must use timer B for capture. This means that you will need to reprogram the whole timer subsystem such that timer B is driven by the internal DCO, and timer A is driven by

Re: [Tinyos-help] CC2420 and microsecond precision timestamps...

2010-08-05 Thread Sinan Yildirim
Hi again, I wanted to add some comments to my last reply. When I connect Timer A to SFD, I could get time= 0 from *async event void CaptureSFD.captured( uint16_t time )* and it means all timestamps are invalid. Also, I could not get time values LocalTimeMicroC component and it always returns 0.

[Tinyos-help] How to read voltage from micaz motes and store in other motes

2010-08-05 Thread Paul Gildea
Hello, I am wondering how I can return and display the battery level of micaz motes. I wish to retrieve battery levels from micaz motes and broadcast these values to other motes who will store them in a table, perhaps to try routing via these values and AODV, and am wondering how to go about this?

[Tinyos-help] Receveing packets

2010-08-05 Thread Atslands Rocha
Hi all, How can a sensor node receive packets from another sensor node using Xmesh (Crossbow) and TinyOS1? I read the material and I just saw the upstream transmission mode using sink nodes, but I want a communication between sensor nodes (source and destination). I changed the source BASE_STATION

Re: [Tinyos-help] CC2420 and microsecond precision timestamps...

2010-08-05 Thread Sinan Yildirim
Hi Thomas, I am working on a similar platform to Telos I think... (It is Genetlab Sensenode platform). I have connected TimerA to the SFD line as you said. I have modified the file HplCC2420InterruptsC. configuration HplCC2420InterruptsC { provides interface GpioCapture as CaptureSFD; provid

Re: [Tinyos-help] PySerial and telosb

2010-08-05 Thread Markus Becker
> Hi everybody, > I use telosb motes in my network. > I want to read from the serial port by using a python script, but it > doesn't read well. Do you really need to read from the serial port from the python script? How about using the C serial forwarder and attaching to the serial forwarder fro

[Tinyos-help] PySerial and telosb

2010-08-05 Thread marcodisano
Hi everybody, I use telosb motes in my network. I want to read from the serial port by using a python script, but it doesn't read well. Is 115200 the correct baud rate? Here is the code: #!/usr/bin/python import serial import time def main(): var = 0 ser = serial.Serial(port='/dev/tty