Re: [Tinyos-help] TinyOS dependencies

2007-03-29 Thread Romain Thouvenin
On 3/28/07, Philip Levis [EMAIL PROTECTED] wrote: On Wed, 2007-03-28 at 03:02, Romain Thouvenin wrote: Hi, Due to troubles with my computer, I recently had to build a new operating system (ubuntu linux), and reinstall tinyos. But apparently, I miss some development packages, since when I

RE: [Tinyos-help] TOS_LOCAL_ADDRESS

2007-03-29 Thread Oussama Chougna
The local address of the mote. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of santosh bhima Sent: woensdag 28 maart 2007 19:14 To: Tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] TOS_LOCAL_ADDRESS what does the variable signify

[Tinyos-help] Not installing from cygwin prompt

2007-03-29 Thread ankur jain
Hi all, I tried to program the motes from the cygwin shell but the following error comes when installing: i gave the command make mica2 install,3 flash error at address 0x2ef: file=0x93, mem=0xff flash error at address 0x2f0: file=0x19, mem=0xff flash error at address 0x2f1: file=0x01,

[Tinyos-help] Regarding java toolchain for deluge

2007-03-29 Thread ankur jain
Hi all, I am trying to test the remote- network programming concept using TestDeluge app. provided with the standard tinyos distro.I tried to ran it using prescribed java tool chain for deluge in the tools folder.But there i couldn't find starting point i.e Deluge.class file to start the

[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Salvo Fiduccia
On Wed, 2007-03-21 at 13:51, Salvo Fiduccia wrote: Hi all, relating to the sim_gain_receive_handle function (UscGainInterferenceModelC.nc file), I don't understand when the code that checks if has been received a packet stronger than the others, i.e. if ((list-power -

[Tinyos-help] 200Hz sampling rate using MDA300

2007-03-29 Thread Marios Milis
Hi, I am using the MDA300 in order to acquire sensor data with a rate of 200Hz (At this moment I have as input a sinewave). In order to achieve this I have changed the XMDA300 Crossbow program in such a way so as the mote to read 22 samples and then send them in one packet. Also I have

[Tinyos-help] Need help for TOSSIM coding

2007-03-29 Thread Partha Sarathi Mandal
Hi, I want to use TOSSIM tool for simulating a routing protocol on sensor networks. I am a very beginner in this environment. Anyone please let me know how do I start programming for the following problem? 1. First, I need to generate a connected planner graph, where verticals are sensor and

Re:Re: [Tinyos-help] TinyVIz

2007-03-29 Thread Boushra MAALA
hi, i am sorry, i did an error because i wrote the last e_mail quickly: type make in tools/java instead of make i.e: cd to tools/java/ make if you do all the steps and you can not see the message you must follow the note . note: when you do that you must not press Ctr + C, but do the followed

RE: [Tinyos-help] Not installing from cygwin prompt

2007-03-29 Thread Giri Baleri
You need to specify the programmer and port details in the command line (else it will use parallel port as default and throw up flash errors on the screen). The complete command should be something like, make mica2 install,3 mib510,comx Giri From: [EMAIL

[Tinyos-help] RE: Questions about CC2420 in Tinyos-1.x

2007-03-29 Thread David Moss
Hi Jiakang, I just implemented this same LPL strategy for 2.x as well - achieving an extremely short Rx check by eliminating the acknowledgement gap and CCA. So, you and I are on the same page and all of this is fresh in my mind. My version has been uploaded to

[Tinyos-help] Surge, lossy links

2007-03-29 Thread sorabh gandhi
Hi, I am new to TOSSIM, I was trying to run Surge application with lossy topology, so that I can specify a communication graph. The problem I am facing is the following. Here is my lossy.nss file 0:1:0.00:2:0.01:0:0.02:0:0.02:3:0.03:2:0.0 I do make pc in Surge directory, and that is where I

Re: [Tinyos-help] Problems with readToneDetector

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 1:20 AM, Jorge Grande wrote: Hello everybody, I'm using TinyOS 2.0 and I'm trying to write an application for two micaz motes using the microphone. One of the two motes (mote 1) will beep each 1000 ms and the other one (mote 2), once it has detected the tone, will

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 2:03 AM, Salvo Fiduccia wrote: But the heardSignal() operates on the outstandingReceptionHead list, and I don't understand what are the lines that remove the packet from this list. Thanks for your attention. Here's the code snippet: void

[Tinyos-help] Setting ADC in differential Sampling Mode

2007-03-29 Thread manu suryavansh
Hi, I am using Tmote SKy and I want to connect pressure sensor to it which gives differential output. At present I have connected the V+ and V- to two different channels and the I reading from both ADC channels and then doing subtraction in the code. Can somebody tell me how to set up the ADC

[Tinyos-help] Re: Fw: Tinyos-help Digest, Vol 47, Issue 99

2007-03-29 Thread Thusitha Asela
Hi, You Know that command result_t write(uint16_t line, uint8_t *buffer); is what you are using in EEPROMWrite interface. So you need to call it as : uint8_t xx=25; call EEPROMWrite.write(10 , xx); May be this could be the problem with your code. Regards, Bandara. (UCSC) - Original

Re: [Tinyos-help] TOSSIM simulation (randomness in results)

2007-03-29 Thread Anu Singh
I am running TOSSIM on redhat linux. I am simulating a network of nodes that are communicating and performing some distributed computation. I am getting very different simulation results on every run. I am not using random numbers exlpicitly in my simulation. I don't know if in TOSSIM code

[Tinyos-help] problems with surge

2007-03-29 Thread virginia estellers
Hello, I'm not able to run surge application with tinyos 1.x on windows and my micaz motes connected through the serial. It seems it can not execute the surge java code, but i'm really clumsy with java so it may be that i forgot to compile something or the instruction is not complete. What are

[Tinyos-help] RE: Questions about CC2420 in Tinyos-1.x

2007-03-29 Thread David Moss
Can we actually measure the small gap here? Is there any experimental tool that can help us to get the value? This requires expensive external test hardware. If you have access to one, a high speed data acquisition unit will allow you to see that kind of time resolution. For example, you

[Tinyos-help] tinyos: controlling the data send through the serial with VisualBasic

2007-03-29 Thread virginia estellers
Hi, I'd like to write some code in Visual Basic while getting the sensor data throught the serial port. I'm already able to send bytes to the serial, but I've no idea on how to build the packets so that the mote with TOSBASE knows what does it mean, and what's more important for me, how to

[Tinyos-help] AT45DB Simulation?

2007-03-29 Thread Wali Kazi
Hi David,Following is your reply to someone on TinyOS-help list around last year. I was wondering if you managed to write a simulation for AT45DB? Best Regards,Wali. 2) Is there a simulator type of support for flash (either separately or in TOSSIM), which would allow me to test my code of

Re: [Tinyos-help] AT45DB Simulation?

2007-03-29 Thread David Gay
On 3/29/07, Wali Kazi [EMAIL PROTECTED] wrote: Hi David, Following is your reply to someone on TinyOS-help list around last year. I was wondering if you managed to write a simulation for AT45DB? The magic week with available time never showed up... David Gay

Re: [Tinyos-help] AT45DB Simulation?

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 2:33 PM, David Gay wrote: On 3/29/07, Wali Kazi [EMAIL PROTECTED] wrote: Any chance for the week to come in the near future or if you can pass on some tips on how to do it :) Near future: no (really no time available until mid-May...). Tips: it shouldn't be too

[Tinyos-help] A question of TelosPWMM module

2007-03-29 Thread yicheng
Hi Folks, I need to generate PWM signal using Tmote Sky, so I found TelosPWMM module to use. But after looking through the code, I couldn't find where the running mode of Timer is set (UP, UP-DOWN.). My question is what the running mode of Timer for TelosPWMM is, can I use the output of TimerA

Re: [Tinyos-help] tinyos: controlling the data send through the serialwith VisualBasic

2007-03-29 Thread Sankar Gorthi
You might want to do a quick Google search for Octave Deciphering TinyOS serial packets First hit: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf You have to first implement the CRC creation algorithm after you escape the packet. Good luck :). Sankar.

[Tinyos-help] Questions regarding the datatypes in CC1000 header

2007-03-29 Thread Ali Mir
Hello Friends I am working on mica2 motes using TinyOS-2.x. I want to know the length of the various data types defined the structure struct message_t. I still cant find out the size of nx_am_addr_t ( 2 bytes I think ), nx_am_group_t ( 1 byte I think ), nx_am_id_t.( 2 bytes I think ). Am I

[Tinyos-help] compile error when using Fakelocation

2007-03-29 Thread vasanth rajamani
HiMy understanding is that the only way to Location information in TOSSIM is by using the FakeLocation componentfound in TestTinyViz. Is there any other way?I tried using FakeComponent and am getting a compile error.Here is how my wiring diagram looksInside myComponent.nc

[Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Salvo Fiduccia
outstandingReceptionHead is the head of a singly-linked list of packets that the node is currently hearing. The above lines of code find the node in the list that precedes the packet in question (predecessor). If there is no preceding node, then it must be the head of the list. The

RE: [Tinyos-help] Questions regarding the datatypes in CC1000 header

2007-03-29 Thread David Moss
It can be tricky to find, you're right. tos/types/AM.h typedef uint8_t am_id_t; typedef uint8_t am_group_t; typedef uint16_t am_addr_t; -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ali Mir Sent: Thursday, March 29, 2007 3:55 PM To: [EMAIL

Re: [Tinyos-help] UscGainInterferenceModelC implementation

2007-03-29 Thread Philip Levis
On Mar 29, 2007, at 3:59 PM, Salvo Fiduccia wrote: Ok, I have understood the code that removes the packet from the list and the following test, but I have originally mentioned the test inside the first while (see the arrow): void sim_gain_receive_handle(sim_event_t* evt) {

[Tinyos-help] node transmission failure

2007-03-29 Thread RAKESH KUMAR
hye guys i am working on a project which reqires programming with motes... i am working with mica and micaz right now i am able to install programs on motes... but when i try to verify hardware's. it just give me an error node transmission failure and sometimes bad packet or long packets.

Re: [Tinyos-help] tinyos: controlling the data send through the serial with VisualBasic

2007-03-29 Thread Michael Schippling
You may have seen this, which explains the data stream pretty well: http://www.octavetech.com/pubs/TB5-01%20Deciphering%20TinyOS%20Serial%20Packets.pdf When using Listen, what you see is almost what you get. Messages are bracketed by 0x7E sync bytes and a prefix byte says what kind of packet it

[Tinyos-help] problem about jtag

2007-03-29 Thread SANG Junjun
hi,everyone When I try to install TinyOS2.0 using jtag, there is some error like this: msp430-objcopy --output-target=ihex build/hawk/main.exe build/hawk/main.ihex writing TOS image cp build/hawk/main.ihex build/hawk/main.ihex.out installing hawk binary using the parallel port jtag