Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread Urs Hunkeler
Hi, How about a this approach: From java you call the motelist command and extract the list of all connected motes. You then *dynamically* connect to each of the motes. If you want to be even more dynamically, you could periodically check (by calling the motelist command repeatedly) whether the l

Re: [Tinyos-help] 2-axis Magnetometer MTS310CA

2007-09-18 Thread Urs Hunkeler
Hi Jeremy, I see you have been posting this message several times and apparently have not received a reply. So here is my unqualified reply. Maybe this gets somebody so annoyed that they just want to correct me :-) 1. I think the sensors need to be calibrated. For instance this could be done by t

[Tinyos-help] DCO calibration on MSP430 - conumdrum

2007-09-18 Thread David Henry
On reading the code in MSP430ClockM.nc, there is something that I don't understand. According to this snippet of code and my reading of the msp430x1xx Users Guide void busyCalibrateDCO() { // --- variables --- int calib; int step; // --- setup --- TACTL = TASSEL1 | MC1; // source S

Re: [Tinyos-help] Connection Timed Out

2007-09-18 Thread Urs Hunkeler
Hi, To explicitly specify the serial port for Tmotes, use the following syntax: make tmote [re]install[,] bsl, For instance, if your program is already compiled, you want to install it on a mote with the mote ID 3 and you somehow know that the mote is using the first USB serial port: make tmote r

[Tinyos-help] Bug in Tossim 2.0?

2007-09-18 Thread Hao Shuai
Hi all, I'm not sure whether any of you notice the bug in Tossim under Tinyos 2.0.2. When you increase the numbers of nodes in simulation (say from 200 to 500), something strange happens in nodes' neighbor table. I digged a bit and found it might due to inappropriate data type casting. The bug is

Re: [Tinyos-help] Msp430Adc12MultiChannel global variable question

2007-09-18 Thread Michael Schippling
I beg to differ...Yes. The compiler warning is because you have identical names in different scopes and no way, bless C's little heart, of distinguishing them. So it's trying to tell you that you may have made a scoping mistake. But the point is, I think, that the YadaYadaMultiWhatever interface,

Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread Chad Metcalf
I'm with Michael on this one. If your mote hardware has what it takes to hook up to a PC (serial, USB, etc) or a Gateway (Tmote Connect, etc) then it doesn't matter what application you run on it. Some T2 application sends data over the serial to a serial forwarder. Your application hooks up to th

Re: [Tinyos-help] error tinyos-tools rpms install

2007-09-18 Thread Phoebus Wei-chih Chen
I'm getting the same error. When I run rpm -qp --scripts tinyos-tools-1.2.4-3.i386.rpm I see that the postinstall script does not have one of the variables, $tinyoslibdir defined. rpm -qp --scripts tinyos-tools-1.2.4-3.i386.rpm | grep tinyoslibdir -n 26:for lib in $tinyoslibdir/*-$bi

RE: [Tinyos-help] CC2420 packet delivery

2007-09-18 Thread David Moss
Never explicitly tried it before with the intention of noting the results, but your node should transmit, leaving the RXFIFO turned to garbage and filtered out naturally by the receive methods (i.e. checking for a proper length byte and CRC). I could be wrong, but note that having two transmitters

Re: [Tinyos-help] Msp430Adc12MultiChannel global variable question

2007-09-18 Thread John Griessen
Michael Schippling wrote: I think the complaint is simply that you have 'global' and a local stack variables with the same name. I'd just change this: async event void a2d12ch.dataReady(uint16_t *buffer, uint16_t bufferlen) to something like this: async event void a2d12ch.dataReady(uint16_t *b

[Tinyos-help] CC2420 packet delivery

2007-09-18 Thread roberto pagliari
Hi All, does anyone know what happen if, during the receiption of a packet, a STXON (not STXONCCA) strobe command from the microcontroller is issued? Does the radiochip turn the circuit to the transmitter? If so, should I flush the RXFIFO queue? many thanks, Roberto _

Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread Michael Schippling
Lets run this back to the help list, since I don't fully understand the question If you want a physical connection between mote and PC you need one MIB5x0 (or whatever) and one USB or serial 'port' per mote. Aside from expense, I don't know that there is any limit to the number of any of thos

Re: [Tinyos-help] Connection Timed Out

2007-09-18 Thread Michael Schippling
I don't think MOTECOM is significant to downloading programs, only 'listening' to data messages. I believe the tmote system has some magic for determining what USB port to use for downloads. You might try reviewing the setup info in the tmote manual, I remember there being some way to explicitly r

Re: [Tinyos-help] Msp430Adc12MultiChannel global variable question

2007-09-18 Thread Michael Schippling
I think the complaint is simply that you have 'global' and a local stack variables with the same name. I'd just change this: async event void a2d12ch.dataReady(uint16_t *buffer, uint16_t bufferlen) to something like this: async event void a2d12ch.dataReady(uint16_t *b, uint16_t bl) However, yo

[Tinyos-help] Failed to preprocess error

2007-09-18 Thread devyani dhodapkar
Hi, I tried to Compile Blink Application as given in Lesson 1:TinyOS .When I did make telosb I got the following error- mkdir -p build/telosb Compiling BlinkAppC to a telosb binary cc1:error:invalid option 'diable -hwmul' :failed to preprocess /usr/lib/ncc/nesc_nx.h cc1: error :invalid option '

Re: [Tinyos-help] Connection Timed Out

2007-09-18 Thread Aravind Ravisankar
1. Yes I am using a wireless keyboard and mouse both of which have a single base which is connected to a USB drive. I am using the second USB drive for installing motes. Should I remove the wireless keyboard? 2. No I haven't defined the env variable MOTECOM Thanks On 9/18/07, John Griessen <[EMA

Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread metcalfc
Granted I'm using T2 but I do this all the time w/ the Java sdk (not much is different then the T1 ver). You create a MoteIF per sf and keep track of which is which (map?). I'm guessing you have a separate problem. Config or otherwise. On 9/18/07, Michael Schippling <[EMAIL PROTECTED]> wrote: >

Re: [Tinyos-help] Connection Timed Out

2007-09-18 Thread John Griessen
Aravind Ravisankar wrote: This doesn't happen all the time but is very frequent. Sometimes when I restart my system it helps and I am able to successfully install but then the errort gets back after some time. Does the USB communication timeout come on a system with other USB devices attached?

[Tinyos-help] Connection Timed Out

2007-09-18 Thread Aravind Ravisankar
Hello I have been trying to install the Blink Application on telosb motes, I m on OpenSuse. When I give "make telosb install", I get the error given below. This doesn't happen all the time but is very frequent. Sometimes when I restart my system it helps and I am able to successfully install but th

[Tinyos-help] Msp430Adc12MultiChannel global variable question

2007-09-18 Thread John Griessen
Hello, I have some compiler warnings I'm not sure the best way to tidy up. as far as I understand about the Msp430Adc12MultiChannel interface and by digging into its code, the buffer specified by AdcConfigure is intended as the place for results to land after running the .getData The trouble is

Re: [Tinyos-help] micaz MTS420CA temperature tinyos2.x

2007-09-18 Thread John Griessen
Luca Briggi wrote: Hi, how can i get temperature readings with a MTS420CA sensor board over a micaz mote using tinyos2.x? (how can i use the sensirionSht11?) You need to either add SENSORBOARD=xx to your Makefile, or to the make command line when you do a make micaz. I only see mts101 mts30

[Tinyos-help] micaz MTS420CA temperature tinyos2.x

2007-09-18 Thread Luca Briggi
Hi, how can i get temperature readings with a MTS420CA sensor board over a micaz mote using tinyos2.x? (how can i use the sensirionSht11?) Thanks -- - Luca Briggi Piacenza, Italy #ICQ: 275761200 ___ Tinyos-help mailing list Tinyo

Re: [Tinyos-help] write data into sensor network

2007-09-18 Thread Michael Schippling
I you are using TOS1.x look at apps/SimpleCmd for an example of sending data to a mote. I believe the host side java demo that runs this is in tools/java/net/tinyos/tools/BcastInject.java T2 probably has something similar. MS Leonardo wrote: hy guy... i wanna write data by uart from pc to sens

Re: [Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread Michael Schippling
Perhaps Urs's advice has helped the initial problem but I would recommend that you just skip the SF processes and go directly to the serial ports. You could start a java thread to wait on each port and deliver the data for whatever processing you wish... Anyway there is indication in the T1 tools

Re: [Tinyos-help] TOSSIM simulator

2007-09-18 Thread Philip Levis
On Sep 17, 2007, at 1:35 PM, Islam Hegazy wrote: I am developing an application that sends and receives messages using mica2. I want to use TOSSIM to simulate the operations of sending and receiving to be able to debug my code. TOSSIM simulates the sending operation correctly but it can't s

Re: [Tinyos-help] Sensors for tinyos 2

2007-09-18 Thread Philip Levis
On Sep 18, 2007, at 2:28 AM, Leonardo Mostarda wrote: Hi, I would like to run Accelerometer, infrared and acoustic sensors on tmote sky using tinyos 2. I found on the web (http://www.easysen.com/SBT80.htm) a company that provides these kind of sensors. Has anyone experience on using thi

Re: [Tinyos-help] nesc2.0

2007-09-18 Thread Philip Levis
On Sep 17, 2007, at 3:27 PM, [EMAIL PROTECTED] wrote: Hi, Can somebody please suggest me some material or manual for nesc2.0. I have heard that it contains some dynamic programming skills and wanted to read about it. There is no such thing as nesC 2.0. There is a nesC 1.2, which adds a few

[Tinyos-help] write data into sensor network

2007-09-18 Thread Leonardo
hy guy... i wanna write data by uart from pc to sensor. how can i do to capture new data in sensor??? what is the event to set??? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://www.millennium.berkeley.edu/cgi-bin/mailman/li

Re: [Tinyos-help] Flash (STM25P80) write & read

2007-09-18 Thread Kevin Klues
Ah, so the LowPowerSensing application is fairly new and is only available via cvs. You can check it out as follows cd $TOSROOT/apps/tutorials cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos co -P -d LowPowerSensing tinyos-2.x/apps/tutor

[Tinyos-help] One application connected to several SerialForwarder

2007-09-18 Thread behnaz . bostanipour
The problem is that I would like to connect several base stations to a juste one pc in the way that they can communicate to the java application which is running on this pc. My idea was to have a SerialForwarder for each base station in the way that they can communicate to my application on diffre

[Tinyos-help] [HELP]RadioCountToLeds and communication between motes

2007-09-18 Thread Roberto
Hi all, i'm studying communication between micaz motes using the example RadioCountToLeds. I compiled the application for simulation using make micaz sim. Then I write a python script to simulate the functionalities using TOSSIM. The output that appears is the following: --- [EMAIL PROTECTED]:/opt

[Tinyos-help] 2-axis Magnetometer MTS310CA

2007-09-18 Thread Tan Simin Jeremy
Hello ppl, I'm currently working on the Honeywell HMC1002 Magnetometer which is located on the MTS310CA sensor board. However I'm facing a few problems and hope that you will be able to assist me. 1. Why is it that my readings for the x and y-axis are different when I use different sensor boards

Re: [Tinyos-help] How to associate a SF to a MoteIF object

2007-09-18 Thread Urs Hunkeler
Hi, The command BuildSource.makeSF() does not create a serial forwarder, it rather tries to connect to one. In the code I would either use a call to BuildSource.makePhoenix(PrintStreamMessenger.err) to create a default packet source, or to BuildSource.makePhoenix(srcURL, PrintStreamMessenger.err)

[Tinyos-help] How to associate a SF to a MoteIF object

2007-09-18 Thread behnaz . bostanipour
Hi, I create a SerialForwarder and I try to associate it to moteIF object as below: PhoenixSource source = BuildSource.makePhoenix(BuildSource.makeSF(this.hostname,9002),PrintStreamMessenger.err); MoteIF mote=new MoteIF(source); When I run the programe I get this: [EMAIL PROTECTED]:

[Tinyos-help]RE:oscilloscopeRF

2007-09-18 Thread jean-yves . barrau
Hi Nobody has the solution to this problem or simply a supposition to help me solving this serious issue ? Thanks in advance jyves >Hello, >I have 2 mica2 platforms and mib520 programmer board. The purpose of my >application rather simple: I want to build a similar application to >Oscilloscope

[Tinyos-help] TOS_Msg length is invalid?

2007-09-18 Thread lamiaimeil
Hi all, I have this problem with my new application that I never had before. When I type the command: MOTECOM=serial at COM5:tmote java net.tinyos.tools.Listen the prompt answer me: TOS_Msg length is invalid: header_length=10,real_length=16 ... modifying msg to fit I also try: java net.tinyos.

[Tinyos-help] Sensors for tinyos 2

2007-09-18 Thread Leonardo Mostarda
Hi, I would like to run Accelerometer, infrared and acoustic sensors on tmote sky using tinyos 2. I found on the web (http://www.easysen.com/SBT80.htm) a company that provides these kind of sensors. Has anyone experience on using this board sensor on tinyos 2? Did some other companies prov