[Tinyos-help] Using GPS module on MTS420CA

2008-12-01 Thread [EMAIL PROTECTED]
Hi,



I want to use the GPS module of MTS420CA with MICAz on TinyOS 1.1.15. Is
there existing driver for this module in the community? I wonder if anyone
had previous experience on getting GPS data from MTS420CA and could give me
some help.



Thanks a lot!



Regards,

Qi
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] problem with CLASSPATH

2008-10-09 Thread [EMAIL PROTECTED]
Hi, I have installed ubuntu 8.04 and tmote for tinyos 2.0.2.
I type the 
command tos-check-env
And in the terminal I see:



Path:

/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin

/usr/games

Classpath:
--> WARNING: CLASSPATH environment variable 
doesn't exist.
Your classpath should contain  and a pointer 
to the cwd 
(a dot)


rpms:
/usr/bin/rpm


nesc:
/usr/bin/nescc
Version: nescc: 
1.3.0


perl:
/usr/bin/perl
Version: v5.8.8 built for i486-linux-gnu-
thread-multi

flex:

bison:

java:
/usr/bin/java
java version "1.5.0
_16"

graphviz:
/usr/bin/dot
dot - Graphviz version 2.16 (Fri Feb  8 
12:52:03 UTC 2008)

--> WARNING: The graphviz (dot) version found by 
tos-check-env is not 1.10. Please update your graphviz version if you'd 
like to use the nescdoc documentation generator.


tos-check-env 
completed with errors:

--> WARNING: CLASSPATH environment variable 
doesn't exist.
Your classpath should contain  and a pointer 
to the cwd 
(a dot)
--> WARNING: The graphviz (dot) version found by tos-check-env 
is not 1.10. Please update your graphviz version if you'd like to use 
the nescdoc documentation generator.

Who can help me?!?!


___



Con Tiscali Adsl 8 Mega navighi SENZA LIMITI e GRATIS PER I PRIMI TRE MESI. In 
seguito paghi solo € 19,95 al mese. Attivala subito, l'offerta è valida fino al 
09/10/2008! http://abbonati.tiscali.it/promo/adsl8mega/

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Information on the radio send

2008-08-19 Thread [EMAIL PROTECTED]
Hi!
I have a problem with Tmote sky and its radio.
I made a nesC program that receives a fast stream of serial packets and 
forwards them to radio. My client app uses Java tools for TinyOS 2. Sometimes, 
the MoteIF.send method takes a lot longer than usual to execute: instead of a 
few milliseconds, sometimes this method takes more than 1 second to execute.
This strange delay seems to be absolutely random; maybe this problem is caused 
by radio sending on the tMote, but I don't know how to solve it. Also, this 
problem occurs even if I use BaseStation and TestSerial apps.
Could you please help me to solve the problem? Thanks!

Riccardo


___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Hey, try out Flock

2008-07-08 Thread [EMAIL PROTECTED]
Hello,I'm emailing you about Flock.  I'm now using Flock as my default browser, 
and I love what it's done for my whole Web experience.  Flock is a social web 
browser that uniquely pulls together the people, photos, videos and websites I 
care about.  Check it out, I think you're really going to like it.You can 
download it for free at  http://www.flock.com/invited/1215585520 Enjoy it!

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] TsyncC and Deluge

2008-04-09 Thread [EMAIL PROTECTED]
Hi,
I want to measure time that Deluge T2 use for disseminating a new 
image.
For this scope I need that motes are time syncronized so I can 
measure what I need.
(Once motes are syncronized, BaseStation before 
disseminate -d command read current time
and last mote that receiving 
image read current time immediatly after receiving image.
The 
difference between this two times give me total time for disseminating 
an image)

For syncronizing motes I need to include component of time 
syncronization into Deluge code.
I chose component TsyncC as time 
syncronizing component (proposed from tinyos-2.x-contrib/iowa/T2.
tsync).
The problem is that Deluge (without component TsyncC) is:

32726 ROM
1239 RAM
While component TsyncC is:
21748 ROM
  
912 RAM

My motes are tmote sky (48KByte of ROM), when I include 
component TsyncC in Deluge
I can't compile because I have an error:
msp430-ld: address 0x111e8 of build/telosb/main.exe section .text is 
not within region text
msp430-ld: section .vectors [ffe0 -> 
] overlaps section .text [4a00 -> 000111e7]
msp430-ld: 
build/telosb/main.exe: section .vectors lma 0xffe0 overlaps previous 
sections
make: *** [exe0] Error 1

If I don't wrong, this error means 
that my application is too big, go over maximum size of my motes ROM 
(48Kbyte).
How can I solve this problem?

Thanks.
Elisa
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Measure time of reboot

2008-04-04 Thread [EMAIL PROTECTED]
Hi everyone,
I want to measure some Deluge's features,
in particular I 
want to measure time of rebooting of each motes.

Before the reboot 
instruction (NetProg.programImageAndReboot(..))
I save on mote's flash 
the value returned from call Timer.getNow().
After mote reboots, 
the 
first instruction that mote run is another call Timer.getNow();
so time 
of rebooting for the mote is the difference between 
the last call 
Timer.getNow() and value saved before on flash.

My problem is that 
Timer.getNow() doesn't return the current system time
so my measures 
are wrong.
How can I solve my problem?
Is ther some function in TinyOS 
2.x that return the current system time
like the funcion date in Unix?

Thanks in advance
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help: UART rx function

2007-12-11 Thread [EMAIL PROTECTED]
Hello! 

I have to send and receive with the UART extention of my tmote-sky. I have a 
functionaly interfate that change the TTL signal 

with the RS-232 standard of the pc.
To send data from the tmote there aren't problems. 
There are some problems with the receive the packet of byte...
This program below send a packet of byte and receive one single byte perfectly:

event void ResourceCmd.granted(uint8_t rh)
{
int i;
bool rx = FALSE;

// Make any necessary UART changes
call UartControl.setClockSource(SSEL_SMCLK);
call UartControl.setClockRate(UBR_SMCLK_9600, UMCTL_SMCLK_9600);

// Send a packet
for (i = 0; i < 10; i++)
{
call UartControl.tx( READ_DATA[i] );
while (! call UartControl.isTxEmpty() );
}

// rx a single byte
while (! call UartControl.isRxIntrPending())
{//wait for data in rx buffer

field_string[0] = call UartControl.rx();
if (field_string[0] == 'A')
call Leds.greenToggle();
}
call ResourceCmd.release();
}

Since I haven't to receive a single byte but a packet of byte, I think to 
insert in the rx while cicle field_string[i] with a 

for cicle that increment the variable i. 
In a simple manner I try to receice 2 byte.
I try with somuch type of solution but with bad results.
A solution that seem functionally is:


// rx a packet of 2 byte
while (! call UartControl.isRxIntrPending() && rx == FALSE)
{
//wait for data in rx buffer

code[0] = call UartControl.rx();

if (code[0] == 0x41)
{
call Leds.greenToggle();
rx = TRUE;
}
}
rx = FALSE;
while (! call UartControl.isRxIntrPending() && rx == FALSE)
{
//wait for data in rx buffer

code[1] = call UartControl.rx();

if (code[1] == 0x0D)
{
call Leds.redToggle();
rx = TRUE;
}
}

for (i = 0; i < 12; i++)
code[i]= 0x00;

call ResourceCmd.release();
rx = FALSE;

>From the pc I send to the mote with "free serial port monitor" this packet 
>"0x41, 0x0D" and the red and green led doesn't 

turn on forever, but only sometimes. Sometimes the green led turn on, sometimes 
the red led, sometimes all the led and 

sometimes no one.

This method can function with some change?
If someone know a metod to receive and save a string of byte can help me, 
please?

Thank you so much



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Copfilter] Copy of quarantined email - *** SPAM *** [11.6/5.0] [Tinyos-help] Basestation - tinyos 2.0.1 vs 2.0.2

2007-11-08 Thread [EMAIL PROTECTED]
Just checking, did BasestationCC2240 get removed from 2.0.1 when updating to 
2.0.2?  I just installed 2.0.2 and that directory seemed to go away...
Kurt


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4711 - Thu Nov  8 19:19:47 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 7 Nov07 - SIGN2.DEF 7 Nov07 - MACRO.DEF 7 Nov07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] help me

2007-11-05 Thread [EMAIL PROTECTED]
hello all

I must mesure the iir light intensitive with my telosb, but there is a problem. 
The telosb has two sensor ligth only, TSR (total solar radiation) and PAR 
(photosynth-active radiation), but I would tha IR (infra red).
There is a mode to mesure this radiation conjoining properly TSR and PAR?

thanks
sorry my english

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Copfilter] Copy of quarantined email - *** SPAM *** [10.0/5.0] [Tinyos-help] Question about

2007-10-31 Thread [EMAIL PROTECTED]
Hello.

I'm a telecommunications engineering degree student from Barcelona (Spain).
I'm working with tinyos-2.x under Linux. I have a question executing the 
RssiToSerial application. As you would can know, RssiToSerial shows by console 
strings like the following:
[+++   ]

When there isn't transmitter activity it shows:
[+++   ]

In the file README.txt of the RssiToSerial tells that since the Java side has 
to convert the readings into a CLI bar graph, it's scaled by some (possibly 
non-linear) factor.   
Is there any way to read the Rssi in dBm's, dBW,s or some units to measure the 
power of the Rssi? What does mean each '+' additive char of the string?

Thanks by your help.

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}


Hello.I'm a telecommunications engineering 
degree student from Barcelona (Spain).I'm working with tinyos-2.x under 
Linux. I have a question executing the RssiToSerial application. As you would 
can know, RssiToSerial shows by console strings like the 
following:[+++  
 ]When there isn't transmitter activity it 
shows:[+++  
 ]In the file README.txt of the RssiToSerial tells that since the Java 
side has to convert the readings into a CLI bar graph, it's scaled by some 
(possibly non-linear) factor.   Is there any way to read the Rssi in 
dBm's, dBW,s or some units to measure the power of the R!
 ssi? What does mean each '+' additive char of the string?Thanks by 
your help.Express yourself instantly with MSN Messenger! MSN 
Messenger

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4644 - Wed Oct 31 07:47:18 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 30 Oct07 - SIGN2.DEF 30 Oct07 - MACRO.DEF 30 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [5.8/5.0] Re: [Tinyos-help] sentilla

2007-10-18 Thread [EMAIL PROTECTED]
[Tinyos-help] sentilla
Date: Thu, 18 Oct 2007 17:24:21 + (GMT)
X-Mailer: sendEmail-1.52
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MIME delimiter for 
sendEmail-763975.553521053"

This is a multi-part message in MIME format. To properly display this message 
you need a MIME-Version 1.0 compliant Email program.

--MIME delimiter for sendEmail-763975.553521053
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi



After reading a lot of news as well as sending some emails I conclude that



1) You could get TelosB nodes from CrossBow for research. For businees I'm 
not

sure if they are ok because they are not FCC certified. They have a business 
line based MicaZ and Íris platforms.



2) Support from MoteIV on the old products is to forget (boomerang).

Some people on the list are asking for them to open the old support 
materials.



3) They explicit say there:



"... All of Sentilla's new
products that are coming in 2008 are backwards compatible with Tmote
Sky and Tmote Mini, so you can remove Sentilla Point and load TinyOS
if you choose."



I'm not sure it will be an interesting option to do that because of 
prices

Perhaps in a near future more information will be available



4) Maxfor in Corea advertises nodes that support the same software.



Regards,



André



----- Original Message - 
From: "sara k" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, October 18, 2007 8:52 AM
Subject: [Tinyos-help] sentilla


> Hi All,
> I have just checked the Moteiv website and they have a very strange
> announcements end of life plans for moteiv tmote hw products!
> no technical support will be available for Moteiv Tmot HW products 
> etc
> Does it effect the development of the tinyos??
> I  start  to work in tmote sky and tinyos and now this news
> disappointed me ?? do we have to worry about that??? What do you think
> ???
> Best
>  Sara
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

> Hi All,
> I have just checked the Moteiv website and they have a very strange
> announcements end of life plans for moteiv tmote hw products!
> no technical support will be available for Moteiv Tmot HW products 
> etc
> Does it effect the development of the tinyos??
> I  start  to work in tmote sky and tinyos and now this news
> disappointed me ?? do we have to worry about that??? What do you think
> ???
> Best
>  Sara
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


--MIME delimiter for sendEmail-763975.553521053--


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiSpam:  SpamAssassin 3.1.8
AntiVirus: ClamAV 0.91.2-exp/4545 - Wed Oct 17 23:05:57 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 17 Oct07 - SIGN2.DEF 17 Oct07 - MACRO.DEF 17 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Copfilter] Copy of quarantined email - *** SPAM *** [6.5/5.0] [Tinyos-help] example Oscilloscope Help

2007-10-16 Thread [EMAIL PROTECTED]
Hi,
  Is there any method in this oscilloscope java application that can retrieve 
the number of Motes that are connected? i.e how many sensors are connected in 
the network. Thank you.
   
  Regards,
  Edmund

   
-
 
 Real people. Real questions. Real answers. Share what you know.
Hi,  Is there any method in this oscilloscope java application 
that can retrieve the number of Motes that are connected? i.e how many sensors 
are connected in the network. Thank you.     
Regards,  Edmund 
   http://answers.yahoo.com.sg";>http://sg.yimg.com/i/sg/answers/yanswers_footer.gif"; height=65 border=0 
width=346> 
Real people. Real questions. Real answers. http://answers.yahoo.com.sg";>Share what you know.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4542 - Tue Oct 16 22:31:56 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 15 Oct07 - SIGN2.DEF 15 Oct07 - MACRO.DEF 15 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [6.6/5.0] [Tinyos-help] Re: Tinyos-help Digest, Vol 54, Issue 46

2007-10-16 Thread [EMAIL PROTECTED]
Hi all !

I am using tinyOs 2.0.

When I compile my application, using 

[EMAIL PROTECTED]:~/PeriodicReader$ make micaz

I get the following. 

mkdir -p build/micaz
compiling PeriodicReaderAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=10 -Wall -Wshadow -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb  -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml PeriodicReaderAppC.nc 
-lm
compiled  PeriodicReaderAppC to build/micaz/main.exe
9832 bytes in ROM
 244 bytes in RAM
avr-objcopy --output-target=srec build/micaz/main.exe build/micaz/main.srec
avr-objcopy --output-target=ihex build/micaz/main.exe build/micaz/main.ihex
writing TOS image


But when I try to run the application, I get the following error message. 

[EMAIL PROTECTED]:~/PeriodicReader$ ./build/micaz/main.exe --help 2
-bash: ./build/micaz/main.exe: cannot execute binary file

Does anybody know what could be the reason ?

Thanks. 

   
-
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
Hi all !I am using tinyOs 2.0.When I compile my application, 
using [EMAIL PROTECTED]:~/PeriodicReader$ make micazI get the 
following. mkdir -p build/micaz    compiling 
PeriodicReaderAppC to a micaz binaryncc -o build/micaz/main.exe -Os 
-finline-limit=10 -Wall -Wshadow -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb  -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml PeriodicReaderAppC.nc 
-lm    compiled  PeriodicReaderAppC to 
build/micaz/main.exe   
 9832 bytes in 
ROM 
244 bytes in RAMavr-objcopy --output-target=srec build/micaz/main.exe 
build/micaz/main.srecavr-objcopy --output-target=ihex build/micaz/main.exe
 build/micaz/main.ihex    writing TOS imageBut 
when I try to run the application, I get the following error message. 
[EMAIL PROTECTED]:~/PeriodicReader$ ./build/micaz/main.exe --help 
2-bash: ./build/micaz/main.exe: cannot execute binary fileDoes 
anybody know what could be the reason ?Thanks.  
  Looking for a deal? http://us.rd.yahoo.com/evt=47094/*http://farechase.yahoo.com/;_ylc=X3oDMTFicDJoNDllBF9TAzk3NDA3NTg5BHBvcwMxMwRzZWMDZ3JvdXBzBHNsawNlbWFpbC1uY20-";>Find
 great prices on flights and hotels with Yahoo! FareChase.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4540 - Sun Oct 14 03:43:55 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 15 Oct07 - SIGN2.DEF 15 Oct07 - MACRO.DEF 15 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [5.1/5.0] [Tinyos-help] TestSerial application not receiving packets from mote

2007-10-16 Thread [EMAIL PROTECTED]
Hi,

I'm having trouble with the TestSerial application from lesson 4 of
the TinyOS v 2 tutorial.  It appears that messages sent from the mote
over serial USB aren't being received by the host application.  Here's
the invocation and resulting output after 3 minutes or so:

$ java TestSerial -comm [EMAIL PROTECTED]:telos
[EMAIL PROTECTED]:115200: resynchronising
Sending packet 0
Sending packet 1
Sending packet 2
Sending packet 3
Sending packet 4
Sending packet 5
Sending packet 6

I have a Moteiv Telos (rev A) mote, and I'm running windows XP.  And
I've had no problems running the demo applications in the first 3
lessons of the tutorial.  Is it possible that the FTDI drivers are not
installed correctly, or that something is missing from my
javax.comm.properties file?  Or is the problem elsewhere?

Any help would be greatly appreciated.


Best,

Kevin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4540 - Sun Oct 14 03:43:55 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 15 Oct07 - SIGN2.DEF 15 Oct07 - MACRO.DEF 15 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [7.9/5.0] [Tinyos-help] mote connection with matlab

2007-10-10 Thread [EMAIL PROTECTED]
Hi everybody:-
   
  After setting Matlab to connect with tmote, and running Matlab when tmote has 
been connected to PC, I have the following error:
   
  groupID = 7D
  nameofconnection =
  [EMAIL PROTECTED]:tmote
  Warning: The value of local variables may have been changed to match the
 globals.  Future versions of MATLAB will require that you declare
 a variable to be global before you use that variable.
> In c:\cygwin\opt\tinyos-1.x\tools\matlab\startconnection1.m at line 25
  In c:\cygwin\opt\tinyos-1.x\tools\matlab\Startup.m at line 12
  In C:\MATLAB6p5\toolbox\local\matlabrc.m at line 199
groupID = 7D
  dpp1 =
   0
  Current plot held
??? Undefined function or variable 'net'.
  Error in ==> c:\cygwin\opt\tinyos-1.x\tools\matlab\startconnection1.m
On line 106  ==> oscopeMsg=net.tinyos.oscope.OscopeMsg;
  Error in ==> c:\cygwin\opt\tinyos-1.x\tools\matlab\Startup.m
On line 12  ==> startconnection1
  Error in ==> C:\MATLAB6p5\toolbox\local\matlabrc.m
On line 199  ==>   startup

   
  I think due to appear of groupID = 7D, java path has been set correctly!  How 
can I fix it? any help is warmly appreciated. Just I would mention that I use 
Matlab6p5. 
   
  Mahdi

   
-
Moody friends. Drama queens. Your life? Nope! - their life, your story.
 Play Sims Stories at Yahoo! Games. 
Hi everybody:-     After setting Matlab to 
connect with tmote, and running Matlab when tmote has been connected to PC, I 
have the following error:     groupID = 7D  
nameofconnection =  mailto:[EMAIL 
PROTECTED]:tmote">[EMAIL PROTECTED]:tmote  Warning: The value of 
local variables may have been changed to match 
the globals.  Future 
versions of MATLAB will require that you 
declare a variable to be 
global before you use that variable.> In 
c:\cygwin\opt\tinyos-1.x\tools\matlab\startconnection1.m at line 25  
In c:\cygwin\opt\tinyos-1.x\tools\matlab\Startup.m at line 12  In 
C:\MATLAB6p5\toolbox\local\matlabrc.m at line 199groupID = 7D  
dpp1 =   0  Current plot 
held??? Undefined function or
 variable 'net'.  Error in ==> 
c:\cygwin\opt\tinyos-1.x\tools\matlab\startconnection1.mOn line 106  
==> oscopeMsg=net.tinyos.oscope.OscopeMsg;  Error in ==> 
c:\cygwin\opt\tinyos-1.x\tools\matlab\Startup.mOn line 12  ==> 
startconnection1  Error in ==> 
C:\MATLAB6p5\toolbox\local\matlabrc.mOn line 199  ==>   
startup     I think due to appear of groupID = 
7D, java path has been set correctly!  How can I fix it? any 
help is warmly appreciated. Just I would mention that I use Matlab6p5.   
   Mahdi 
  Moody friends. Drama queens. Your life? Nope! - their life, 
your story. http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/";>Play Sims 
Stories at Yahoo! Games. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4521 - Wed Oct 10 09:58:01 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 9 Oct07 - SIGN2.DEF 9 Oct07 - MACRO.DEF 9 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [12.8/5.0] [Tinyos-help] where is TOSBoot? How can I install and modify it?

2007-10-10 Thread [EMAIL PROTECTED]

 
Hi~ all?
when I install a TOS application, Bootloader , TOSBoot,  will be installed 
together.
So,  I've installed a simple application 'Blink'.After reset, TOSBoot excution 
will count down on Leds.
I guess I found two files(TOSBoot.nc, TOSBootM.nc) about TOSBoot in 
tos/lib/Deluge folder.
And I found a function, startupleds(), in TOSBootM.nc. I modify the function as 
a count up instead of count down.
But It does not work. Do I modify wrong file or function?  Is there any 
different file related with TOSBoot?
 
Thanks for your reading and help.
 
Jung.
_
°£ÆíÇÏ°í Á¤È®ÇÑ ³ª¸¸ÀÇ ¸ÂÃã °Ë»ö, Live Search!
http://search.live.com



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}



 
Hi~ all?
when I install a TOS application, Bootloader , TOSBoot,  will be installed 
together.
So,  I've installed a simple application 'Blink'.After reset, TOSBoot 
excution will count down on Leds.
I guess I found two files(TOSBoot.nc, TOSBootM.nc) about TOSBoot in 
tos/lib/Deluge folder.
And I found a function, startupleds(), in TOSBootM.nc. I modify the 
function as a count up instead of count down.
But It does not work. Do I modify wrong file or function?  Is there 
any different file related with TOSBoot?
 
Thanks for your reading and help.
 
Jung.ÃÖ¼ÒÇÑÀÇ °ø°£¿¡¼­ ÃÖ´ëÇÑÀÇ Á¤º¸ Á¦°ø, live.com¿¡ °Ë»ö °á°ú 
ÀúÀå ±â´É µîÀ¸·Î ¹«ÀåÇÑ Live Search! °£ÆíÇÏ°í Á¤È®ÇÑ ³ª¸¸ÀÇ ¸ÂÃã °Ë»ö, Live Search!

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4521 - Wed Oct 10 09:58:01 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 9 Oct07 - SIGN2.DEF 9 Oct07 - MACRO.DEF 9 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [7.9/5.0] [Tinyos-help] How to learn TinyOS

2007-10-10 Thread [EMAIL PROTECTED]
I want to learn TinyOS,  Tossim,   nesC  very well so that i can change in 
thier code and add to it for example a new routing  protocol..

  I installed it successfully, then i started with studying its  
tutorials, documentations and teps from Tinyos site, but i found  
difficulty in understanding them.

I want your advice how can i start, how can i cotinue, how long  
will it take me to learn them well, and how long will it take me  
to  add what i want to add?

Thank you in advance.

   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
I want to learn TinyOS,  Tossim,   nesC  very well so 
that i can change in thier code and add to it for example a new 
routing  protocol..  I installed it successfully, then 
i started with studying its  tutorials, documentations and teps 
from Tinyos site, but i found  difficulty in understanding 
them.I want your advice how can i start, how can i cotinue, how 
long  will it take me to learn them well, and how long will it 
take me  to  add what i want to add?Thank you in 
advance. 
  Need a vacation? http://us.rd.yahoo.com/evt=48256/*http://travel.yahoo.com/;_ylc=X3oDMTFhN2hucjlpBF9TAzk3NDA3NTg5BHBvcwM1BHNlYwNncm91cHMEc2xrA2VtYWlsLW5jbQ--";>Get
 great deals 
to amazing places on Yahoo! Travel. 
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4521 - Wed Oct 10 09:58:01 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 9 Oct07 - SIGN2.DEF 9 Oct07 - MACRO.DEF 9 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [12.2/5.0] [Tinyos-help] Deluge2.0 can't format the flash on telos revision a.

2007-10-08 Thread [EMAIL PROTECTED]

Hi~all??
This is a second message for this issue.
I've got a manual for deluge 2.0. and I try to follow as a munual.
In first step, I can not proceed anymore. because I can not format flash memory.
Manual says, red LED indicate that there is some problem wiht formatting the 
flash memory.
 
I try to do this on win XP and cygwin enviroment.
mote: Telos revision A. It has a 512kB external data flash memory(atmel co.)
Is anybody have a same problem with formatting the flash?
How can he fix it? please give some clues.
 
thanks for reading and helps.
_
°­·ÂÇØÁø º¸¾È¼º, ¾Æ¿ô·èÀ» ´à¾Æ Æí¸®ÇØÁø ±â´Éµé·Î ¹«ÀåÇÑ Windows Live Hotmail! 
Áö±Ý ·Î±×ÀÎÇØ º¸¼¼¿ä!
http://www.hotmail.com



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}



Hi~all??
This is a second message for this issue.
I've got a manual for deluge 2.0. and I try to follow as a munual.
In first step, I can not proceed anymore. because I can not format flash 
memory.
Manual says, red LED indicate that there is some problem wiht formatting the 
flash memory.
 
I try to do this on win XP and cygwin enviroment.
mote: Telos revision A. It has a 512kB external data flash memory(atmel co.)
Is anybody have a same problem with formatting the flash?
How can he fix it? please give some clues.
 
thanks for reading and helps.°­·ÂÇØÁø º¸¾È¼º, ¾Æ¿ô·èÀ» ´à¾Æ 
Æí¸®ÇØÁø ±â´Éµé·Î ¹«ÀåÇÑ Windows Live Hotmail! ¶ß°Å¿î ¸ÞÀÏ ÇÖ¸ÞÀÏ, Windows Live Hotmail·Î µ¹¾Æ¿À´Ù!

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4502 - Mon Oct  8 03:52:34 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 5 Oct07 - SIGN2.DEF 5 Oct07 - MACRO.DEF 5 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [7.2/5.0] [Tinyos-help] I can't proceed formatting the flash of Deluge 2.0 on

2007-10-08 Thread [EMAIL PROTECTED]

 
Hi~ all??
 
I had installed tinyos 1.1.15 and I was download deluge 2.0 from CVS server.
I've got a manual for deluge 2.0. I followed as the manual, but I can't format 
flash memory.
I did compiled and install FormatFlash applications in TestDeluge folder.
after reset. I just see red LED on and nothing without red LED.
manual says, It means there is some error during formatting process.
 
I work on win XP and cygwin enviroment.
mote: telos revision A 
 
plz help me.
 
thanks in advance
_
MSN ¸Þ½ÅÀúÀÇ Â÷¼¼´ë ¹öÀü, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}



 
Hi~ all??
 
I had installed tinyos 1.1.15 and I was download deluge 2.0 from CVS server.
I've got a manual for deluge 2.0. I followed as the manual, but I can't format 
flash memory.
I did compiled and install FormatFlash applications in TestDeluge folder.
after reset. I just see red LED on and nothing without red LED.
manual says, It means there is some error during formatting process.
 
I work on win XP and cygwin enviroment.
mote: telos revision A 
 
plz help me.
 
thanks in advance°­·ÂÇÑ Æú´õ °øÀ¯ ±â´É°ú ¹«·á ¹®ÀÚ ¸Þ½ÃÁö, 
¿ÀÇÁ¶óÀÎ ÂÊÁö º¸³»±â ±â´É±îÁö!  MSN ¸Þ½ÅÀúÀÇ 
Â÷¼¼´ë ¹öÀü, Windows Live Messenger! 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4502 - Mon Oct  8 03:52:34 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 5 Oct07 - SIGN2.DEF 5 Oct07 - MACRO.DEF 5 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [7.8/5.0] [Tinyos-help] Question for Deluge(in network programming)

2007-10-08 Thread [EMAIL PROTECTED]

HI~ all?
I've got a question for Deluge.
Deluge let us update our program without touching.
It means that golden image will be transfer to the mote which is will be 
updated.
And then golden image will be saved in external memory. 
Deluge application update a program using golden image on external memory. 
If that is true, Deluge can not be use on a mote which is not included a 
external memory.
 
Is it true? or not? 
I really want to know.
 
thanks in advance.
_
°£ÆíÇÏ°í Á¤È®ÇÑ ³ª¸¸ÀÇ ¸ÂÃã °Ë»ö, Live Search!
http://search.live.com



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}



HI~ all?
I've got a question for Deluge.
Deluge let us update our program without touching.
It means that golden image will be transfer to the mote which is will be 
updated.
And then golden image will be saved in external memory. 
Deluge application update a program using golden image on external memory. 
If that is true, Deluge can not be use on a mote which is not included a 
external memory.
 
Is it true? or not? 
I really want to know.
 
thanks in advance.ÃÖ¼ÒÇÑÀÇ °ø°£¿¡¼­ ÃÖ´ëÇÑÀÇ Á¤º¸ Á¦°ø, 
live.com¿¡ °Ë»ö °á°ú ÀúÀå ±â´É µîÀ¸·Î ¹«ÀåÇÑ Live Search! °£ÆíÇÏ°í Á¤È®ÇÑ ³ª¸¸ÀÇ ¸ÂÃã °Ë»ö, 
Live Search!

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4502 - Mon Oct  8 03:52:34 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 5 Oct07 - SIGN2.DEF 5 Oct07 - MACRO.DEF 5 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [9.2/5.0] [Tinyos-help] ADC sampling rate

2007-10-08 Thread [EMAIL PROTECTED]



Hi all,
 
   I understand that the timer used for acoustic ranging done by VU is somewhat 
different from the original implementation.  I've used the timer provided by 
VU, but I seem to run into problems in obtaining the correct quantity of data 
when doing acoustic ranging using micaz motes on TinyOS 1.1.15.
   As a first step, I decided to see how many samples are actually returned by 
OutsideRangingSensorM (i.e. I used a counter each time bufferIndex was reset).  
Hence, in one set of 16 chirps, the counter should return me 16.  However, each 
time a set of 16 chirps has been sent, the counter returns me a value of 3.
   As a next step, I reduced the implementation to such that only one set of 16 
chirps was sampled each time - again it returns me 3 samples.
   Since this program uses ADC.getContinuousData(), I thought that the sampling 
rate for this ADC was too slow - hence in MicM, I explicitly called 
ADCControl.setSamplingRate(0) [as this should be the fastest] in 
StdControl.start(), but unfortunately, it returned 0 samples when I tried 
running the program.  I also tried it out with different sampling rate and this 
was what I got:
 
0,1 - 0 samples received
2 - 8 samples received
3 - 7 samples received
4 - 5 samples received
5 - 4 samples received
6 - 2 samples received
7 - 2 samples received
 
   Thus, I'm quite lost as I can't seem to get all the 16 chirps to be sampled. 
 Any suggestions?
 
Thanks and best regards,
Azhar



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}





Hi all,
 
   I understand that the timer used for acoustic ranging done by VU 
is somewhat different from the original implementation.  I've used the 
timer provided by VU, but I seem to run into problems in obtaining the correct 
quantity of data when doing acoustic ranging using micaz motes on TinyOS 
1.1.15.
   As a first step, I decided to see how many samples are actually 
returned by OutsideRangingSensorM (i.e. I used a counter each time bufferIndex 
was reset).  Hence, in one set of 16 chirps, the counter should return me 
16.  However, each time a set of 16 chirps has been sent, the counter 
returns me a value of 3.
   As a next step, I reduced the implementation to such that only one 
set of 16 chirps was sampled each time - again it returns me 3 samples.
   Since this program uses ADC.getContinuousData(), I thought that 
the sampling rate for this ADC was too slow - hence in MicM, I explicitly 
called ADCControl.setSamplingRate(0) [as this should be the fastest] in 
StdControl.start(), but unfortunately, it returned 0 samples when I tried 
running the program.  I also tried it out with different sampling rate and 
this was what I got:
 
0,1 - 0 samples received
2 - 8 samples received
3 - 7 samples received
4 - 5 samples received
5 - 4 samples received
6 - 2 samples received
7 - 2 samples received
 
   Thus, I'm quite lost as I can't seem to get all the 16 chirps to 
be sampled.  Any suggestions?
 
Thanks and best regards,
Azhar

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4502 - Mon Oct  8 03:52:34 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 5 Oct07 - SIGN2.DEF 5 Oct07 - MACRO.DEF 5 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [5.5/5.0] RE: [Tinyos-help] ADC sampling rate

2007-10-08 Thread [EMAIL PROTECTED]

My apologies, there was some error in the data shown below.  The actual value 
is actually:
 
setSamplingRate(i)
i = 0 & 1 -> no response
i = 2 -> 0 samples received
i = 3 -> 8 samples received
i = 4 -> 7 samples received
i = 5 -> 5 samples received
i = 6 -> 3 samples received
i = 7 -> 2 samples received
 
   Would be great if anyone can tell me what might have gone wrong (I have not 
changed the implementation of VU's timer just for your info - and I made sure 
that the "original" micaz folder was renamed micaz2, and the one used for 
acoustic ranging is called micaz - hence, typing "make micaz" should point to 
the correct directory for acousting ranging).
 
Regards,
Azhar


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [Tinyos-help] ADC sampling 
rateDate: Sun, 7 Oct 2007 06:14:54 +




Hi all,I understand that the timer used for acoustic ranging done by VU is 
somewhat different from the original implementation.  I've used the timer 
provided by VU, but I seem to run into problems in obtaining the correct 
quantity of data when doing acoustic ranging using micaz motes on TinyOS 
1.1.15.   As a first step, I decided to see how many samples are actually 
returned by OutsideRangingSensorM (i.e. I used a counter each time bufferIndex 
was reset).  Hence, in one set of 16 chirps, the counter should return me 16.  
However, each time a set of 16 chirps has been sent, the counter returns me a 
value of 3.   As a next step, I reduced the implementation to such that only 
one set of 16 chirps was sampled each time - again it returns me 3 samples.   
Since this program uses ADC.getContinuousData(), I thought that the sampling 
rate for this ADC was too slow - hence in MicM, I explicitly called 
ADCControl.setSamplingRate(0) [as this should be the fastest] in 
StdControl.star!
 t(), but unfortunately, it returned 0 samples when I tried running the 
program.  I also tried it out with different sampling rate and this was what I 
got: 0,1 - 0 samples received2 - 8 samples received3 - 7 samples received4 - 5 
samples received5 - 4 samples received6 - 2 samples received7 - 2 samples 
receivedThus, I'm quite lost as I can't seem to get all the 16 chirps to be 
sampled.  Any suggestions? Thanks and best regards,Azhar



Hi all,I understand that the timer used for acoustic ranging done by VU is 
somewhat different from the original implementation.  I've used the timer 
provided by VU, but I seem to run into problems in obtaining the correct 
quantity of data when doing acoustic ranging using micaz motes on TinyOS 
1.1.15.   As a first step, I decided to see how many samples are actually 
returned by OutsideRangingSensorM (i.e. I used a counter each time bufferIndex 
was reset).  Hence, in one set of 16 chirps, the counter should return me 16.  
However, each time a set of 16 chirps has been sent, the counter returns me a 
value of 3.   As a next step, I reduced the implementation to such that only 
one set of 16 chirps was sampled each time - again it returns me 3 samples.   
Since this program uses ADC.getContinuousData(), I thought that the sampling 
rate for this ADC was too slow - hence in MicM, I explicitly called 
ADCControl.setSamplingRate(0) [as this should be the fastest] in 
StdControl.star!
 t(), but unfortunately, it returned 0 samples when I tried running the 
program.  I also tried it out with different sampling rate and this was what I 
got: 0,1 - 0 samples received2 - 8 samples received3 - 7 samples received4 - 5 
samples received5 - 4 samples received6 - 2 samples received7 - 2 samples 
receivedThus, I'm quite lost as I can't seem to get all the 16 chirps to be 
sampled.  Any suggestions? Thanks and best regards,Azhar



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}



My apologies, there was some error in the data shown below.  The 
actual value is actually:
 
setSamplingRate(i)
i = 0 & 1 -> no response
i = 2 -> 0 samples received
i = 3 -> 8 samples received
i = 4 -> 7 samples received
i = 5 -> 5 samples received
i = 6 -> 3 samples received
i = 7 -> 2 samples received
 
   Would be great if anyone can tell me what might have gone wrong (I 
have not changed the implementation of VU's timer just for your info - and I 
made sure that the "original" micaz folder was renamed micaz2, and the one used 
for acoustic ranging is called micaz - hence, typing "make micaz" should point 
to the correct directory for acousting ranging).
 
Regards,
Azhar


From: [EMAIL PROTECTED]To: tinyos-help@Millennium.Berkeley.EDUSubject: 
[Tinyos-help] ADC sampling rateDate: Sun, 7 Oct 2007 06:14:54 +


.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass EC_body.hmmessage
{font-size:10pt;font-family:Tahoma;}



Hi all,    I understand that the timer used 
for acoustic ranging done by VU is somewhat different from the or

[Copfilter] Copy of quarantined email - *** SPAM *** [8.4/5.0] [Tinyos-help] Help Required

2007-10-05 Thread [EMAIL PROTECTED]
 This is a multipart mime message


Hi all 
 
I am currently doing my masters program in computer science dept from the Univ 
of Houston  I have taken a course on Wireless Sensor Networks because of my 
inclination in sensor technologies .
 
I am currently doing a project "Emulation and Simulation of Wireless Sensor 
Networks" in Wireless Networks and have chosen TOSSIM as a Simulator to 
simulate the working environment .
 
I have downloaded the TinyOs software and installed the same without any errors 
. I have also gone through the tutorials to run the application , however these 
tutorials require the physical motes to be run and its not done with the 
simulator , the effect of simulator is not visible in this case . 
 
I would highly appreciate if you could let me know how can i install TOSSIM 
over TinyOS or how does TinyOS works as TOSSIM ,
 
I am a bit confused and need assistance at the earliest 
 
  
Regards
Anil Karamchandani

Regards,

Anil Karamchandani.






Hi all 
 
I am currently doing my masters program in computer science dept from the Univ 
of Houston  I have taken a course on Wireless Sensor Networks because of 
my inclination in sensor technologies .
 
I am currently doing a project "Emulation and Simulation of Wireless 
Sensor Networks" in Wireless Networks and have chosen TOSSIM as a 
Simulator to simulate the working environment .
 
I have downloaded the TinyOs software and installed the same without any errors 
. I have also gone through the tutorials to run the application , however these 
tutorials require the physical motes to be run and its not done with the 
simulator , the effect of simulator is not visible in this case . 
 
I would highly appreciate if you could let me know how can i install TOSSIM 
over TinyOS or how does TinyOS works as TOSSIM ,
 
I am a bit confused and need assistance at the earliest 
 
  
Regards
Anil Karamchandani



Regards,



Anil Karamchandani.










http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1473272_1466559/creative_1473093.gif
  alt='bm findlove'  border=0>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4472 - Thu Oct  4 16:45:39 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 4 Oct07 - SIGN2.DEF 4 Oct07 - MACRO.DEF 4 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [8.4/5.0] [Tinyos-help] Help Required

2007-10-05 Thread [EMAIL PROTECTED]
 This is a multipart mime message


Hi all 
 
I am currently doing my masters program in computer science dept from the Univ 
of Houston  I have taken a course on Wireless Sensor Networks because of my 
inclination in sensor technologies .
 
I am currently doing a project "Emulation and Simulation of Wireless Sensor 
Networks" in Wireless Networks and have chosen TOSSIM as a Simulator to 
simulate the working environment .
 
I have downloaded the TinyOs software and installed the same without any errors 
. I have also gone through the tutorials to run the application , however these 
tutorials require the physical motes to be run and its not done with the 
simulator , the effect of simulator is not visible in this case . 
 
I would highly appreciate if you could let me know how can i install TOSSIM 
over TinyOS or how does TinyOS works as TOSSIM ,
 
I am a bit confused and need assistance at the earliest 
 
  
Regards
Anil Karamchandani

Regards,

Anil Karamchandani.






Hi all 
 
I am currently doing my masters program in computer science dept from the Univ 
of Houston  I have taken a course on Wireless Sensor Networks because of 
my inclination in sensor technologies .
 
I am currently doing a project "Emulation and Simulation of Wireless 
Sensor Networks" in Wireless Networks and have chosen TOSSIM as a 
Simulator to simulate the working environment .
 
I have downloaded the TinyOs software and installed the same without any errors 
. I have also gone through the tutorials to run the application , however these 
tutorials require the physical motes to be run and its not done with the 
simulator , the effect of simulator is not visible in this case . 
 
I would highly appreciate if you could let me know how can i install TOSSIM 
over TinyOS or how does TinyOS works as TOSSIM ,
 
I am a bit confused and need assistance at the earliest 
 
  
Regards
Anil Karamchandani



Regards,



Anil Karamchandani.










http://imadworks.rediff.com/cgi-bin/AdWorks/adimage.cgi/1473272_1466559/creative_1473093.gif
  alt='bm findlove'  border=0>
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4472 - Thu Oct  4 16:45:39 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 4 Oct07 - SIGN2.DEF 4 Oct07 - MACRO.DEF 4 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [9.8/5.0] Re: [Tinyos-help] GIO interrupt on tmote sky

2007-10-04 Thread [EMAIL PROTECTED]
[Tinyos-help] GIO interrupt on tmote sky
Date: Thu, 4 Oct 2007 20:10:01 + (GMT)
X-Mailer: sendEmail-1.52
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MIME delimiter for 
sendEmail-365655.539165349"

This is a multi-part message in MIME format. To properly display this message 
you need a MIME-Version 1.0 compliant Email program.

--MIME delimiter for sendEmail-365655.539165349
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Why not to begin be using the user button line on the 6pin conector?

André

- Original Message - 
From: "Bhavish Aggarwal" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, October 04, 2007 3:29 PM
Subject: [Tinyos-help] GIO interrupt on tmote sky


> Hi,
>
> I'm trying to use the GIO0 pin as a hardware interrupt. I read about
> the mechanism to do this. The archives and documentation says that I
> have to join the R14 ends together and then I can use it as interrupt.
>
> I'm not sure about this method. Also, what interface will I use to
> generate the interrupts? I'll be very thankful for any ideas/guidance.
>
> Bhavish
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

> Hi,
>
> I'm trying to use the GIO0 pin as a hardware interrupt. I read about
> the mechanism to do this. The archives and documentation says that I
> have to join the R14 ends together and then I can use it as interrupt.
>
> I'm not sure about this method. Also, what interface will I use to
> generate the interrupts? I'll be very thankful for any ideas/guidance.
>
> Bhavish
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


--MIME delimiter for sendEmail-365655.539165349--


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiSpam:  SpamAssassin 3.1.8
AntiVirus: ClamAV 0.91.2-exp/4472 - Thu Oct  4 16:45:39 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 4 Oct07 - SIGN2.DEF 4 Oct07 - MACRO.DEF 4 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Copfilter] Copy of quarantined email - *** SPAM *** [6.9/5.0] [Tinyos-help] needed Help urgently

2007-10-03 Thread [EMAIL PROTECTED]
Hi,
  I have bought the tmote sky sensors. It comes along with this oscilloscope 
java application for me to try out with the sensors. How can i use eclipse 
program to run this java application? so that it can read the commands like 
import net.tinyos.util.*? do i need to set any classpath variables? pls help 
me. Thank you.
   
  Regards,
  Edmund

   
-
 
 Real people. Real questions. Real answers. Share what you know.
Hi,  I have bought the tmote sky sensors. It comes along with 
this oscilloscope java application for me to try out with the sensors. How can 
i use eclipse program to run this java application? so that it can read the 
commands like import net.tinyos.util.*? do i need to set any classpath 
variables? pls help me. Thank you.     
Regards,  Edmund 
   http://answers.yahoo.com.sg";>http://sg.yimg.com/i/sg/answers/yanswers_footer.gif"; height=65 border=0 
width=346> 
Real people. Real questions. Real answers. http://answers.yahoo.com.sg";>Share what you know.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4460 - Wed Oct  3 08:57:50 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 2 Oct07 - SIGN2.DEF 2 Oct07 - MACRO.DEF 2 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [8.0/5.0] [Tinyos-help] Lesson 4 tinyos-2.x:trouble executing java Listen

2007-10-03 Thread [EMAIL PROTECTED]
Doing tutorial 4 I've tried to run java Listen by typing: 
  
  [EMAIL PROTECTED]:/opt/tinyos-2.x/apps/BaseStation$ java 
net.tinyos.tools.Listen -comm   
  serial@/dev/ttyUSB0:telosb
  The toscomm JNI library was not found.
  Check that your tinyos-tools package is installed and try
  rerunning tos-install-jni.
  Aborting.

In addition,  a directory tinyos-2.x/tools has appeared misteriously.

Can anyone help me?

Thanks in advance.


_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}


Doing tutorial 4 I've tried to run java Listen by 
typing:                 [EMAIL 
PROTECTED]:/opt/tinyos-2.x/apps/BaseStation$ java net.tinyos.tools..Listen 
-comm         
    
serial@/dev/ttyUSB0:telosb        
      The toscomm JNI library was not 
found..              
Check that your tinyos-tools package is installed and try    
          rerunning 
tos-install-jni. 
 Aborting.In addition,  a directory tinyos-2.x/tools has appeared 
misteriously.Can anyone help me?Thanks in advance.Express yourself instantly with MSN Messenger! MSN Messenger

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4460 - Wed Oct  3 08:57:50 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 2 Oct07 - SIGN2.DEF 2 Oct07 - MACRO.DEF 2 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [5.6/5.0] [Tinyos-help] MIB600 115200

2007-10-02 Thread [EMAIL PROTECTED]
?)7/ :N:[EMAIL PROTECTED] 18<:5H MIME G|[EMAIL PROTECTED] [EMAIL PROTECTED]

Hello! Everybody.

 

I am trying to change the baud rate from 57600 to 115200 on MIB600.

However, I cannot operate correctly. I do not know why it is not running.

 

So, I will write down about my trial for changing rate.

First, I tried.

In eprb.extra  file, I added -dport=10001 on uisp programming.

is not run..

 

Second, I tried.

I changed HPLUART0M.nc file as follows.

outp(15, UBRR0L) -> outp(7, UBRR0L)

..is not run..

 

At result of my test, it always runs just to 10002 port(57600bps).

 

If somebody know how to change the baud rate, please reply to this.

 

Thank you


http://schemas.microsoft.com/office/2004/12/omml"; 
xmlns="http://www.w3.org/TR/REC-html40";>





<!--
 /* Font Definitions */
 @font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
text-autospace:none;
word-break:break-hangul;
font-size:10.0pt;
font-family:"Malgun Gothic";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Malgun Gothic";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
 /* Page Definitions */
 @page Section1
{size:612.0pt 792.0pt;
margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->








Hello! Everybody.

 

I am trying to change the baud rate from
57600 to 115200 on MIB600.

However, I cannot operate correctly. I do
not know why it is not running.

 

So, I will write down about my trial for
changing rate.

First, I tried.

In eprb.extra  file, I added 
–dport=10001
on uisp programming.

…..is not run..

 

Second, I tried.

I changed HPLUART0M.nc file as 
follows.

outp(15, UBRR0L) -> outp(7, 
UBRR0L)

…is not run..

 

At result of my test, it always runs just
to 10002 port(57600bps).

 

If somebody know how to change the baud
rate, please reply to this.

 

Thank you







___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4456 - Tue Oct  2 17:11:59 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 1 Oct07 - SIGN2.DEF 1 Oct07 - MACRO.DEF 1 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [5.4/5.0] [Tinyos-help] yamp problems with xubuntos

2007-10-02 Thread [EMAIL PROTECTED]
Hello,
I installed Xubuntos live cd in a virtual machine and I tried to execute the 
yamp application (tinyos tutorials lesson 10) but I have these problems, when I 
type make telosb it's ok but when I type:




[EMAIL PROTECTED]:/opt/tinyos-2.x/apps/Null# make yamp
mkdir -p build/yamp
compiling NullAppC to a yamp binary
ncc -o build/yamp/main.exe -Os -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d 
-Wnesc-all -target=yamp -fnesc-cfile=build/yamp/app.c -board=   NullAppC.nc -lm 
/opt/tinyos-2.x/tos/system/tos.h:36:22: platform.h: No such file or directory
: failed to preprocess /opt/tinyos-2.x/tos/system/tos.h
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:36:
In interface `Scheduler':
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only commands and events can be 
defined in interfaces
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning: return-type defaults 
to `int'
/opt/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error before 
`runNextTask'
In file included from /opt/tinyos-2.x/tos/platforms/yamp/hardware.h:3,
 from /opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:41,
 from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
In C file:
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:201: syntax error before 
`__nesc_atomic_t'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:202: syntax error before 
`__nesc_atomic_start'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:203: syntax error before 
`reenable_interrupts'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:210: syntax error before 
`__nesc_atomic_start'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: type defaults 
to `int' in declaration of `__x'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: warning: data definition 
has no type or storage class
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:212: syntax error before `}'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: return-type 
defaults to `int'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: conflicting types for 
`__nesc_disable_interrupt'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:190: previous declaration of 
`__nesc_disable_interrupt'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:213: warning: data definition 
has no type or storage class
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:214: syntax error before 
`return'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:217: syntax error before 
`reenable_interrupts'
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h: In function 
`__nesc_atomic_end':
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: `reenable_interrupts' 
undeclared (first use in this function)
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: (Each undeclared 
identifier is reported only once
/opt/tinyos-2.x/tos/chips/msp430/msp430hardware.h:219: for each function it 
appears in.)
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:40:
In component `SchedulerBasicP':
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc: At top level:
/opt/tinyos-2.x/tos/system/SchedulerBasicP.nc:86: syntax error before 
`isWaiting'
SchedulerBasicP: `TaskBasic.postTask' not implemented
SchedulerBasicP: `Scheduler.init' not implemented
SchedulerBasicP: `Scheduler.taskLoop' not implemented
SchedulerBasicP: `Scheduler.bool' not implemented
In file included from /opt/tinyos-2.x/tos/system/TinySchedulerC.nc:41:
In component `McuSleepC':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:51: syntax error before `dirty'
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function `McuSleep.sleep':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:111: `dirty' undeclared (first 
use in this function)
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc: In function 
`McuPowerState.update':
/opt/tinyos-2.x/tos/chips/msp430/McuSleepC.nc:121: `dirty' undeclared (first 
use in this function)
In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:28,
 from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33,
 from /opt/tinyos-2.x/tos/platforms/yamp/PlatformC.nc:11,
 from /opt/tinyos-2.x/tos/system/MainC.nc:50,
 from NullAppC.nc:42:
In interface `Msp430Timer':
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc: At top level:
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: only commands and 
events can be defined in interfaces
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: warning: return-type 
defaults to `int'
/opt/tinyos-2.x/tos/chips/msp430/timer/Msp430Timer.nc:35: syntax error before 
`isOverflowPending'
In file included from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430TimerC.nc:29,
 from /opt/tinyos-2.x/tos/chips/msp430/timer/Msp430ClockC.nc:33,
 from

[Copfilter] Copy of quarantined email - *** SPAM *** [5.4/5.0] [Tinyos-help] A small problem

2007-10-02 Thread [EMAIL PROTECTED]
Hello, 

I am new to tinyOS. I am writing a small application which has one 
configuration "PeriodicReaderAppC.nc" and one module "PeriodicReaderC.nc". 

This application is intended to read periodically sensor data and store its 
value in a local variable. While everything works fine, I get this error when I 
compile the application. 

 ncc -o main.exe -target=micaz PeriodicReaderC.nc

/usr/lib/gcc/avr/3.4.3/../../../../avr/lib/avr5/crtm128.o(.init9+0x0): In 
function `__bad_interrupt':
../../../crt1/gcrt1.S:104: undefined reference to `main'

I am attaching the two files with this email. Kindly help me with that. 

regards, 


   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
Hello, I am new to tinyOS. I am writing a small application which has 
one configuration "PeriodicReaderAppC.nc" and one module "PeriodicReaderC.nc". 
This application is intended to read periodically sensor data and store 
its value in a local variable. While everything works fine, I get this error 
when I compile the application.  ncc -o main.exe -target=micaz 
PeriodicReaderC.nc/usr/lib/gcc/avr/3.4.3/../../../../avr/lib/avr5/crtm128.o(.init9+0x0):
 In function `__bad_interrupt':../../../crt1/gcrt1.S:104: undefined 
reference to `main'I am attaching the two files with this email. Kindly 
help me with that. regards,  
  Fussy? Opinionated? Impossible to please? Perfect.  http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
 ">Join Yahoo!'s user panel and lay it on us.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4456 - Tue Oct  2 17:11:59 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 1 Oct07 - SIGN2.DEF 1 Oct07 - MACRO.DEF 1 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [9.4/5.0] [Tinyos-help] Do I HAVE to have serial bsl control for Deluge?

2007-10-02 Thread [EMAIL PROTECTED]
This is a multi-part message in MIME format.

I made a custom msp430 based board for my TinyOS projects. To save time I 
didn't build in serial/bsl support as I figured that I could do all my 
programming via JTAG.
So far, so good until I tried to setup my board for Deluge. FormatFlash works 
fine and loading DelugeBasic seems to look OK, judging by the Leds.
When I tried to inject the Golden Image it just banged away at page 1 for ever. 
Injecting images to other slots works fine. The output from Ping seems healthy 
enough.
Then it struck me that injecting the Golden Image must, in addition to writing 
to external flash, also program the processor flash.

The bottom line is, is there a known method for Deluge injecting via a parallel 
port JTAG? 

David Henry







I made a custom msp430 based board for my TinyOS 
projects. To save time I didn't build in serial/bsl support as I figured 
that I could do all my programming via JTAG.
So far, so good until I tried to setup my board 
for 
Deluge. FormatFlash works fine and loading DelugeBasic seems to look OK, 
judging 
by the Leds.
When I tried to inject the Golden Image it 
just banged away at page 1 for ever. Injecting images to other slots works 
fine. The output from Ping seems healthy enough.
Then it struck me that injecting the Golden Image 
must, in addition to writing to external flash, also program the processor 
flash.
 
The bottom line is, is there a known method 
for Deluge injecting via a parallel port JTAG? 
 
David Henry

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.91.2-exp/4456 - Tue Oct  2 17:11:59 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 1 Oct07 - SIGN2.DEF 1 Oct07 - MACRO.DEF 1 Oct07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Problem with Ctp

2007-09-03 Thread [EMAIL PROTECTED]
Hi, I am a student at Catania University.

I would like to implement 
in 
TinyOS 2 a mechanism of random routing. 
I thought to change the 
behavior of the application TestNetwork, through the modification of 
the file CtpRoutingEngineP, relatively to 
task void updateRouteTask ()
but when I execute the application TestNetwork, I realized that the 
RoutingTable does not contain exact values. Infact through this code:
…….
task void updateRouteTask() {
uint8_t i;

routing_table_entry* 
entry;
routing_table_entry* best;

uint16_t minEtx;
uint16_t 
currentEtx;
uint16_t linkEtx, 
pathEtx;
if (state_is_root)
return;

best = NULL;
/* Minimum etx found among neighbors, initially 
infinity 
*/
minEtx = MAX_METRIC;
/* Metric through 
current parent, initially 
infinity */
currentEtx = MAX_METRIC;

//dbg("TreeRouting","%s\n",
__FUNCTION__);



for (i = 0; i < 10; i++) {
entry = 
&routingTable[i];

dbg("TreeRouting", "routingTable[%d]: neighbor: [id: 
%d parent: %d]
\n",i, entry->neighbor, entry->info.parent);
}

……..

I noted that all 
elements of the routingTable are equal 
to 0. 

This is the output 

$ 
python test.py >>output.txt
….

Booting 0 at time 66239565822
Booting 1 
at time 65903208580
Booting 2 at time 74918631651
Booting 3 at time 
62765650646
Starting simulation.
DEBUG (3): clientPtrs[0] = 0x84e9d8
DEBUG (3): 
TestNetworkC: Timer fired.
DEBUG (3): 
CtpForwardingEngineP$0$Send$send: 
sending packet from client 0: 
69255e, len 15
DEBUG (3): 
CtpForwardingEngineP$0$Send$send: queue 
entry for 0 is 0 deep
DEBUG 
(3): QueueC$0$Queue$enqueue: size is 0
DEBUG (3): head <-[d8e98400] <- 
tail
DEBUG (3): 
TestNetworkC$sendMessage: Transmission succeeded.
DEBUG 
(3): 
CtpForwardingEngineP$0$sendTask$runTask: Trying to send a packet. 
Queue size is 1.
DEBUG (3): CtpForwardingEngineP$0$sendTask$runTask: 
no 
route, don't send, start retry timer
DEBUG (3): 
QueueC$2$Queue$enqueue: 
size is 0
DEBUG (3): head <-[4cb07300] <- tail
DEBUG (3): 
QueueC$2$Queue$dequeue: size is 1
DEBUG (3): head <-<- tail
DEBUG (1): 
clientPtrs[0] = 0x84e9c8
DEBUG (0): clientPtrs[0] = 
0x84e9c0
DEBUG (0): 
CtpRoutingEngineP$0$RootControl$setRoot I'm a root 
now!
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 0
DEBUG (0): head <-
[60ab7300] <- tail
DEBUG (0): CtpForwardingEngineP$0$sendTask$runTask: 
Trying to send a 
packet. Queue size is 0.
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: queue empty, don't send
DEBUG 
(0): QueueC$2$Queue$enqueue: size is 1
DEBUG (0): head <-[60ab7300] 
[8aab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size is 2
DEBUG 
(0): head <-[8aab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size 
is 1
DEBUG (0): head <-<- tail
DEBUG (0): TestNetworkC: Timer fired.
DEBUG (0): CtpForwardingEngineP$0$Send$send: sending packet from 
client 
0: 6924e0, len 15
DEBUG (0): CtpForwardingEngineP$0$Send$send: 
queue 
entry for 0 is 0 deep
DEBUG (0): QueueC$0$Queue$enqueue: size is 
0
DEBUG (0): head <-[c0e98400] <- tail
DEBUG (0): 
TestNetworkC$sendMessage: Transmission succeeded.
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: Trying to send a packet. 
Queue 
size is 1.
DEBUG (0): Sending queue entry 0x84e9c0
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: I'm a root, so loopback
and 
signal receive.
DEBUG (0): Received packet at 0:0:6.664972237 from 
node 
0.
DEBUG (0): QueueC$1$Queue$enqueue: size is 0
DEBUG (0): head 
<-
[50077300] <- tail
DEBUG (0): 
CtpForwardingEngineP$0$SubSend$sendDone 
to 0 and 0
DEBUG (0): 
CtpForwardingEngineP$0$SubSend$sendDone: our 
packet for client 0, 
remove 0x84e9c0 from queue
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 
0
DEBUG (0): head <-[b4ab7300] <- tail
DEBUG (0): 
QueueC$0$Queue$dequeue: size is 1
DEBUG (0): head <-<- tail
DEBUG (0): 
Send completed.
DEBUG (0): Rexmit timer will fire in 24 ms
DEBUG (0): 
Sending packet to UART.
DEBUG (0): QueueC$1$Queue$dequeue: 
size is 1
DEBUG (0): head <-<- tail
DEBUG (0): Sending packet to UART.
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 1
DEBUG (0): head <-
[b4ab7300] 
[deab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size 
is 2
DEBUG 
(0): head <-[deab7300] <- tail
DEBUG (0): 
QueueC$2$Queue$dequeue: size 
is 1
DEBUG (0): head <-<- tail
DEBUG (0): 
Sono prima di if
DEBUG (0): 
CtpRoutingEngineP$0$sendBeaconTask$runTask 
parent: 0 etx: 0
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 0
DEBUG 
(0): head <-[08ac7300] <- tail
DEBUG (0): AM: Sending packet (id=24, 
len=7) to 65535
DEBUG (0): 
QueueC$2$Queue$dequeue: size is 1
DEBUG (0): 
head <-<- tail
DEBUG (1): 
TestNetworkC: Timer fired.
DEBUG (1): 
CtpForwardingEngineP$0$Send$send: sending packet from client 0: 
69250a, 
len 15
DEBUG (1): CtpForwardingEngineP$0$Send$send: queue 
entry for 0 
is 0 deep
DEBUG (1): QueueC$0$Queue$enqueue: size is 0
DEBUG (1): head 
<-[c8e98400] <- tail
DEBUG (1): 
TestNetworkC$sendMessage: Transmission 
succeeded.
DEBUG (1): 
CtpForwardingEngineP$0$sendTask$runTask: Trying 
to send a packet. 
Queue size is 1.
DEBUG (1): 
CtpForwardingEngineP$0$se

[Tinyos-help] Problem with Ctp

2007-09-03 Thread [EMAIL PROTECTED]
Hi, I am a student at Catania University.

I would like to implement in 
TinyOS 2 a mechanism of random routing.  
I thought to change the 
behavior of the application TestNetwork, through the modification of 
the file CtpRoutingEngineP, relatively to 
task void updateRouteTask ()
  but when I execute the application TestNetwork, I realized that the 
RoutingTable does not contain exact values.  Infact through this code:
…….
task void updateRouteTask() {
uint8_t i;

routing_table_entry* entry;
routing_table_entry* best;

uint16_t minEtx;
uint16_t currentEtx;
uint16_t linkEtx, 
pathEtx;
if (state_is_root)
return;
   
best = NULL;
/* Minimum etx found among neighbors, initially 
infinity */
minEtx = MAX_METRIC;
/* Metric through 
current parent, initially infinity */
currentEtx = MAX_METRIC;

//dbg("TreeRouting","%s\n",__FUNCTION__);



for (i = 0; i < 10; i++) {
entry = 
&routingTable[i];

dbg("TreeRouting", "routingTable[%d]: neighbor: [id: 
%d parent: %d]\n",i, entry->neighbor, entry->info.parent);
}

……..

 I noted that all elements of the routingTable are equal 
to 0.  

This is the output 

$ python test.py >>output.txt
….

Booting  0  at time  66239565822
Booting  1  at time  65903208580
Booting  2  at time  74918631651
Booting  3  at time  62765650646
Starting simulation.
DEBUG (3): clientPtrs[0] = 0x84e9d8
DEBUG (3): 
TestNetworkC: Timer fired.
DEBUG (3): CtpForwardingEngineP$0$Send$send: 
sending packet from client 0: 69255e, len 15
DEBUG (3): 
CtpForwardingEngineP$0$Send$send: queue entry for 0 is 0 deep
DEBUG 
(3): QueueC$0$Queue$enqueue: size is 0
DEBUG (3): head <-[d8e98400] <- 
tail
DEBUG (3): TestNetworkC$sendMessage: Transmission succeeded.
DEBUG 
(3): CtpForwardingEngineP$0$sendTask$runTask: Trying to send a packet. 
Queue size is 1.
DEBUG (3): CtpForwardingEngineP$0$sendTask$runTask: no 
route, don't send, start retry timer
DEBUG (3): QueueC$2$Queue$enqueue: 
size is 0
DEBUG (3): head <-[4cb07300] <- tail
DEBUG (3): 
QueueC$2$Queue$dequeue: size is 1
DEBUG (3): head <-<- tail
DEBUG (1): 
clientPtrs[0] = 0x84e9c8
DEBUG (0): clientPtrs[0] = 0x84e9c0
DEBUG (0): 
CtpRoutingEngineP$0$RootControl$setRoot I'm a root now!
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 0
DEBUG (0): head <-[60ab7300] <- tail
DEBUG (0): CtpForwardingEngineP$0$sendTask$runTask: Trying to send a 
packet. Queue size is 0.
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: queue empty, don't send
DEBUG 
(0): QueueC$2$Queue$enqueue: size is 1
DEBUG (0): head <-[60ab7300] 
[8aab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size is 2
DEBUG 
(0): head <-[8aab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size 
is 1
DEBUG (0): head <-<- tail
DEBUG (0): TestNetworkC: Timer fired.
DEBUG (0): CtpForwardingEngineP$0$Send$send: sending packet from client 
0: 6924e0, len 15
DEBUG (0): CtpForwardingEngineP$0$Send$send: queue 
entry for 0 is 0 deep
DEBUG (0): QueueC$0$Queue$enqueue: size is 0
DEBUG (0): head <-[c0e98400] <- tail
DEBUG (0): 
TestNetworkC$sendMessage: Transmission succeeded.
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: Trying to send a packet. Queue 
size is 1.
DEBUG (0): Sending queue entry 0x84e9c0
DEBUG (0): 
CtpForwardingEngineP$0$sendTask$runTask: I'm a root, so loopback and 
signal receive.
DEBUG (0): Received packet at 0:0:6.664972237 from node 
0.
DEBUG (0): QueueC$1$Queue$enqueue: size is 0
DEBUG (0): head <-
[50077300] <- tail
DEBUG (0): CtpForwardingEngineP$0$SubSend$sendDone 
to 0 and 0
DEBUG (0): CtpForwardingEngineP$0$SubSend$sendDone: our 
packet for client 0, remove 0x84e9c0 from queue
DEBUG (0): 
QueueC$2$Queue$enqueue: size is 0
DEBUG (0): head <-[b4ab7300] <- tail
DEBUG (0): QueueC$0$Queue$dequeue: size is 1
DEBUG (0): head <-<- tail
DEBUG (0): Send completed.
DEBUG (0): Rexmit timer will fire in 24 ms
DEBUG (0): Sending packet to UART.
DEBUG (0): QueueC$1$Queue$dequeue: 
size is 1
DEBUG (0): head <-<- tail
DEBUG (0): Sending packet to UART.
DEBUG (0): QueueC$2$Queue$enqueue: size is 1
DEBUG (0): head <-
[b4ab7300] [deab7300] <- tail
DEBUG (0): QueueC$2$Queue$dequeue: size 
is 2
DEBUG (0): head <-[deab7300] <- tail
DEBUG (0): 
QueueC$2$Queue$dequeue: size is 1
DEBUG (0): head <-<- tail
DEBUG (0): 
Sono prima di if
DEBUG (0): CtpRoutingEngineP$0$sendBeaconTask$runTask 
parent: 0 etx: 0
DEBUG (0): QueueC$2$Queue$enqueue: size is 0
DEBUG 
(0): head <-[08ac7300] <- tail
DEBUG (0): AM: Sending packet (id=24, 
len=7) to 65535
DEBUG (0): QueueC$2$Queue$dequeue: size is 1
DEBUG (0): 
head <-<- tail
DEBUG (1): TestNetworkC: Timer fired.
DEBUG (1): 
CtpForwardingEngineP$0$Send$send: sending packet from client 0: 69250a, 
len 15
DEBUG (1): CtpForwardingEngineP$0$Send$send: queue entry for 0 
is 0 deep
DEBUG (1): QueueC$0$Queue$enqueue: size is 0
DEBUG (1): head 
<-[c8e98400] <- tail
DEBUG (1): TestNetworkC$sendMessage: Tran

[Tinyos-help] TOSSIM 2.x doesn't run

2007-08-09 Thread [EMAIL PROTECTED]
When I try to compile an application fot TOSSIM I see always the same 
errors. I have tested some of the solution proposed in this Forum but 
noone solve my problem. My errors are:
$ make micaz sim-cygwin
mkdir -p 
build/micaz
  placing object files in build/micaz
  writing XML schema 
to app.xml
  compiling BlinkAppC to object file sim.o
ncc -c -
DUSE_DL_IMPORT -fpic -o build/micaz/sim.o -g -O0 -tossim
-fnesc-nido-
tos
nodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)
-
finline-limit=
10 -Wall -Wshadow -Wnesc-all -target=micaz
-fnesc-
cfile=build/micaz/app.c -b
oard=micasb  -Wno-nesc-data-race BlinkAppC.
nc   -fnesc-dump=components
-fnesc-du
mp=variables -fnesc-
dump=constants -fnesc-dump=typedefs
-fnesc-dump=interfacedef
s -fnesc-
dump=tags -fnesc-dumpfile=app.xml
In file included from /opt/tinyos-2.
x/tos/lib/tossim/sim_mac.c:34,
 from /opt/tinyos-2.
x/tos/lib/tossim/tos.h:89:
/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:
14: warning: declaration of `link'
sha
dows global declaration
/usr/include/sys/unistd.h:97: warning: location of shadowed declaration
/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:20: warning: declaration of 
`link'
sha
dows global declaration
/usr/include/sys/unistd.h:97: 
warning: location of shadowed declaration
/opt/tinyos-2.
x/tos/lib/tossim/sim_gain.c: In function
`sim_gain_allocate_link':

/opt/tinyos-2.x/tos/lib/tossim/sim_gain.c:134: warning: declaration of
`link' sh
adows global declaration
/usr/include/sys/unistd.h:97: 
warning: location of shadowed declaration
/opt/tinyos-2.
x/tos/lib/tossim/sim_gain.c: At top level:
/opt/tinyos-2.
x/tos/lib/tossim/sim_gain.c:141: warning: declaration of
`link' sh
adows global declaration
/usr/include/sys/unistd.h:97: warning: 
location of shadowed declaration
In file included from /opt/tinyos-2.x
/tos/chips/atm128/timer/sim/HplAtm128Timer0
AsyncC.nc:58,
 from /opt/tinyos-2.x
/tos/platforms/mica/AlarmCounterMilliP.nc:3
0,
 from 
/opt/tinyos-2.x
/tos/platforms/mica/sim/HilTimerMilliC.nc:4
1,
 from /opt/tinyos-2.x/tos/system/TimerMilliP.nc:41,
 from /opt/tinyos-2.x/tos/system/TimerMilliC.nc:40,
 from BlinkAppC.nc:46:
In component 
`HplAtm128CompareC':
/opt/tinyos-2.
x/tos/chips/atm128/timer/sim/HplAtm128CompareC.nc: In function
`ti
mer0_compare_handle':
/opt/tinyos-2.
x/tos/chips/atm128/timer/sim/HplAtm128CompareC.nc:195:
warning: de
claration of `time' shadows global declaration
/usr/include/time.h:49: 
warning: location of shadowed declaration
cc1: warning: -fpic ignored 
for target (all code is position independent)
  compiling Python 
support into pytossim.o and tossim.o
g++ -c -DUSE_DL_IMPORT -shared -
fpic -o build/micaz/pytossim.o -g -O0
/opt/tiny
os-2.
x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.3
-I/opt/tinyos-
2.x
/tos/lib/tossim -DHAVE_CONFIG_H
cc1plus: warning: -fpic ignored for 
target (all code is position
independent)
g++ -c -DUSE_DL_IMPORT -
shared -fpic -o build/micaz/tossim.o -g -O0
/opt/tinyos
-2.
x/tos/lib/tossim/tossim.c -I/usr/include/python2.3 -I/opt/tinyos-2.x
/tos/lib/
tossim
cc1plus: warning: -fpic ignored for target (all code 
is position
independent)
  linking into shared object ./_TOSSIM.dll
g++ 
-fpic -shared -W1,--enable-auto-image-base  build/micaz/pytossim.o
build/mic
az/sim.o build/micaz/tossim.o -L/usr/lib/python2.3/config -
lpython2.3-lstdc++ -
o _TOSSIM.dll
build/micaz/sim.o(.text+0x239): In 
function `fillInOutput':
/opt/tinyos-2.x/tos/lib/tossim/sim_log.c:97: 
undefined reference to
`_hashtable_
search'
build/micaz/sim.o(.
text+0x309):/opt/tinyos-2.x/tos/lib/tossim/sim_log.c:127:
und
efined 
reference to `_hashtable_search'
build/micaz/sim.o(.text+0x2f04): In 
function `sim_log_init':
/opt/tinyos-2.x/tos/lib/tossim/sim_log.c:154: 
undefined reference to
`_create_ha
shtable'
build/micaz/sim.o(.
text+0x2f86): In function `sim_log_add_channel':
/opt/tinyos-2.
x/tos/lib/tossim/sim_log.c:166: undefined reference to
`_hashtable
_search'
build/micaz/sim.o(.text+0x3050):/opt/tinyos-2.
x/tos/lib/tossim/sim_log.c:181:
un
defined reference to 
`_hashtable_insert'
build/micaz/sim.o(.text+0x3100): In function 
`sim_log_remove_channel':
/opt/tinyos-2.x/tos/lib/tossim/sim_log.c:207: 
undefined reference to
`_hashtable
_search'
build/micaz/tossim.o(.
text+0x9c9): In function `_ZN4MoteC2EP8nesc_app':
/opt/tinyos-2.
x/tos/lib/tossim/tossim.c:125: undefined reference to
`_create_has
htable'
build/micaz/tossim.o(.text+0xa01): In function 
`_ZN4MoteC1EP8nesc_app':
/opt/tinyos-2.x/tos/lib/tossim/tossim.c:125: 
undefined reference to
`_create_has
htable'
build/micaz/tossim.o(.
text+0xb62): In function `_ZN4Mote11getVariableEPc':
/opt/tinyos-2.
x/tos/lib/tossim/tossim.c:172: undefined reference to
`_hashtable_
search'
build/micaz/tossim.o(.text+0xcaa):/opt/tinyos-2.
x/tos/lib/tossim/tossim.c:188:
u
ndefined reference to 
`_hashtable_insert'
collect2: ld returned 1 exit status
make: *** [sim-
exe] Error 1


Is t

[Copfilter] Copy of quarantined email - *** SPAM *** [7.0/5.0] [Tinyos-help] Problem with command make micaz docs

2007-06-29 Thread [EMAIL PROTECTED]
Hi,

We try to build the NesDoc of our application, but it's failed.

So we do the command : make micaz docs on the application directory and it 
result as follow :

$ make micaz docs
Making documentation for Mote_App on micaz
nesdoc /opt/tinyos-1.x/doc/nesdoc/micaz -topdir="/home/dcg" -topdir=/ -fnesc-is-
app  -I%T/lib/Route -I%T/lib/Queue -I%T/lib/Broadcast -finline-limit=10 -Wal
l -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/m
icaz/app.c -board=micasb -DCC1K_DEF_FREQ=242000 -I%T/lib/Deluge -DIDENT_PROG
RAM_NAME=\"Mote_App\" -DIDENT_USER_ID=\"Antonio\" -DIDENT_HOSTNAME=\"ACSG_GOMES\
" -DIDENT_USER_HASH=0x6b08d871L -DIDENT_UNIX_TIME=0x4683a1eaL -DIDENT_UID_HASH=0
xfcb22f6eL
 -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mote_App.nc
Mote_AppM.nc: In function `SendData':
Mote_AppM.nc:117: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:174: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:190: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:207: warning: suggest parentheses around assignment used as truth v
alue
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.gif
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open cygdrive.e.Program
Error:
 e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.dot
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.cmap
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open cygdrive.e.Program
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK
 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.dot
assertion "infile" failed: file "unparse.c", line 162
make: *** [docs_] Error 1

How can we solve this ?

Thank you,

Regards,

Tony GOMES and Ahmed DEHBI






  You snooze, you lose. Get messages ASAP with AutoCheck
 
in the all-new Yahoo! Mail Beta. 





   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC
Hi,We try to 
build the NesDoc of our application, but it's failed.So we do the 
command : make micaz docs on the application directory and it result as follow 
:$ make micaz docs    Making documentation for 
Mote_App on micaznesdoc /opt/tinyos-1.x/doc/nesdoc/micaz 
-topdir="/home/dcg" -topdir=/ -fnesc-is-app  -I%T/lib/Route 
-I%T/lib/Queue -I%T/lib/Broadcast -finline-limit=10 -Wall -Wshadow 
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz 
-fnesc-cfile=build/micaz/app.c -board=micasb -DCC1K_DEF_FREQ=242000
 -I%T/lib/Deluge -DIDENT_PROGRAM_NAME=\"Mote_App\" 
-DIDENT_USER_ID=\"Antonio\" -DIDENT_HOSTNAME=\"ACSG_GOMES\" 
-DIDENT_USER_HASH=0x6b08d871L -DIDENT_UNIX_TIME=0x4683a1eaL 
-DIDENT_UID_HASH=0xfcb22f6eL
 -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mote_App.ncMote_AppM.nc: In function 
`SendData':Mote_AppM.nc:117: warning: suggest parentheses around assignment 
used as truth valueMote_AppM.nc:174: warning: suggest parentheses 
around assignment used as truth valueMote_AppM.nc:190: warning: suggest 
parentheses around assignment used as truth valueMote_AppM.nc:207: 
warning: suggest parentheses around assignment used as truth 
valueError: e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open Files.MesError: e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open 
Documents.Tony.MotKit_Project.nesC.MoteApp_v4.Mote_App.nc.if.gifError: 
e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open cygdrive.e.P

[Copfilter] Copy of quarantined email - *** SPAM *** [11.2/5.0] [Tinyos-help] TelosB-Eclipse plugin

2007-06-28 Thread [EMAIL PROTECTED]
Hey all,I need your help regarding to TelosB motes, I'm using Eclipse plugin, 
but I'm unable to program the motes,Can u help me??.. antonio
_
With Windows Live Hotmail, you can personalize your inbox with your favorite 
color.
www.windowslive-hotmail.com/learnmore/personalize.html?locale=en-us&ocid=TXT_TAGLM_HMWL_reten_addcolor_0607



P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}


Hey all,I need your help regarding to 
TelosB motes, I'm using Eclipse plugin, but I'm unable to program the 
motes,Can u help me??.. antonioChange is good. See what's different about Windows Live Hotmail. Check it out!

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Scanned with Copfilter Version 0.84beta2 (ProxSMTP 1.6)
AntiVirus: ClamAV 0.90.3/3545 - Thu Jun 28 05:08:05 2007
AntiVirus: F-PROT 4.6.7 Engine version: 3.16.15
SIGN.DEF 27 Jun07 - SIGN2.DEF 27 Jun07 - MACRO.DEF 27 Jun07
by Markus Madlener @ http://www.copfilter.org
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Copfilter] Copy of quarantined email - *** SPAM *** [7.8/5.0] [Tinyos-help] Problem with nesCdoc

2007-06-28 Thread [EMAIL PROTECTED]
Hi,

We try to build the NesDoc of our application, but it's failed.

So we do the command : make micaz docs on the application directory and it 
result as follow :

$ make micaz docs
Making documentation for Mote_App on micaz
nesdoc /opt/tinyos-1.x/doc/nesdoc/micaz -topdir="/home/dcg" -topdir=/ -fnesc-is-
app  -I%T/lib/Route -I%T/lib/Queue -I%T/lib/Broadcast -finline-limit=10 -Wal
l -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=micaz -fnesc-cfile=build/m
icaz/app.c -board=micasb -DCC1K_DEF_FREQ=242000 -I%T/lib/Deluge -DIDENT_PROG
RAM_NAME=\"Mote_App\" -DIDENT_USER_ID=\"Antonio\" -DIDENT_HOSTNAME=\"ACSG_GOMES\
" -DIDENT_USER_HASH=0x6b08d871L -DIDENT_UNIX_TIME=0x4683a1eaL -DIDENT_UID_HASH=0
xfcb22f6eL -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mote_App.nc
Mote_AppM.nc: In function `SendData':
Mote_AppM.nc:117: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:174: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:190: warning: suggest parentheses around assignment used as truth v
alue
Mote_AppM.nc:207: warning: suggest parentheses around assignment used as truth v
alue
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.gif
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open cygdrive.e.Program
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.dot
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.cmap
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open cygdrive.e.Program
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Files.Mes
Error: e:\Program Files\Mes Documents\Tony\eclipse SDK 3.1.1\plugins\TinyOsCygwi
nEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't open Documents.Tony.MotKit_Projec
t.nesC.MoteApp_v4.Mote_App.nc.if.dot
assertion "infile" failed: file "unparse.c", line 162
make: *** [docs_] Error 1

How can we solve this ?

Thank you,

Regards,

Tony GOMES and Ahmed DEHBI






   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/
Hi,We try to build the NesDoc of our 
application, but it's failed.So we do the command : make micaz docs on 
the application directory and it result as follow :$ make micaz 
docs    Making documentation for Mote_App on micaznesdoc 
/opt/tinyos-1.x/doc/nesdoc/micaz -topdir="/home/dcg" -topdir=/ 
-fnesc-is-app  -I%T/lib/Route -I%T/lib/Queue -I%T/lib/Broadcast 
-finline-limit=10 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all 
-target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb 
-DCC1K_DEF_FREQ=242000 -I%T/lib/Deluge 
-DIDENT_PROGRAM_NAME=\"Mote_App\" -DIDENT_USER_ID=\"Antonio\" 
-DIDENT_HOSTNAME=\"ACSG_GOMES\" -DIDENT_USER_HASH=0x6b08d871L 
-DIDENT_UNIX_TIME=0x4683a1eaL -DIDENT_UID_HASH=0xfcb22f6eL
 -I/opt/tinyos-1.x/tos/lib/CC2420Radio Mote_App.ncMote_AppM.nc: In function 
`SendData':Mote_AppM.nc:117: warning: suggest parentheses around assignment 
used as truth valueMote_AppM.nc:174: warning: suggest parentheses 
around assignment used as truth valueMote_AppM.nc:190: warning: suggest 
parentheses around assignment used as truth valueMote_AppM.nc:207: 
warning: suggest parentheses around assignment used as truth 
valueError: e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open Files.MesError: e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open 
Documents.Tony.MotKit_Project.nesC.MoteApp_v4.Mote_App.nc.if.gifError: 
e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open cygdrive.e.ProgramError:
 e:\Program Files\Mes Documents\Tony\eclipse SDK 
3.1.1\plugins\TinyOsCygwinEnv_1.0.0\env\ATT\Graphviz\bin\dot.exe: can't 
open Files.MesErro

[Tinyos-help] ADC

2007-06-26 Thread [EMAIL PROTECTED]
Hi i use tmote and tinyos 1.1 ; i must use ADC to sample a voltage on Capacitor 
but i have a problem. In fact i use ADC3 and GND(of ADC) but this pin result 
short-circuit when tmote is on. This is a big problem for me because the 
capacitor discharge and i can't mesaure the really value. How can i resolve my 
problem??

Thanks


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] ADC external sensors

2007-06-18 Thread [EMAIL PROTECTED]
Hi i have a problem. I'm using a tmote sky with tinyos 1.1 and i must sample 
the voltage on a external capacitor. I set the ADC3 of the expansion connector 
but, when i see the value with the java Listen application, the tmote doesn't 
sample anything. The question is: all the channels are the same? The code i 
wrote to connect the external capacitor is:

enum
{
  TOS_ADC_SUPERCAP_PORT = unique("ADCPort"),

  TOSH_ACTUAL_ADC_SUPERCAP_PORT = ASSOCIATE_ADC_CHANNEL(
INPUT_CHANNEL_A3,
REFERENCE_VREFplus_AVss,
REFVOLT_LEVEL_2_5
  ),
};

which is the error? Is this the only part of code that i must change from the 
tutorial examples? 
Thanks 

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Help with ADC

2007-06-12 Thread [EMAIL PROTECTED]
Hi

i use tinyos 1.1, and i have a question: in SenseToInt there is a part of code 
that i don't understand:

"void task outputTask() {
uint16_t rCopy;
atomic {
  rCopy = reading;
}
call IntOutput.output(rCopy >> 7);
  }"

why there is >>7??

i try to use the code with the sensor of Temperature of Tmote sky and i find 
out a value of temperature that is impossible.
( I USE "value/4096 * Vref" AND 
"T = (Vtemp - 0.986)/0.00355"  )

Where is the mistake???


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] HELP

2007-06-04 Thread [EMAIL PROTECTED]
I have a problem with Tinyviz in TinyOS 1.1.17.
I set the debug environment variable DBG with the commands:
DBG=usr1

but I dont't see the tab 'Debug massages' actived in the control panel on the 
right in Tinyviz. After running Tinyviz I have this message:

Creating TinyViz GUI
SF enabled, 0 clients, 0 packet read, 0 packet written

but not another error.

Could you help me please???


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] getting data with MDA300 and XSensorMDA300

2007-05-28 Thread [EMAIL PROTECTED]
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hi everybody! I am trying to get a continuous voltage
  value with a single-ended signal of MDA300 and I have installed on the
  mote the program XSensorMDA300. The MIB510 and the mote0 have the
  program installed by default (TOSBase and Sur). [...] 

Content analysis details:   (6.4 points, 5.0 required)

 pts rule name  description
 -- --
 0.5 FUZZY_AMBIEN   BODY: Attempt to obfuscate words in spam
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.5 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
 1.3 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see ]
 2.7 RCVD_IN_SBLRBL: Received via a relay in Spamhaus SBL
[213.4.149.20 listed in sbl-xbl.spamhaus.org]
 1.4 DNS_FROM_RFC_POST  RBL: Envelope sender in
postmaster.rfc-ignorant.org

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---

Hi everybody!

I am trying to get a continuous voltage value with a single-ended signal of 
MDA300 and I have installed on the mote the program XSensorMDA300. The MIB510 
and the mote0 have the program installed by default (TOSBase and Sur). 

I am using Xlisten, and I cannot receive any packets from the node with the 
MDA300. Should I install the program XSensorMDA300 on the mote 0? or... Does 
anybody know what is the problem?

Thank you very much.

 

 





Ahora también puedes acceder a tu correo Terra desde el móvil.

Infórmate pinchando aquí.





--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Display Receive Message

2007-05-14 Thread [EMAIL PROTECTED]
Hi, i am  going to the directory opt\tinyos-1.x\tools\src but i didn't 
understand well what do i do? can you(Michael Schippling) explain me which is 
the procedure to display data?

Thanks 


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Oscilloscope

2007-05-10 Thread [EMAIL PROTECTED]
Hi i read lesson 6 and i try to use it, but i have a question.
Can i show only one data on Oscilloscope GUI?+
the tutorial use a buffer of 10 data but i want to show only one data at one 
time; i change the value of "BUFFER_SIZE" in "OscopeMsg" but this action caused 
some error when showing data.

What do i do to do that work well?

Thanks


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Display Receive Message

2007-05-10 Thread [EMAIL PROTECTED]
Hi i create an application that send message between 2 tmote Sky using Tinyos 
1.1. Now i show datas by the command "..Listen:" and i see a string like that:
 "7e 00 0a 7d 1a 01 00 14 00 01 00 10 00"
where the last 2 bytes are the value of data.

I want to know if it is possible to show a string like that:
"The value of SensorXXX is 10 00"
or a string like that(where the value is converted in decimal)
The value of SensorXXX is 4096".
Really, i want to know i can do it and i need of some examples to understand it.
I just wrote a similar mail, but i would like to know if it is possible write 
the necessarity code to do it in C, i know that it is possible using java but i 
don't know java.

However I STRONG need of examples code for understad i do
it, so send me.

Thanks a lot 


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tmote sky Lesson 8

2007-05-09 Thread [EMAIL PROTECTED]
Hi I am disperate i read the lesson 8 and i try to install this one on Tmote 
Sky but there are some problem in fact my CyGwin window put out a lot of Errors 
that yuo can see in the image that i attached.

Can you tell me how i have to modify the code to do that the application works 
well on my Tmote Sky please Help me (i think that i must use the Flash that is 
installeted on my Tmote but i no have idea how to do that)

Thanks a lot.

Ps i hope that Many people can help me!!!1




--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Show data and Strings,again

2007-05-04 Thread [EMAIL PROTECTED]
Thanks for answer, but i am confused i don't have understand how i can do what 
i want, have you an complete example(Main modules ...) to understand you to 
show message like i want. 
And aslo i want to write on video a string like: "The value of Temperature" it 
is possible? and i must use java or i can use only NesC?(i don't know well this 
programm language)?

Thanks to all, HELP ME!!!



 
-- Initial Header ---

>From  : "Michael Schippling" [EMAIL PROTECTED]
To  : "[EMAIL PROTECTED]" [EMAIL PROTECTED]
Cc  : "tinyos-help" tinyos-help@Millennium.Berkeley.EDU
Date  : Thu, 03 May 2007 12:33:07 -0600
Subject : Re: [Tinyos-help] Show data and Strings







> You could use MIG to generate a Java class for your message type
> and integrate it into the Listen program. Or here are my Q&D methods
> for converting the byte array buffer elements into Java ints. You give
> them the byte[] message buffer and the offset to the first byte of
> the integer data that you want to "convert".
> 
> MS
> 
> 
>   // convert 2-byte buffer at byte 'start'
>   //  from a little-endian int into a signed Java int
>   // sign extend if necessary
>   protected static int tim( byte[] buf, int start )
>   {
>   int x = ((buf[start+1] << 8) & 0xff00) + (buf[start] & 0xff);
>   if( (x & 0x8000) != 0 )
>   {
>   // they were trying to tell us the value is negative...
>   // so extend the sign to 4 bytes
>   x = (x | 0x);
>   }
>   return x;
>   }
> 
>   // convert 2-byte buffer at byte 'start'
>   //  from a little-endian int into an "unsigned" Java int
>   // do not sign extend...
>   protected static int ti( byte[] buf, int start )
>   {
>   int x = ((buf[start+1] << 8) & 0xff00) + (buf[start] & 0xff);
>   return x;
>   }
> 
>   // convert from a Java int
>   //  into a little-endian int in the buffer at byte 'start'
>   protected static void fi( int data, byte[] buf, int start )
>   {
>   buf[start]   = (byte) (data & 0xff);
>   buf[start+1] = (byte) ((data >> 8) & 0xff);
>   }
> 
> [EMAIL PROTECTED] wrote:
> > HI, on one Tmote Sky i created an application(in Tinyos) that shows the raw 
> > data acquired from an other Tmote, trasmitted by radio. 
> > Now i show the data by the command "..Listen:" and i see a string like that:
> > "7e 00 0a 7d 1a 01 00 14 00 01 00 10 00"
> > where the last 2 bytes are the value of data. 
> > I want to know if it is possible to show a string like that:
> > "The value of SensorXXX is 10 00" 
> > or a string like that(where the value is converted in decimal)
> > "The value of SensorXXX is 4096".
> > Really, i want to know i can do it and i need of some examples to 
> > understand it. 
> > Thanks to all help me
> > PS. Very Thanks to Juan Antonio López Riquelme that help me a lot, can you 
> > help me again?
> >  
> >  
> >  
> > 
> > 
> > 
> > --
> > Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
> > http://click.libero.it/infostrada
> > 
> > 
> > 
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Show data and Strings

2007-05-03 Thread [EMAIL PROTECTED]
HI, on one Tmote Sky i created an application(in Tinyos) that shows the raw 
data acquired from an other Tmote, trasmitted by radio. 
Now i show the data by the command "..Listen:" and i see a string like that:
"7e 00 0a 7d 1a 01 00 14 00 01 00 10 00"
where the last 2 bytes are the value of data. 
I want to know if it is possible to show a string like that:
"The value of SensorXXX is 10 00" 
or a string like that(where the value is converted in decimal)
"The value of SensorXXX is 4096".
Really, i want to know i can do it and i need of some examples to understand 
it. 
Thanks to all help me
PS. Very Thanks to Juan Antonio López Riquelme that help me a lot, can you help 
me again?
 
 
 



--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] (no subject)

2007-05-03 Thread [EMAIL PROTECTED]
Hi, on one Tmote Sky i created an application(in Tinyos) that shows the raw 
data acquired from an other Tmote, trasmitted  by radio. 
Now i show the data by the command "..Listen:" and i see a string like that:
 "7e 00 0a 7d 1a 01 00 14 00 01 00 10 00"
 where the last 2 bytes are the value of data. 
I want to know if it is possible to show a string like that:
"The value of SensorXXX is 10 00" 
or a string like that(where the value is converted in decimal)
 "The value of SensorXXX is 4096".
Really, i want to know i can do it and i need of some examples to understand 
it. 
Thanks to all help me
PS. Very Thanks to Juan Antonio López Riquelme that help me a lot, can you help 
me again?


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] which Linux to use?.

2007-05-02 Thread [EMAIL PROTECTED]

Please browse through the Mailing List Archives at
http://www.tinyos.net/scoop/special/support#mailing-lists and search for
redhat/fedora/ubuntu.

this may help you as problems that users face on different versions of
Linux have been discussed.

Regards,
Manjunath

On Wed, 2 May 2007, sangeeth  kumar wrote:

> Hi all,I am using windows and want to switch it to some Linux OS for creating 
> tinyos applications and for using tinyos simulators.Can anyone plz tell me 
> which linux is preferable,Redhat,Ubuntu,fedora etc.Thanks in advanceWith 
> ThanksSang
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Simulators for TOS.

2007-04-30 Thread [EMAIL PROTECTED]

I just don't know what is the best, but you can simulate the native nesC
code written for MICAZ in the following frameworks:

1) TOSSIM/PowerTOSSIM  (TinyOS simulator with power midelling extensions)
2) AVRORA  (lets you to simulate not only TinyOS applications, as it is not OS 
specific, code compiled for AVR microcontrollers can be
simulated at the instruction levels.)
3) Em-Star (Linux based enviroment)
4) I recently heard that Qualnet also supports simulation of native tinyOS
applications, please check this also.

If you want to simulate your ideas not the native code then you can use
ns-2 as it implements full-fledged 802.15.4 MAC/PHY standard used on MICAZ
motes.

Regards,
D. Manjunath

On Mon, 30 Apr 2007, sangeeth  kumar wrote:

> Hi all,Can anyone plz tell which is the best simulators for TinyOS.Because 
> our micaZ motes will be in large network,runing diff applications 
> concurrently ,i need a simulaor with good GUI(I think TOSSIM is 
> inapproriate).Will these simulators can even simulate the power consumed in 
> motes.Will it take input as nesC programs or only C++ programs.Will the ns2 
> simulator can simulate wireless sensor nodes.Plz help  me.I am looking 
> for simulators for almost a month.With thanksSang
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Problem with variables in Tinyos

2007-04-29 Thread [EMAIL PROTECTED]
Thanks a lot for answer

Hi, ja.lopez.riquelme; i understand it(or i hope) and i want ask you more help 
with this code:

in a module i wrote this:

void output Task(){
uint16_t rCopy;
rCopy=reading;

call Intoutput.output(rCopy);
}

event result_t Timer.fired(){
post output Task();

}

/**and in this module i define "reading" like uint16_t and all needed for 
timer**/

than in Other module i wrote:

command result_t IntOutput.output(uint16_t value) {
TimeP=value;
}

/**Here i define "TimeP" like uint16_t and i binding the interface**/

i want that "TimeP" have teh same value of "reading" but this doesn't happen. 
Can you help me to arrive to may aim? 
Thanks and sorry for bad english



--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Variables in Tinyos

2007-04-27 Thread [EMAIL PROTECTED]
Hi, i want to know if it is possible to pass the value of a variable between 
two differents modules and how i can do it.

Moreover is it possible to create a variable that can be modifided by all 
modules of a application and how i can do it?

Thanks  


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] a question of TinyOS and NesC

2007-04-27 Thread [EMAIL PROTECTED]

Dear Nguyen,

> - How hard to learn NesC.

First of all, nesC is not at all hard to learn. It is actually intended to
make sensor application programmer's life easy. I suggest you to
skim through the TinyOS tutorial available in the Net
and directly start with Blink application.

> - And what is the advantages of NesC compare to other programming language.

Please have a look at the following paper: "The nesC Language: A Holistic
Approach to Networked Embedded Systems." If you want you can also browse through
one of my presentations avalable at:
http://foss.in/2005/slides/manjunathIIsc.ppt

Regards,
Manjunath

> I am sorry if I have stupids questions.
> Cheers,
> Nguyen.
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] backoff & CSMA

2007-04-26 Thread [EMAIL PROTECTED]

Hi,

Though I don't know the answer to your question, I was just
wondering, how the throughput can be improved by disabling backoffs, do
you have only one node sending data; I mean is there no contention for the
channel ?

Manjunath

On Fri, 20 Apr 2007, Jeong Kwanhee wrote:

> Hello all!!
>
>
>
> I want to increase about throughput in micaz's surge application.
>
> So, I'm currently doing to remove backoff and ack.
>
> However, I don't know how to disable backoff. (I found how to disable ack.)
>
>
>
> I think that I have to use CC2420Radio or CC2420Control. Is right? I can't
> find and do this.
>
> Give me a hint.
>
>
>
> My experiment is using micaz, tinyos 1.x.x.
>
>
>
> Regards.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[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.libero.it/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[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/infostrada



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] (no subject)

2007-04-20 Thread [EMAIL PROTECTED]
Hi, i have a problem. I have to take datas from two different sensors on 
Tmote-Sky(Light and Temperature) and send on two differente radio channel to an 
other tmote-sky. After the transmission, radio turn off and then restart one 
second before the next ADC sampling (I hope!).
I wrote this code but the transmitter doesn't work well

configuration SenseToRfm {
// this module does not provide any interface
}   
implementation
{
  components Main, SenseToInt, IntToRfm, IntToRfm_8, IntToLeds, TimerC, ADCC, 
HamamatsuC as Sensor, DemoSensorC as Sensor_1, SenseToInt_PP;

  Main.StdControl -> SenseToInt;
  Main.StdControl -> IntToRfm;

  Main.StdControl -> SenseToInt_PP;
  Main.StdControl -> IntToRfm_8;

  SenseToInt.Timer -> TimerC.Timer[unique("Timer")];
  SenseToInt.TimerControl -> TimerC;
  SenseToInt.ADC -> Sensor.PAR;
  SenseToInt.ADCControl -> Sensor;
  SenseToInt.IntOutput -> IntToRfm;

  IntToLeds <- SenseToInt.IntOutput;

  SenseToInt_PP.Timer -> TimerC.Timer[unique("Timer")];
  SenseToInt_PP.TimerControl -> TimerC;
  SenseToInt_PP.ADC -> Sensor_1;
  SenseToInt_PP.ADCControl -> Sensor_1;
  SenseToInt_PP.IntOutput -> IntToRfm_8;
}

SenseToInt and SenseToInt_PP are the same, the only change is the sensor.

The code of IntToRfm is:



includes IntMsg;

configuration IntToRfm
{
  provides {
interface IntOutput;
interface StdControl;
  }
}
implementation
{
  components IntToRfmM, TimerC, GenericComm as Comm

// HPLPowerManagement is only needed for AVR based platforms
#ifdef __AVR__
   , HPLPowerManagementM as PM
#endif
   ;
#ifdef __AVR__
  CountSleepRadioM.PowerManagement -> PM;
  CountSleepRadioM.Enable -> PM.Enable;
#endif


  IntOutput = IntToRfmM;
  StdControl = IntToRfmM;

  StdControl = TimerC;

  IntToRfmM.Send -> Comm.SendMsg[AM_INTMSG];
  IntToRfmM.SubControl -> Comm;

  IntToRfmM.Timer -> TimerC.Timer[unique("Timer")];

 }



and IntToRfmM is:



includes IntMsg;
includes Timer;

module IntToRfmM 
{
  uses {
interface StdControl as SubControl;
interface SendMsg as Send;
interface Timer;
  }

 // these are only needed for Atmel AVR based platforms
#ifdef __AVR__
  uses interface PowerManagement;
  uses command result_t Enable();
#endif

  provides {
interface IntOutput;
interface StdControl;
  }
}
implementation
{
  bool pending;
  TOS_Msg data;

  command result_t StdControl.init() {
pending = FALSE;
   #ifdef __AVR__
call Enable();
call PowerManagement.adjustPower();
   #endif
call SubControl.init();
   return SUCCESS;
  }

  command result_t StdControl.start() 
  {
call SubControl.start();
return SUCCESS;
  }


command result_t StdControl.stop() 
  {
return SUCCESS;
  }

  command result_t IntOutput.output(uint16_t value)
  {
IntMsg *message = (IntMsg *)data.data;

if (!pending) 
  {
pending = TRUE;


message->val = value;
atomic {
  message->src = TOS_LOCAL_ADDRESS;
}
if (call Send.send(TOS_BCAST_ADDR, sizeof(IntMsg), &data))
  return SUCCESS;

pending = FALSE;
  }
return FAIL;
  }

  event result_t Send.sendDone(TOS_MsgPtr msg, result_t success)
  {
if (pending && msg == &data)
  {
pending = FALSE;

signal IntOutput.outputComplete(success);
  }
call SubControl.stop();
call Timer.start( TIMER_ONE_SHOT, 4000 );

return SUCCESS;
  }

  event result_t Timer.fired()
 {
   call SubControl.start();
   return SUCCESS;

  }
}


The difference between IntToRfm and IntToRfm_8 is the value of AM_INTMSG (4 for 
IntToRfm, 8 for IntToRfm_8). I would like to know if the code is correct and 
whick are the bugs. Please help.

Thanks
Simone


--
Leggi GRATIS le tue mail con il telefonino i-mode™ di Wind
http://i-mode.wind.it/



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] how to get tossim virtual location of a mote?

2007-04-03 Thread [EMAIL PROTECTED]
Dear
I am a student of University of Catania,
I would like to make a 
program where is possible to change the congestion window of mac 
protocol in base of the motes's location. 
Because I saw an your 
message where you wrote that you have some problem(the same of my).
I 
tell you if you solve this problem.

Thanks
Salvatore Costanzo
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Configuration file for TOSSIM

2007-03-19 Thread [EMAIL PROTECTED]
Currently tossim only compiles for micaz - but the network configuration 
file example (and provided the 15x15 grid text files) are for mica2.


What are the implications for running a micaz simulation against a mica2 
 radio configuration file?



Many thanks,

Stephen Brown
Department of Computer Science
NUI Maynooth
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] linking problem in Tossim

2007-01-26 Thread [EMAIL PROTECTED]
Only "micaz" is supported in simulation (see Tutorial, Lesson 11). 

Try:
- make micaz sim


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada26gen07



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tossim architecture in TinyOS 2.0

2007-01-22 Thread [EMAIL PROTECTED]
The architecture described in "TOSSIM: Accurate and Scalable Simulation of 
Entire TinyOS Applications" is also valid for Tossim in TinyOS 2.0?

Thanks a lot for any help.
Salvo


--
Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom
http://click.libero.it/infostrada23gen07



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Input to xxxxC component

2006-12-14 Thread [EMAIL PROTECTED]

Following is a configuration file and SamplingC is being used in some
other config. file say C, now, the need is:

In C, is it possible to ask SamplingC to bind its ADC to a
particular PORT. (mean, can I set "YYPORTYY" value dynamically
in the config. file C)

Thanking you,
D. Manjunath

configuration SamplingC
{
provides {
interface Sampling[uint8_t id];
}
}

implementation
{
components Main, TimerC, SamplingM, ADCC, MicC;

Sampling = SamplingM.Sampling;

SamplingM.ADC -> ADCC.ADC[YPORTYY];

SamplingM.ADCControl -> ADCC.ADCControl;
SamplingM.Mic -> MicC;
SamplingM.MicControl -> MicC.StdControl;
SamplingM.SamplingClock -> TimerC.Timer[unique("Timer")];
}


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyAODV

2006-11-28 Thread [EMAIL PROTECTED]
Hello,
Where can I find an implementation of TinyAODV for TinyOs 2 ?
Calogero.


--
Scopri il nuovo MOTOROLA K1, il cellulare con superficie frontale a specchio. 
Se sarai fortunato potrai anche vincerne uno! Clicca e vinci !
http://click.libero.it/motorola28nov06



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tamper Proof Motes

2006-11-13 Thread [EMAIL PROTECTED]

Dear Friends:

Does anybody have some information regarding Tamper Proof Mote
hardware? Actually we are planning to buy them.

Regards,
Manjunath

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Surge Reliable

2006-10-24 Thread [EMAIL PROTECTED]
I would like to know if the preinstalled program in mica2 is surge_reliable and if the program Surge-View works with this this mica2 program.


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Surge_Reliable program

2006-10-23 Thread [EMAIL PROTECTED]
I would like to install the preinstalled program in mica2 (Surge_Reliable). I write:
make mica2 install, ID mib510, com4
but the network doesn´t work and the Surge-View program doesn´t detect any mote. Anyone knows what the problem is?
Thank you very much
 
 


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread [EMAIL PROTECTED]

Oh!!! Here I am re-attaching the 10KB program...


manjunath

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

#define PROBABILITY 0.01
#define THRESHOLD 0.5
#define NUM_OF_NODES 3






/* 
 * Random Number Generator
 */

/* Random number generator ran1 from Computers in Physics */
/* Volume 6 No. 5, 1992, 522-524, Press and Teukolsky */
/* To generate real random numbers 0.0-1.0 */
/* Should be seeded with a negative integer */
#define IA 16807
#define IM 2147483647
#define IQ 127773
#define IR 2836
#define NTAB 32
#define EPS (1.2E-07)
#define MAX(a,b) (a>b)?a:b
#define MIN(a,b) (a=0;j--) {
k = *idum/IQ;
*idum = IA*(*idum-k*IQ)-IR*k;
if(*idum < 0) *idum += IM;
if(j < NTAB) iv[j] = *idum;
}
iy = iv[0];
}
k = *idum/IQ;
*idum = IA*(*idum-k*IQ)-IR*k;
if(*idum<0) *idum += IM;
j = iy*NDIV;
iy = iv[j];
iv[j] = *idum;
return MIN(AM*iy,RNMX);
}
#undef IA 
#undef IM 
#undef IQ
#undef IR
#undef NTAB
#undef EPS 
#undef MAX
#undef MIN


time_t syncsecs;
short syncmsecs;
void *playSound();
void *randomSound();

typedef struct TOS_Msg {
uint16_t addr;
uint8_t type;
uint8_t group;
uint8_t length;
uint8_t data[29];
}TOS_Msg;
typedef TOS_Msg * TOS_MsgPtr;

/* 
 * Time stamped pkt
 */
typedef struct localTOS_Msg {
uint16_t addr;
uint8_t type;
uint8_t group;
uint8_t length;
uint8_t data[29];
}localTOS_Msg;
 
   typedef struct DemoMsg {
  uint16_t source;
  uint16_t number;
  char color;
  } DemoMsg;
 
   typedef DemoMsg * DemoMsgPtr;
 
  / Read Input Line **/
  // this is some old code I copied from another program to 
  // read a line of input from the keyboard
  int getline( char s[], int lim ) {
 int c, i;
 for (i=0; ilength + sizeof(TOS_Msg) - 29;
 s = (char *) p;
  // SerialForwarder expects the first byte to be a count
  // of the number of bytes in the TOS_Msg.
  r = write(socket, &n, 1);
  // printf("sent %x\n",n);
  if (r < 0) { perror("putStream error"); exit(errno); }
 
 for (i = 0; i < n; i++) {
r = write(socket, &s[i], 1);
// printf("sent %x\n",*(s+i));
if (r < 0) { perror("putStream error"); exit(errno); }
}
  }

  / Read Stream from Socket **/
  void getStream( int socket, TOS_MsgPtr p ) {
 int i, r;
 char * s;
 uint8_t n;
 extern int errno;
 s = (char *) p;

 // first byte read should be the count of the number
 // of bytes in the received TOS_Msg
 r = read(socket, &n, 1);
 if (r < 0) { perror("getStream error"); exit(errno); }
 if (r == 0) { printf("connection broken!\n"); exit(0); }
 // printf("got message for %d bytes\n",m); 

 // now read the data
 if ( n > sizeof(TOS_Msg) ) {
printf("wierd message for %d bytes returned\n",n);
exit(1);
}
 for (i = 0; i < n; i++) {
r = read(socket, &s[i], 1);
if (r < 0) { perror("getStream error"); exit(errno); }
if (r == 0) { printf("connection broken!\n"); exit(0); }
}
 return;
  }

  / Exchange SF Protocol Number **/
  // wierd protocol code needed by SerialForwarder -- totally
  // undocumented, I had to read the code of SFProtocol.java
  void exchange( int socket ) {
 int i, r;
 char s[2];
 extern int errno;
 for (i = 0; i < 2; i++) {
r = read(socket, &s[i], 1);
if (r < 0) { perror("getExchange error"); exit(errno); }
if (r == 0) { printf("connection broken!\n"); exit(0); }
}
 if ( !(s[0] == 'T' & s[1] == '!') ) {
printf("SFProtocol exchange failed\n"); exit(0);
}
 s[1] = ' ';
 for (i = 0; i < 2; i++) {
r = write(socket, &s[i], 1);
if (r < 0) { perror("putExchange error"); exit(errno); }
}
 }

int firstTime=0;
int soundFlag=0;
int sampleIndex, samples[10], startSoundFlag, decisionFlag=0, randomFlag;
double globalTime;
double randomTime;
int seed=0;
double uniformDistVal=0.0;
double mu=0.0;
double LR[2000];
int seqNumOnBS=0;

/* 
 * Algorithm
 */

int algorithm()
{
double partOne, partTwo, denominator;

partOne = ( (1.0-mu)*(1-PROBABILITY) ) / (mu + (PROBABILITY*(1-mu)) );
partTwo = LR[samples[0]] * LR[samples[1]] * LR[samples[2]];
denominator = 1 + (partOne*partTwo);
mu = 1/denominator;
//printf("MU = %e\n", mu);
if(mu > THRESHOLD)
return 1;
e

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread [EMAIL PROTECTED]

Hi,
Here is C program in the attachment. And I have used some threads
may you can just comment that part of the code. Make sure you are running
Serial Forwarder.

Hope this helps...
Manjunath

On Thu, 19 Oct 2006, Markus Becker wrote:

>
> On Thu, 19 Oct 2006, prabhu govindaswamy wrote:
>
> > Hi,
> >
> > Is there any C program available to listern.
>
> In tools/src/sf/
>
> > I desperately need one to communicate between PC and
> > Tmote. I am zero in java and dont want to jump into
> > ...
> > Help appreciated.
> >
> > --
> > Thanks and Regards,
> > prabhu
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] WSN in presence of dense WLAN

2006-10-06 Thread [EMAIL PROTECTED]

I just need a clarification:

Ok, It is implicit that I am not considering RTS/CTS, what about in
the case Basic Access and everyone is in the vicinity of each other (Both
WLAN nodes and zigbee motes) ???

Thanking you,
D. Manjunath

On Fri, 6 Oct 2006, Razvan Musaloiu-E. wrote:

> Hi!
>
> On Fri, 6 Oct 2006, [EMAIL PROTECTED] wrote:
>
> >
> > The following is just a thought, any commnets will be very useful...
> >
> > As Both WLAN (802.11) and micaz (802.15.4) are CSMA/CA based, how can
> > there could be collisions between their packets? Does'nt Carrier Sense
> > Threshold would takecare of collisions ?
>
> Zigbee and WiFi don't understand each other (Zigbee doesn't hear nor send
> the RTSs/CTSs from WiFi) so they are not really collaborating in sharing
> the environment.
>
> Some time ago we did a bunch of tests and we were able to detect a used
> WiFi channel using the CC2420's RSSI. :-)
>
> --
> Razvan ME
>
> > Offcourse there could be decrease in the overall throughput in the
> > presence of WLAN as number of contensions (nodes) increases collision
> > probability increases.
> >
> > Regards,
> > Manjunath
> >
> > On Thu, 5 Oct 2006, Tarun Bansal wrote:
> >
> > > We have a dense WLAN (802.11g) running at our place (a closed room).
> > > When we try to run our micaz motes (working at 2.405 Ghz) - most of
> > > the packets are dropped midway. Is it because of the dense WLAN at the
> > > same place? If yes, then is there any solution (apart from switching
> > > off the WLAN, of course)
> > >
> > > Tarun
> > >
> >
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] WSN in presence of dense WLAN

2006-10-05 Thread [EMAIL PROTECTED]

The following is just a thought, any commnets will be very useful...

As Both WLAN (802.11) and micaz (802.15.4) are CSMA/CA based, how can
there could be collisions between their packets? Does'nt Carrier Sense
Threshold would takecare of collisions ?

Offcourse there could be decrease in the overall throughput in the
presence of WLAN as number of contensions (nodes) increases collision
probability increases.

Regards,
Manjunath

On Thu, 5 Oct 2006, Tarun Bansal wrote:

> We have a dense WLAN (802.11g) running at our place (a closed room).
> When we try to run our micaz motes (working at 2.405 Ghz) - most of
> the packets are dropped midway. Is it because of the dense WLAN at the
> same place? If yes, then is there any solution (apart from switching
> off the WLAN, of course)
>
> Tarun
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] acceleromenter data calculate

2006-10-04 Thread [EMAIL PROTECTED]
Spam detection software, running on the system "mail.Millennium.Berkeley.EDU", 
has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Hello. I would like to calculate the accelerometer 
  data and I have decipher the byte of the raw data. and I have copy the 
  formula from the xconvert.c but my program doesn´t work. Anyone knows 
  what the problem is? [...] 

Content analysis details:   (5.7 points, 5.0 required)

 pts rule name  description
 -- --
 2.6 TERRA_ES   URI: Contains URI to a document hosted at 'terra.es'
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.0 BAYES_50   BODY: Bayesian spam probability is 40 to 60%
[score: 0.4978]
 0.2 HTML_20_30 BODY: Message is 20% to 30% HTML
 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see ]
 1.6 DNS_FROM_RFC_POST  RBL: Envelope sender in postmaster.rfc-ignorant.org

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
Hello. I would like to calculate the accelerometer data and I have decipher the byte of the raw data. and I have copy the formula from the xconvert.c but my program doesn´t work. Anyone knows what the problem is?
Thank you
 


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



--- End Message ---
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] xlisten output

2006-09-14 Thread [EMAIL PROTECTED]
Hi!
Please do yo know how to use the -o function in xlistener? Thank you


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] about xlisten

2006-09-13 Thread [EMAIL PROTECTED]
I have problems with xlisten because I can´t see cooked data. I only can see raw data. Do you know what is the cause of this problem?
Thank you.
 


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] about listenraw

2006-09-12 Thread [EMAIL PROTECTED]
I would like to know if you thik if the progran listenraw could be modificated in java for sending for another serial port the sensing information sensed by motes an collected by MIB510. The application is to convert the packets in a pc with a modified program of listen raw and send for a rs232 port ASCII characters to another devices.
Thank you.
 


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] installation query

2006-09-08 Thread [EMAIL PROTECTED]

"make pc" just compiles your program for your PC's architecture.
I suggest you to go through TOSSIM manual.

Manjunath

On Fri, 8 Sep 2006, preeti k wrote:

> Hello there..
> i have been trying to install tinyos1.x on fedora core 5 . I need to use
> tossim as well.  i typed 'make pc ' on the prompt  to get tossim running but
> i could not. Can anyone help please
>
> Preeti
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] ASSEMBLER ERROR, make micaz sim, McuSleepC

2006-09-06 Thread [EMAIL PROTECTED]
Good evening,

When I try to use McuSleepC and Tossim I obtain the following compilation error:

/tmp/ccTyOEVj.s: Assembler messages:
/tmp/ccTyOEVj.s:34478: Error: no such instruction: `sleep'

I haven't any problem when I try to compile it for micaz platform, instead.

Have a good night !

bye.




--
Mutui a tassi scontati da 30 banche. Richiedi online e risparmia...Servizio 
gratuito.
http://click.libero.it/mutuionline6



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] mib510 data to a another device

2006-09-05 Thread [EMAIL PROTECTED]

Hello everybody!
I have to connect mib510 to gsm module (which expects characters) so I should know the way of converts the mib510 transmissions to characters for sending after to a gsm module via rs232.
Another possibility is convert the binnary stream to characters in my gsm module but I should know the binary format of the mib510 packets. Anybody know this format?
Thank you for your help
 
 
 Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Re: SOS

2006-08-30 Thread [EMAIL PROTECTED]

For techniqal differences please have a look at
http://www.ece.iisc.ernet.in/network_labs/manjunath/commag.pdf

Regads,
Manjunath

On Wed, 30 Aug 2006, Tan Han Chiang wrote:

>
> Hi all,
>
> did anyone did any comparison between tinyOS and SOS (sensor operating
> system)?? What is their main difference beside the programming language?
> Any advantages or disadvantages of one over the other?? is SOS more user
> friendly due to the language (C instead of nesC)??
>
> Thanks.
>
>  Institute For Infocomm Research - Disclaimer -
> This email is confidential and may be privileged.  If you are not the 
> intended recipient, please delete it and notify us immediately. Please do not 
> copy or use it for any purpose, or disclose its contents to any other person. 
> Thank you.
> 
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Tossim 2.0 Collection, Segmentation fault !

2006-08-28 Thread [EMAIL PROTECTED]
Hi,

Every time I try to define a topology with six or more nodes using collection 
algorithm, TOSSIM gives me a segmentation fault error. I know I'm giving you a 
very poor information, but before annoying you with a lot of code, I would like 
to know whether it is a known issue or it is only a problem of mine.

Thank you all.


___
Prestiti da 15 istituti. Tan dal 5,90% per richieste entro il 31 Agosto. 
Servizio gratuito.
http://click.libero.it/mutuionline1



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] basicsb PhotoC Micaz TinyOs 2.0

2006-08-21 Thread [EMAIL PROTECTED]

I have a question about PhotoC.nc: can I use this component in Micaz motes ?
What kind of values should I expect from the PhotoC sensor ? 
I've tried to use it, but the result I obtain is a raw value between 8000 and 
1.


___
Prestiti da 15 istituti. Tan dal 5,90% per richieste entro il 31 Agosto. 
Servizio gratuito.
http://click.libero.it/mutuionline1



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TinyAODV - SingleHopMsg;

2006-08-17 Thread [EMAIL PROTECTED]

Dear Friends,

Have problems in using SingleHopMsg interface.

I am able to send messages via SingleHopMsg and also receiving
messages at the other end but payload pointer of Receive.receive is not
pointing to the original data that I had sent. I doubt in the way
I am filling the TOS_MSg.data to send payload on multihop.

If some have used SingleHopMsg interface succesfully please let me
know.

Thanking you,
D. Manjunath

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] nesC Text-Editor

2006-08-14 Thread [EMAIL PROTECTED]

Hi Friends,

Is there a text editor that understands nesC? If one exists
or If somebody is working on it ? please let me know.

The information will be very useful as a group of students here
planning to develop one such editor.

Thanking you,
D. Manjunath

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] connect MIB510 to the pc via hyperterminal

2006-08-08 Thread [EMAIL PROTECTED]
I am developing an application  in wich three sensors (MICA2 Crossbow) send the information to a gateway and this gateway (MIB510 Crossbow) via RS232 port to a GSM terminal for sending the information by the mobile network. This is the reason why I want to "see" first how take or save the serial data in hyperterminal for study how it works and I would like to know if I need to configure something in the sensors, the gateway or my PC for compleet my application. Is there any problem with the serial port? I would appreciate it if somebody can help me
 
I´m Spanish. Sorry for my english. Thank you everybody.
 
Bye


Prueba el Nuevo Correo Terra; Seguro, rápido, fiable.



___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

RE: [Tinyos-help] Re: IEEE-802.15.4 - Beacon Mode

2006-08-07 Thread [EMAIL PROTECTED]

Yes I am also concerned about slotted ACKs.

Section 5.2 considers the fact that it is not neccesary to fire a timer
every 20 symbols and proposes Adaptive Timer Resolution mechanism. but
later it quotes proposed mechanism could not solve the starvation problem
at the data rate of 2 frames/sec.

As paper title gives a view that TinyOS concepts is the limitation for
supporting beacon mode. But I think the real bottleneck is hardware (MCU)
capabilities itself. I am also trying understand how any other modren
operating system with preemptive scheduling (for ex. t-kernel) can handle
the situation.

Thanking you,
D. Manjunath

On Tue, 8 Aug 2006, [iso-8859-1] Diego Bartolomé Arquillo wrote:

> Hi all,
> I am agree with Phil about the section 5.1 of the paper. It is not neccesary 
> to fire a timer every 20 symbols. I think the statement: "In order to 
> communicate in a beacon-enabled network, a timer expiring every 20 symbols, 
> i.e. 320 us, is needed" is not correct. The only real problem that I see, 
> could be the related in section 5.3. If it is true that the transmission of 
> an acknowledgment from software require 132 symbols, it will not be possible 
> to carry out the timing requirements for slotted acknowledgments.
> BR,
> Diego
>
> -----Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Philip Levis
> Enviado el: martes, 08 de agosto de 2006 0:00
> Para: [EMAIL PROTECTED]
> CC: tinyos-help@millennium.berkeley.edu
> Asunto: Re: [Tinyos-help] Re: IEEE-802.15.4 - Beacon Mode
>
> On Aug 5, 2006, at 4:30 AM, [EMAIL PROTECTED] wrote:
>
> >
> >  Dear friends,
> >
> > The paper entitled "EVALUATING THE USE OF MOTES AND TINYOS FOR
> > A MOBILE SENSOR PLATFORM"
> > evaluates 802.15.4 (beaconmode) on a real sensor network of micaz and
> > telos motes.
> > Suprisingly, it says beacon mode can not be supported on
> > capabilities that present motes posses. Any comments on  the paper
> > will be very useful...
> >
> > please google for the paper as attachment mails are bouncing back
>
> I'm not sure if I understand all of the conclusions made in the paper; among 
> other things, Jonathan Hui and Joe Polastre implemented
> 802.15.4 beaconing mode as part of the implementation of SP.
>
> For example, in section 5.1 you state that 15.4 requires a periodic 20 symbol 
> timer, and that this makes it impossible to implement properly. I don't think 
> your statement is correct. It requires a timer with a fidelity of 1 symbol, 
> but there's nothing there that means that you need to fire a timer every 20 
> symbols... why would you need to do so? You're picking a random number in the 
> range of random
> (2^(BE-1)) unit periods...
>
> Phil
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Re: IEEE-802.15.4 - Beacon Mode

2006-08-07 Thread [EMAIL PROTECTED]




On Mon, 7 Aug 2006, Philip Levis wrote:

> On Aug 5, 2006, at 4:30 AM, [EMAIL PROTECTED] wrote:
>
> >
> >  Dear friends,
> >
> > The paper entitled "EVALUATING THE USE OF MOTES AND TINYOS
> > FOR A MOBILE SENSOR PLATFORM"
> > evaluates 802.15.4 (beaconmode) on a real sensor network of micaz
> > and telos motes.
> > Suprisingly, it says beacon mode can not be supported on
> > capabilities that present motes posses. Any comments on  the paper
> > will be very useful...
> >
> > please google for the paper as attachment mails are bouncing back
>
> I'm not sure if I understand all of the conclusions made in the
> paper; among other things, Jonathan Hui and Joe Polastre implemented
> 802.15.4 beaconing mode as part of the implementation of SP.
>
> For example, in section 5.1 you state that 15.4 requires a periodic
> 20 symbol timer, and that this makes it impossible to implement
> properly. I don't think your statement is correct. It requires a
> timer with a fidelity of 1 symbol, but there's nothing there that
> means that you need to fire a timer every 20 symbols... why would you
> need to do so? You're picking a random number in the range of random
> (2^(BE-1)) unit periods...
>
> Phil
>


Yes you are correct. The author (not me) considers the fact of picking a
random number in the range of random (2^(BE-1)) unit periods in the section 5.2.
And accordingly sets the timer interrupt rate.

Intresting fact is in 5.3. The author quotes it is not possible to
statisfy the ACK (slotted ACK) timing requirements as lower levels of
TinyOS takes more time.

I will try to see Jonathan Hui's code to get how slotted ACKs being
handled in his implementation.

Thanking you,
Manjunath







> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] TINYOS 2.0, micaz, ADC, Atmega HELP !

2006-08-06 Thread [EMAIL PROTECTED]

Hi,
 
I'm desperately trying to understand how to use Atmega pins in order to
powerup mst420 sensors and reading Humidity, Temperature, Light, pression 
Voltage ADC raw value. I wasn't able to find anything about it.

Secondly, I would like to know when micaz sensor part will be implemented,
because I'm doing my MSc thesis and I must decide whether using DemosensorC, 
or using real sensors. The second case would be better, because I'm trying to 
define a BDI Agent architecture suitable for working in motes, and ADC 
readings, particularly those regarding Voltage, would be very useful to define 
intelligent proactive behaviours. 


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: IEEE-802.15.4 - Beacon Mode

2006-08-05 Thread [EMAIL PROTECTED]

 Dear friends,

The paper entitled "EVALUATING THE USE OF MOTES AND TINYOS FOR A MOBILE 
SENSOR PLATFORM"
evaluates 802.15.4 (beaconmode) on a real sensor network of micaz and 
telos motes.
Suprisingly, it says beacon mode can not be supported on
capabilities that present motes posses. Any comments on  the paper
will be very useful...

please google for the paper as attachment mails are bouncing back

 Regards,
 D. Manjunath


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] micaZ: TinyOS 2.0, atmega128 which pins ??

2006-08-04 Thread [EMAIL PROTECTED]

Hi,
I'm trying to understand how to read Voltage ADC values in micaZ using TinyOS 
2.0 and mts420, but without success. Moreover I saw there's an implementation 
of PhotoC in tos/sensorboards/basicsb, I tried to use it, but the result value 
isn't significative, maybe because it is for a different sensorboard. Which 
pins of HplAtm128GeneralIOC.nc I am supposed to use in order to read:

Voltage ADC raw values
Temperature ADC raw values 
Humiditiy ADC raw values
Light ADC raw values


?

Thank you in advance for any kind of advice,

Stefano Bromuri




___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] simulator ?

2006-07-21 Thread [EMAIL PROTECTED]


We simulated 802.15.4 based sensor clusters using ns2. (Offcourse not
TinyOS based applications)

Manjunath
On Fri, 21 Jul 2006, Roberto wrote:

> Does anyone know if exist a simulator that manage radio models and also
> simulates the delays due to the processing (interrupt handling, mac,
> task queue) for sensor networks?
>
> thanks
>
> ___
> Tinyos-help mailing list
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] micaz

2006-07-15 Thread [EMAIL PROTECTED]


What you can get is 10-bit PCM samples and have a look at an
sensing (temperature, light..) application in apps/ directory. All you
need to do is to ask TinyOS ADC component to sample microphone port.

Regards,
Manjunath

On Sat, 15 Jul 2006, antonio gonga wrote:

>
> hello;
>
> I'm using MTS300/310 Multi sensor Board and I need to acquire audio from 
> microphone and send it to the Base station to be Played,
> please if anyone knows how can I aquire audio from Microphone feel free to 
> make know me. And I'd like to know the type of data from
> Microphone, if it?s PCM or not..
>
> regards
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] tinyOs vs Kontiki..

2006-06-28 Thread [EMAIL PROTECTED]


Hi,

Have a look at the following paper:
http://www.ece.iisc.ernet.in/network_labs/manjunath/commag.pdf

Manjunath

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: Installing applications on the imote2

2006-05-25 Thread [EMAIL PROTECTED]
I have solved the problem (finally).The solution was to rebuild xscale-elf-gcc and newlib, passing --disable-new-lib_hw_fp to the newlib configure.  Without this flag, gcc was trying to initalize a hardware floating point coprocessor, which caused the nodes to crash.
This also solved the problem someone mentioned awhile ago about the "literal needs to be closer to pool" error .  Hopefully this will help someone.John.
On 5/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I am trying to do some simple work with the imote2s, but I can't seem to get them to program correctly.  The applications will build and program without any errors, but when I restart the node, nothing happens.  Here's a quick sample:
~/tinyos-1.x/apps/Blink$ make install imote2 debugmkdir -p build/imote2xscale-elf-gcc -c -mcpu=iwmmxt -mfpu=softfpa /home/ledbettj/build/tinyos-
1.x/tos/platform/pxa27x/../imote2/flash.s     compiled Blink to build/imote2/main.exe  152256 bytes in ROM    4608 bytes in RAM
xscale-elf-objcopy --output-target=binary build/imote2/main.exe build/imote2/main.bin.outdwarf2bd build/imote2/main.exeIntel(R) DWARF2BD Object Converter, Version 2.9.24Copyright (C) 2001-2005 Intel Corporation.  All rights reserved.
    installing imote2 binary using the parallel port jtag adapter/cygdrive/c/Program\ Files/Intel/SDT2.0.1/xflash/xflash.exe -p imote2 -tt "INTEL(R) JTAG CABLE" build/imote2/main.bin.outXFLASH - Intel(R) JTAG flash memory programmer - Version: 
1.5.3Copyright(C) 2001-2005 Intel Corporation. All rights reserved.Selected platform: IMOTE2Task : burn flashFile to burn : build/imote2/main.bin.outConnecting to target via "lpt1:" ...
JTAG debug handler uses virtual address range 0x0120..0x010007FFINFO: To enable Mini-I-cache breakpoints use the "MINIIBP" target option.take initial batchfile:  "c:/Program Files/Intel/SDT2.0.1/xflash/action-
flash.xdb"   Memory Successfully Burned.   Prepare the burn algorithm...Downloading the burn algorithm...finishedDetect and Verify File Format...Erasing Blocks... Current Block: 0  at address 0x0

Erasing Blocks... Current Block: 1  at address 0x8000Erasing Blocks... Current Block: 2  at address 0x1Erasing Blocks... Current Block: 3  at address 0x18000Erasing Blocks... Current Block: 4  at address 0x2
Progress: 100%Burning Binary File...Burning Binary File... 148 KBytes of 148 KBytes remaining.Burning Binary File... 84 KBytes of 148 KBytes remaining.Burning Binary File... 20 KBytes of 148 KBytes remaining.
Progress: 100%File successfully burned.The node is obviously being erased, since it came preloaded with Count to LEDS/RF, and no longer does so, but something is going wrong in the programming.  Any ideas?
John Ledbetter[EMAIL PROTECTED]

-- John Ledbetter[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Installing applications on the imote2

2006-05-18 Thread [EMAIL PROTECTED]
I am trying to do some simple work with the imote2s, but I can't seem to get them to program correctly.  The applications will build and program without any errors, but when I restart the node, nothing happens.  Here's a quick sample:
~/tinyos-1.x/apps/Blink$ make install imote2 debugmkdir -p build/imote2xscale-elf-gcc -c -mcpu=iwmmxt -mfpu=softfpa /home/ledbettj/build/tinyos-
1.x/tos/platform/pxa27x/../imote2/flash.s     compiled Blink to build/imote2/main.exe  152256 bytes in ROM    4608 bytes in RAM
xscale-elf-objcopy --output-target=binary build/imote2/main.exe build/imote2/main.bin.outdwarf2bd build/imote2/main.exeIntel(R) DWARF2BD Object Converter, Version 2.9.24Copyright (C) 2001-2005 Intel Corporation.  All rights reserved.
    installing imote2 binary using the parallel port jtag adapter/cygdrive/c/Program\ Files/Intel/SDT2.0.1/xflash/xflash.exe -p imote2 -tt "INTEL(R) JTAG CABLE" build/imote2/main.bin.outXFLASH - Intel(R) JTAG flash memory programmer - Version: 
1.5.3Copyright(C) 2001-2005 Intel Corporation. All rights reserved.Selected platform: IMOTE2Task : burn flashFile to burn : build/imote2/main.bin.outConnecting to target via "lpt1:" ...
JTAG debug handler uses virtual address range 0x0120..0x010007FFINFO: To enable Mini-I-cache breakpoints use the "MINIIBP" target option.take initial batchfile:  "c:/Program Files/Intel/SDT2.0.1/xflash/action-
flash.xdb"   Memory Successfully Burned.   Prepare the burn algorithm...Downloading the burn algorithm...finishedDetect and Verify File Format...Erasing Blocks... Current Block: 0  at address 0x0
Erasing Blocks... Current Block: 1  at address 0x8000Erasing Blocks... Current Block: 2  at address 0x1Erasing Blocks... Current Block: 3  at address 0x18000Erasing Blocks... Current Block: 4  at address 0x2
Progress: 100%Burning Binary File...Burning Binary File... 148 KBytes of 148 KBytes remaining.Burning Binary File... 84 KBytes of 148 KBytes remaining.Burning Binary File... 20 KBytes of 148 KBytes remaining.
Progress: 100%File successfully burned.The node is obviously being erased, since it came preloaded with Count to LEDS/RF, and no longer does so, but something is going wrong in the programming.  Any ideas?
John Ledbetter[EMAIL PROTECTED]
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Making posts in tinyos-help

2006-05-17 Thread [EMAIL PROTECTED]
Hello, i've just subscribed and I'd like to make posts in tinyos-help.

Best Regards,
   Umberto
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] How to debug

2006-04-14 Thread [EMAIL PROTECTED]

The best choice is to use TOSSIM, a simulator for TinyOS applications,
please read TOSSIM manual

To debug code on the real motes you may make use of LEDS on the mote...

I hope this hepls you...
Regargds,
Manjunath
On Fri, 14 Apr 2006, Sara B. wrote:

>  Hi,
>
> I'm using micaz platform and I want to know how to debug nesC code on a
> mote. I'd be great if someone could give me a clue about how to begin to
> debug and if it is very difficult or not.
>
> Thanks,
>
> S.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] About "malloc"

2006-04-11 Thread [EMAIL PROTECTED]


Hi,
  What you are seeing is in the PC area, code will not be compiled while
your target is MOTE.

  Why nesC frowns on malloc() ?
  Answeres for the above question can be found in TinyOS
  archives please serach archives

  If you need dynamic memory allocation use "TinyAlloc"


I hope this helps

Regards,
Manjunath
On Wed, 12 Apr 2006, Tran Trong Tri wrote:

> Hi,
> Thanks for your help...But if you look at the file "adjacency_list.c" under
> platform/pc, you will find that "malloc" is used there...This puzzles me a
> little...
>
> Thanks for any further help
>
> Tri
>
>
> On 4/12/06, Chang Li <[EMAIL PROTECTED]> wrote:
> >
> >  Current TinyOS does not support malloc. No dynamic memory allocation is
> > available.
> >
> > Chang
> >
> >  - Original Message -
> > *From:* Tran Trong Tri <[EMAIL PROTECTED]>
> > *To:* Tinyos-help@Millennium.Berkeley.EDU
> > *Sent:* Tuesday, April 11, 2006 10:19 PM
> > *Subject:* [Tinyos-help] About "malloc"
> >
> >
> > Hi,
> >
> > I use the function "malloc" to apply dynamic memory allocation...But when
> > I run the program many times, there are afew times when it just hangs at the
> > line where I use "malloc"...Anyone knows if there is any thing wrong with
> > using that command?...It works most of the times though
> >
> > Thanks for helping
> >
> > Tri
> >
> > --
> >
> > ___
> > Tinyos-help mailing list
> > Tinyos-help@Millennium.Berkeley.EDU
> > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] tinyviz + app

2006-04-08 Thread [EMAIL PROTECTED]








Hey all,

 

    I
am using tossim (via tinyviz) to simulate the CntToLedsAndRfm app. This app
should blink the Leds depanding on the lowest three bits of the counter, and
transmit each counter value in an IntMsg packet…

 

The problem I face is
that I can see some debugging msg in tinyviz only about mote 0. I cannot see
any led blinking nor any transmitted radio message in the relative tab… What
do you think goes wrong?

 

Thank for your help 

Nick

 

    






http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ.
http://www.freemail.gr - free email service for the Greek-speaking.


___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] FTDI-UART

2006-03-22 Thread [EMAIL PROTECTED]
Hi, i programmed my TMote to send a byte on usb-serial port when a 
Timer signal the "Fired Event".
Then i take the serial output BEFORE of 
the FTDI chip, to interface my TMote with 
another microcontroller 
using RS232 protocol, but when i remove my TMote from Usb port, and i 
connect it to my micro, it stop to send data on usb-serial port! so in 
my microcontroller receive nothing.
I'm trying this way because using 
the expansion serial port, it is shared with radio bus,
and i can lose 
very important packets when the bus is assigned to expansion pins. 

Alex
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] NesC debugger tools

2006-03-13 Thread [EMAIL PROTECTED]
Hi, I would know if exist a way to debug NesC code under Windows.
I had 
read about  a "GDB" tool working under Linux Systems. 
Anyone know the 
way to install that tool under windows with cygwin?
Anyone know others 
tools?
I'm using TMote Sky Mote developed by MoteIv.
Thank for any 
help.
***Alex***
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


  1   2   >