[Tinyos-help] changing the type of a packet??

2007-04-23 Thread preeti k
Hi, I am writing an application which requires me to change the type of a packet i.e the type field of TOS_Msg. I 've been trying to figure out where and how do packets get their types but could not progress much. I can change and add the relevant data to the payload of the message but do not kn

[Tinyos-help] Help with bootstrapping MSP430

2007-04-23 Thread Naveen Madabhushi
Hello, I am working on developing a mote based on tmote design. I have been able to design, fabricate and assemble the mote. I have powered it up and have tested it initially using the JTAG interface. Everything is working fine and have been able to load Blink on to the mote and run it as well.

Re: [Tinyos-help] Has anyone installed on Linux? Please reply if you have

2007-04-23 Thread Chad Metcalf
You can install Boomerang for Linux. My recommendation is follow my install guide at http://www.5secondfuse.com/tinyos/install.html. Even if you don't use a Ubuntu variant, if you're Linux savvy you'll see what you need. Not to mention the debs that Stanford makes for TinyOS 2 will work for Boome

Re: [Tinyos-help] Complete Novice Question: Installing TinyOS and Compiling on MacOSX 10.4 for MICA

2007-04-23 Thread Sarfraz Nawaz
Are these also in your path? What is the output of "which avr-objcopy". If it is in your path what happens when you do lets say "make micaz" in Blink? On 4/24/07, Greg Turnipseed <[EMAIL PROTECTED]> wrote: Yes, I have avr-objcopy and avr-gcc installed. They're located in the /usr/local/bin di

Re: [Tinyos-help] question about includes statement in nc file

2007-04-23 Thread Michael Schippling
yup. But I don't know if there is a reasonable explanation for it. MS Demin Wang wrote: Hi all, I am working under tinyos1.1.15. When I looked at some .nc file, they start with "includes Command; includes XCommand;". What do the "Command" or "XCommand" represent? Do they represent " Command.h

Re: [Tinyos-help] Has anyone installed on Linux? Please reply if you have

2007-04-23 Thread keerthii
Alan, Yep sorry, I sent out an email a while ago and no one replied. So I thought I might try a more generic email just to see if people had successfully installed it on Linux. I am trying to install Tmote Tools CD V2.0.4 (from boomerang). It requires me to run a script found in C:\cygwin\o

RE: [Tinyos-help] tmote message format

2007-04-23 Thread Bill Leal
Ah, yes. Rather on the obscure side (payload data doesn't always start at 2), but there it is. Thanks, Bill - Bill Leal Computer Science and Engineering The Ohio State University 395 Dreese Laboratories 2015 Neil Avenue Columbus, OH 43210-1277 Fax: +1-815-301-8202 > --

[Tinyos-help] Tmote Invent Accelerometer Sensitivity

2007-04-23 Thread Jon
Greetings, I have been working with the accelerometer on the Tmote Invents; however, it has not been able to detect vibration through a ground made of concrete. (It works great on other surfaces such as a table, but I need to use it on the concrete floor.) I set the potentiometer of the interru

[Tinyos-help] question about includes statement in nc file

2007-04-23 Thread Demin Wang
Hi all, I am working under tinyos1.1.15. When I looked at some .nc file, they start with "includes Command; includes XCommand;". What do the "Command" or "XCommand" represent? Do they represent "Command.h", "XCommand.h" or something else? thanks a lot. Demin

Re: [Tinyos-help] tinyos 2 - MTS300 temperature and light values

2007-04-23 Thread Michael Schippling
What I was trying to say is that ints in a TOS_Msg received on a host machine are in little-endian order (LSB first). If you are trying to do something with the data on the host you need to make sure you are putting the bytes in the right place in your program variables. MIG will do this for you a

RE: [Tinyos-help] tmote message format

2007-04-23 Thread Ben Buckner
Bill- >From the legendary Octavetech protocol document that you linked: "P_PACKET_ACK (0x41) - User packet. ACK required. Includes a prefix byte. Receiver must send a P_ACK response with prefix byte as contents." Regards, Ben B. > Date: Mon, 23 Apr 2007 13:55:54 -0400 > From: "Bill Leal" <[EMAI

[Tinyos-help] mica2 radio stack documentation

2007-04-23 Thread roberto pagliari
does anyone have some documentation about the mica2 radio stack software (possibly in pdf)? thank you bob ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Romain Thouvenin
On 4/23/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 23, 2007, at 10:53 AM, Romain Thouvenin wrote: > > Yes, that's why I thought it might be the package that is broken, I > updated to 2.0.1 this week-end, and everything was working fine before > the week-end. TOSSIM in 2.0.1 includes a n

Re: [Tinyos-help] tinyos 2 - MTS300 temperature and light values

2007-04-23 Thread Itamar Amsili
Hi you right our value is not stable at all, how could we read it reversed we just used the read interface from the CVS... what should we do to fix it? thanks for the reponse - Original Message - From: Michael Schippling <[EMAIL PROTECTED]> Date: Monday, April 23, 2007 20:23 Subject: Re:

Re: [Tinyos-help] Complete Novice Question: Installing TinyOS and Compiling on MacOSX 10.4 for MICA

2007-04-23 Thread Greg Turnipseed
Yes, I have avr-objcopy and avr-gcc installed. They¹re located in the /usr/local/bin directory. TOSDIR=/Users/greg/Documents/Sources/tinyos-1.x/tos TOSROOT=/users/greg/Documents/Sources/tinyos-1.x These are correct, as far as I can tell. Inside the TOSDIR path are the folders ³interfaces²,²lib²,

[Tinyos-help] Does TOSBase filter packets when receiving?

2007-04-23 Thread Gary Pan
Hi all, I am collecting reading from one mote to the TOSBase. I want to test the bit error rate by checking the received readings, see whether there are some bit error. Basically, I sent identical packet in one second every time. I had packets drop as I increase the distance between two mo

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Philip Levis
On Apr 23, 2007, at 10:53 AM, Romain Thouvenin wrote: Yes, that's why I thought it might be the package that is broken, I updated to 2.0.1 this week-end, and everything was working fine before the week-end. TOSSIM in 2.0.1 includes a new (and much better) way for simulating RF interference,

RE: [Tinyos-help] LPL for CC2420 in tinyos-2.x

2007-04-23 Thread David Moss
The minimum receive on-time for the default LPL implementation (ack) when there are no transmitters nearby is around 5.6 ms. When a transmitter is found, the receiver remains on long enough to detect a packet - which is anywhere from 20 to 50 ms. I believe I have it set for 50 ms right now just so

[Tinyos-help] tmote message format

2007-04-23 Thread Bill Leal
I'm trying to understand the packet format of a PC app that interacts with a tmote; the format for messages to the tmote seem to contain an additional byte. I installed a serial port sniffer so I could see the raw traffic. The PC app sends for example the following packet to the mote: 7E 41

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Philip Levis
On Apr 23, 2007, at 8:52 AM, Romain Thouvenin wrote: Yes, I had. Since I tried with a tutorial and my application that used to work, I assume the code is correct. The network topology is set and seem to be correct (attached in my previous message). I have both python2.4 and 2.5 installed on my

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Romain Thouvenin
On 4/23/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 23, 2007, at 8:52 AM, Romain Thouvenin wrote: > > Yes, I had. Since I tried with a tutorial and my application that used > to work, I assume the code is correct. The network topology is set and > seem to be correct (attached in my previo

Re: [Tinyos-help] Installing to Tmote nodes in Ubuntu 7.04 Feisty Fawn

2007-04-23 Thread leith
i got /dev/ttyUSB0 to work again in feisty, i followed something i found on the ubuntu forums that suggested i do 1. uninstall the brltty packages 2. reinstall the udev packages [sudo aptitude reinstall udev] 3. reboot that got my /dev/ttyUSB0 working again athough, i use mica2, but this shoul

[Tinyos-help] Get motes to sleep (mica2, Surge_Reliable, HPLPowerManagement, EWMAMultiHopRouter)

2007-04-23 Thread Olmer, Tim
Hi all, I have an adaption version of the Surge_Reliable application of Crossbow on mica2 motes. I want to get the motes in a sleep mode and wake them up with a timer. I want to use the HPLPowerMangement module in tos. First I enable the HPLPowerManagement module by " call PowerManagement.enab

[Tinyos-help] LPL for CC2420 in tinyos-2.x

2007-04-23 Thread Antonis Lambrou
From: Antonis Lambrou Sent: Fri 4/20/2007 9:21 PM To: tinyos-help@Millennium.Berkeley.EDU Subject: LPL for CC2420 in tinyos-2.x What's the minimum and maximum time of the receiver's listening period at each duty cycle? I understand that if there is no traffic at

[Tinyos-help] Guidance for project

2007-04-23 Thread GEORGE MATTHEW M
Hi , I am George Mathe.M.I am dng my masters in csu fresno.As a part of my project we were working on Matlab using Tinyos.But were not able to make it.Can you Please Give us guidance in doing this prject.It will be really helpful if you r able to sent the STEP BY STEP PROCEDURES that i have t

Re: [Tinyos-help] UART ReceiveMsg

2007-04-23 Thread Inderjit Singh
Thanks for the suggestions lad. Very appreciated. Most of them I have already thought of. The code was only written to test that the communication is working. That's it. But It's good to be confirmed on the issue. Thanks. However, Michael, what do you mean by "you need to leave the 7E's alone as

[Tinyos-help] Help on Mica2

2007-04-23 Thread G. Santhosh Kumar
dear all Kindly help me to write a temperature sensor program using nesC We have MIB510 board and Mica2 sensor nodes with mts310 sensor boards Kindly send me the nesC code for doing the same. How to convert ADC count to temperature (degree celcius)? regards G. Santhosh Kumar Lecturer Departme

Re: [Tinyos-help] tinyos 2 - MTS300 temperature and light values

2007-04-23 Thread Michael Schippling
The LSB shouldn't be all zeros, perhaps you are thinking of the byte ordering. If you are receiving a message stream on a PC the Low Byte will come first, and if you have the bytes reversed your reading will look way high and unstable. MS Itamar Amsili wrote: Hello, We have a MTS300 sensor boa

Re: [Tinyos-help] How to read digital data on the PW pins and forward the same on RF

2007-04-23 Thread Michael Schippling
Typothat should be int value = TOSH_READ_PW1_PIN(); You can also use "MAKE*INPUT" on your bits and then read the entire port and mask off the part you don't want (I'm pretty sure the PWn bits are PortC): uint8_t val = inp( PINC ); MS Jacob Sorber wrote: This depends on how th

[Tinyos-help] IPv6 and serialforwarder/TinyOS

2007-04-23 Thread Mansour, Mostafa
Hi, I want to connect a sensor to an IPv6 host. I thought there is an IPv6 version of serialforwarder, but I was unable to find it. Could anyone please send me a link to the IPv6 open source serialforwarder? Also, is there any other method that I can use to connect sensors to IPv6 hosts bes

Re: [Tinyos-help] Timer

2007-04-23 Thread Michael Schippling
Yes, I believe you do something like this in the config file: RobotM.Timer1 -> TimerC.Timer[unique("Timer")]; RobotM.Timer2 -> TimerC.Timer[unique("Timer")]; your English is fine (not perfect, but who cares?)... MS [EMAIL PROTECTED] wrote: Hi i want to know if it is possible to create two di

Re: [Tinyos-help] I need help in a Java Application

2007-04-23 Thread Michael Schippling
Packetizer.java is your file...but it is hidden away under BuildSource.makePacketSource(). See tools\java\net\tinyos\tools\Listen.java for an example of use. Listen is a simple program that can connect directly to the serial port using the same MOTECOM setting as SerialForwarder. Also my much i

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Romain Thouvenin
On 4/23/07, Philip Levis <[EMAIL PROTECTED]> wrote: On Apr 23, 2007, at 2:40 AM, Romain Thouvenin wrote: > Hello, > > Today, when I tried to test my application with TOSSIM, it didn't > work. > First, Python.h was missing though I didn't change anything in my > distrib. I somehow fixed that, but

Re: [Tinyos-help] Generating Java code

2007-04-23 Thread Michael Schippling
Lookup "mig". I think it's covered in the tutorial. MS Hamdi Roumani wrote: Hello, I noticed when looking at SimpleCmdMsg.java it says it is automatically generated, is there a way I can simply make a header file, like SimpleCmdMsg.h and have some routine automically generate the java code f

[Tinyos-help] tinyos 2 - MTS300 temperature and light values

2007-04-23 Thread Itamar Amsili
Hello, We have a MTS300 sensor board. We encounter a problem with understanding the values that we recieve from the board sensing function. The values are extremly high and we dont realy know in what scale are they measured. We know that the values are saved in 16BIT and the LSB are zeroes. Any h

RE: [Tinyos-help] MIB510 Serial Port Settings (LabVIEW)

2007-04-23 Thread Giri Baleri
Hi Mike, The NI already provides drivers to interface to most of the Crossbow sensorboards and can be downloaded from the link below. http://zone.ni.com/devzone/cda/tut/p/id/5435#toc1 I think these are already based on VISA and would save you significant work in terms of dealing with lower level

RE: [Tinyos-help] Help on Mica2

2007-04-23 Thread Giri Baleri
Your simplest option is to program the MICA2 Motes with XMTS310 app and set-up base station with XMeshBase (both are provided with MoteView installer). The XServe and MoteView can display the data converted to deg C. The following file has equations on converting raw ADC into deg C (based on MPR

[Tinyos-help] Please help using multiple SendMsg instances

2007-04-23 Thread Federico F
Hi all tinyos gurus, I'm working on some nesC code (originally from the great MoteTrack project, http://www.eecs.harvard.edu/~konrad/projects/motetrack/). I'm trying to force a node to send an ADC sensor reading at a different rate than other message type timer frequency. This is my configuration

RE: [Tinyos-help] Report programming using Mote view ??

2007-04-23 Thread Giri Baleri
You should not use Blink to reprogram the nodes over the air since it has no radio component built in. In order to use XOtap, you should only use XMesh-enabled apps (such as ones distributed with MoteView). Otherwise, once you reprogram your nodes, you can no longer boot them into golden image sinc

Re: [Tinyos-help] Network Data Types in TinyOS 2.x/nesC

2007-04-23 Thread Romain Thouvenin
On 4/23/07, Prem Krishnan <[EMAIL PROTECTED]> wrote: Hi all, I'm implementing a data aggregation scheme involving the transmission of 2 integers and a floating point data using micaz motes. My environment is tinyos-2.x/nesC 1.2.8. Is there a floating point network type that can be used. If not,

[Tinyos-help] Network Data Types in TinyOS 2.x/nesC

2007-04-23 Thread Prem Krishnan
Hi all, I'm implementing a data aggregation scheme involving the transmission of 2 integers and a floating point data using micaz motes. My environment is tinyos-2.x/nesC 1.2.8. Is there a floating point network type that can be used. If not, how should I go about transmitting the same. Can I use

[Tinyos-help] Timer

2007-04-23 Thread [EMAIL PROTECTED]
Hi i want to know if it is possible to create two differents Timers that count simultaniously two differents periods. sorry for bad English Thanks a lot -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.l

[Tinyos-help] Timer

2007-04-23 Thread [EMAIL PROTECTED]
Hi I want to know if it is possible to create two timers that count simultaniously two differents period. sorry for bad english Thanks a lot -- Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/in

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Chad Metcalf
Did you recently update your debs? Like within the last two days? If so go to $TOSROOT/support/make/sim.extra Is the Python version set to 2.5? If so change it to 2.4. Does this fix your problem? Thanks Chad On 4/23/07, Romain Thouvenin <[EMAIL PROTECTED]> wrote: Hello, Today, when I tried t

[Tinyos-help] Motelab motes sensorboard help

2007-04-23 Thread Ciro Cardone
I used HamamatsuC and HumidityC in /tos/plataform/telos But only HamamatsuC.PAR work, humidity and temp don’t work InternalTempC, InternalVoltageC and VoltageM in /tos/platafom/msp430 Don’t work What I must do? thanks _ Da: vinay murthy [mailto:[EMAIL PROTECTED]

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Philip Levis
On Apr 23, 2007, at 2:40 AM, Romain Thouvenin wrote: Hello, Today, when I tried to test my application with TOSSIM, it didn't work. First, Python.h was missing though I didn't change anything in my distrib. I somehow fixed that, but then during the simulation, the sendDone event is never sig

Re: [Tinyos-help] AMSnoopingReceiverC

2007-04-23 Thread Philip Levis
It should be ActiveMessageC. Phil On Apr 23, 2007, at 3:19 AM, Damien O'Rourke wrote: Hi, AMSnoopingReceiverC in TinyOS 2.0 exports the interfaces of a component called ActiveMessageImpl which doesn't seem to exist in the TinyOS 2.0 tree. Is this intentional or a mistake? Thanks for th

[Tinyos-help] I need help in a Java Application

2007-04-23 Thread Mohammad Allouh
hi everybody please can any body tell me how to build a java application to read packets from MIB510, i have generated the message class using the MIG tool but i dont know what to do next ?? i still dont know if this application must read the packets from SerialForwarder or not ?? what cla

Re: [Tinyos-help] How to read digital data on the PW pins and forward the same on RF

2007-04-23 Thread Jacob Sorber
This depends on how the other microcontroller is "sending" the data to the mica2. If it is serial, then you should use the UART rather than the PW pins (no reason to reimplement the wheel). If you just need to read a logic high or a logic low, then you can read it this way. //For PW1 //set the

[Tinyos-help] How to read digital data on the PW pins and forward the same on RF

2007-04-23 Thread Dipti
Hi all, How can i read the PW pins of the mica2 motes and forward the same on Rf? In my application external data comes to the PW pins of mica2 from another microcontroller. The mica2 mote has to read this data and forward it on RF. I have tried to implement the application on grounds of the

Re: [Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Romain Thouvenin
Edit the tutorial source file to add debug messages. For example, dbg("messages","Sending a message\n"); just before the send command, and dbg("messages","Message sent\n"); in the sendDone event. Then compile the tutorial : make micaz sim To run the simulation, create a basic python file, I atta

[Tinyos-help] Re: Microphone on a mts300 sensorboard - tone detector, raw data and Resource.request() problem (and workaround)

2007-04-23 Thread Hugo Sousa
Has anyone looked at this yet? I now noticed that in MicP.nc, in SplitControl.start(), there is a Timer.startOneShot being called with 1200ms. This accounts for the Resource.request()/Resource.granted() delay I wrote about. What the Timer.fired() executes is the same as a commented line right bene

[Tinyos-help] AMSnoopingReceiverC

2007-04-23 Thread Damien O'Rourke
Hi, AMSnoopingReceiverC in TinyOS 2.0 exports the interfaces of a component called ActiveMessageImpl which doesn't seem to exist in the TinyOS 2.0 tree. Is this intentional or a mistake? Thanks for this. Best Regards, Damien. ___ Tinyos-help maili

[Tinyos-help] How to read digital data on the PW pins and forward the same on RF

2007-04-23 Thread Dipti
Hi all, How can i read the PW pins of the mica2 motes and forward the same on Rf? In my application external data comes to the PW pins of mica2 from another microcontroller. The mica2 mote has to read this data and forward it on RF. I have tried to implement the application on grounds of the Os

[Tinyos-help] Ubuntu package might be broken

2007-04-23 Thread Romain Thouvenin
Hello, Today, when I tried to test my application with TOSSIM, it didn't work. First, Python.h was missing though I didn't change anything in my distrib. I somehow fixed that, but then during the simulation, the sendDone event is never signaled after a send call. I tried to test a tutorial, Blin

[Tinyos-help] I2C slave devices for Tmote Sky

2007-04-23 Thread Miguel Domínguez Durán
Hi everyone, It seems like not every I2C slave device works out right with Tmote nodes using the MSP430I2CPacket interface. Could someone send me a line about one or two cheap I2C devices tested with success in this platform? Thank you, Miguel Dominguez _

[Tinyos-help] MIB510 Serial Port Settings (LabVIEW)

2007-04-23 Thread Michael Collett
Hi, I'm trying to get LabView to work with my MIB510 board (with attached MicaZ with TOSBase). At the moment I'm using a VISA test panel to try out the various settings. I can see some data coming in, but I repeatedly get framing errors being flagged up. When trying to use a serial interface

[Tinyos-help] xlisten-arm compile problem, help

2007-04-23 Thread Micfox Micfox
Hi, I am still get stuck on the compilation of xlisten. I got the following undefined reference error when I attempted to cross-compile it for stargate: arm-linux-gcc -I/usr/local/arm/3.3.2/pgsql/include -O2 -Wall -Wno-format -o xlisten-arm xlisten.c xpacket.c xconve

[Tinyos-help] Introducing MeshNetics OpenMAC

2007-04-23 Thread Bagrak, Ilya
On behalf of MeshNetics (www.meshnetics.com), I am happy to announce a new open source project that may be of general interest to TinyOS and nesc developer communities. A little about the project... OpenMAC is MeshNetics' open source, _certified_ implementation of IEEE802.15.4 Media Access Contro