[Tinyos-help] tinyOs vs Kontiki..

2006-06-28 Thread nazrul hazeri
Hi verybody here...i'm new here and tinyOs is very new for me. What is the difference in using TinyOs compared to kontiki? 
		 
Inbox full of spam? Get leading spam protection and 1GB storage with All New Yahoo! Mail.___
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] difference between events and async events

2006-06-28 Thread Hari Hara Sudhan








Hi every one

I am new to tiny os and nesC.

I want to know the diference
between the following two stmts.

Event void timer.fired() and Async void timer.fired().

Thank you in advance.












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


Re: [Tinyos-help] Help me with power range and signal strength!

2006-06-28 Thread Aditya Bhave
Many users (including me) have had no success using the CC1000Control interface and the setRFPower commands. The way I did it was to edit the CC1000Control.h file in /tos/system/platforms/mica2. Ive forgotten the excat location now but there is a 2-D array called PARAM..something somewhere. In the xxxMhz array (xxx is the radio freq of the motes u are using..there is a seperate array for each type of freq) change the value of the PA_POW variable. (this is a register in the CHIPCON chip that can be used to adjust the transmitter power). By default it is 0xff on MICA2 motes. When i changed it to 0x00 i got a range of about 4-6 feet in an indoor lab environment.
On 6/28/06, Rahul Sawant [EMAIL PROTECTED] wrote:
Hi

Use the formula on pg 28 of this document. 
http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf


also u have declared data in MyMsg to be an array of size 18 ie it runs from 0 to 17 and u r using
data[18] is it right just check that.

Rahul
On 6/27/06, Hieu Tran 
[EMAIL PROTECTED] wrote: 


Hi all!
I searched in the archieves and found some of the topics that disscuss about power range however I still have problem with it.

in the CC1000ControlM at the line:

// Set default parameter values // POWER 0dbm gCurrentParameters[0xb] = ((8  CC1K_PA_HIGHPOWER) | (0  CC1K_PA_LOWPOWER)); call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);


I guess I can make a change to power range here so I make change :

 gCurrentParameters[0xb] =1;//I want to change to the minimum power range call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);

After that I recompile my program and run it. However It seems that my change does not go in to effect (the range is still large).
Can you tell me the correct way to make the change to the power range?

I have one more question about signal strength.

I made the change at the TOS_Base, I try to read the signal strength from TOS_Msg

event TOS_MsgPtr RadioReceive.receive(TOS_MsgPtr Msg) {
cmd= (struct MyMsg *)Msg-data;
temp1 = (int8_t) (((Msg-strength)8)  0xF);//take 8 MSB
cmd-data[17] = temp1;//put in to packet at data[17]temp2 = (int8_t) ((8(Msg-strength))  0xF);//take 8 LSBcmd-data[18] = temp2;//put in ton packet at data[18]
..


Here is MyMsg structure:
typedef struct MyMsg { uint16_t seqno; int8_t action; uint16_t source; uint8_t hop_count; uint16_t destaddr;   int8_t data[18];} MyMsg;


After that, I use Listen program to read signal strength value, however all the times these values are always 0 or 1 (convert to decimal number). Can anyone tell me is this a correct way to receive signal strength? If correct, how canconvert this value to dBm?


many thanks!

Tran!






















Yahoo! Messenger with Voice. Make PC-to-Phone Calls
 to the US (and 30+ countries) for 2¢/min or less. 
___Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


___Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
-- regards,Aditya Bhave
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Mica2 VS MICAz

2006-06-28 Thread Sumit
Hi,

I am using Xlisten program to interact with data from XSensorMDA300 and
XSensorMTS300 programmed in Mica2 motes.

I have used both mica2 and micaz to recieve data from MDA300 and MTS310
boards.
I am trying to figure out which one of these motes is better for
collecting the data from the motes using both these sensor boards.
(I am collecting data from 6 motes)

In terms of data loss I have seen in my case that data loss is more in
micaz over the same distance.
Range of mica2 seems to be more than micaz.

Am i infering currectly?
What other differences exist?
which one should be preferred?

Any suggestion will be highly appreciated.
thanks in advance.
-sumit
McGill university

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


[Tinyos-help] How to log Messages ?

2006-06-28 Thread bhushan bhatt
Hi all, I have an application in which all the motes send data to base station once in every 10 seconds. At the base station i want to log the data in a file so that i can analyze the data later. Which is the best way i can do it ? I read through BcastInject.JAVA but i dont think it is useful for my applications. Suggestion are appreciated.Thanks,Bhushan 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. ___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


RE: [Tinyos-help] current consumption on MicaZ in tinyos-2.x

2006-06-28 Thread Martin Turon

Hi Razvan,

If you put the ATmega128L to extended standby, you should measure ~20uA.

If the cc2420 radio oscillator is still on (but radio is in standby) you
should measure a total system power of ~50uA.

Martin 
__
Martin Turon  |  Crossbow Technology, Inc.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Razvan
Musaloiu-E.
Sent: Tuesday, June 27, 2006 3:15 PM
To: tinyos-help@Millennium.Berkeley.EDU
Subject: [Tinyos-help] current consumption on MicaZ in tinyos-2.x

Hi!

I'm trying to verify the current consumption on MicaZ and here are some
results that I would like some feedback. :-)

The first test I did was to tun the Blink application and measure
the current when the leds where off. The result was 0.14mA.

The next test was to change the Scheduler.taskLoop code in
tos/SchedulerBasicP.nc to put the mote in different power saving modes.
The code I used, for entering in Extended Standby mode for example, was:

  command void Scheduler.taskLoop()
  {
for (;;)
{
MCUCR =
  (MCUCR  0xe3) | 1  SE | (1  SM2) | (1  SM1) | (1 
SM0);

sei();
asm volatile (sleep);
cli();
}

The results I got are:
- Idle: 3.94mA
- ADC NR: 1.35mA
- Power Down: 0.13mA
- Power Save: 0.13mA
- Standby: 0.27mA
- Extended Standby: 0.27mA

I performed the measurement using a Extech Multimeter [1] and I waited
till the current stabilized. I power the mote using a 3V power source.
The
application I run is an empty one (just one component, MainC).

So my question is: can someone confirm/infirm the above values? :-)

And one more thing: I have a few MicaZ motes burned with some old code
(a
monitoring application) that achieves 0.07mA in the sleep mode. I tried
to
recompile the application with the current tinyos-1.x and the current
consumption I got is 0.5mA. In the same tinyos-1.x I also run a Blink
application which calls PowerManagement.enable() in the init() and I got
0.14mA.  Does anyone has any idea about what is the cause of the
difference? :P

[1] http://www.radioshack.com/product/index.jsp?productId=2104750

Have a nice day!
Razvan ME

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

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


[Tinyos-help] Mate GUI Patch for Saving Files

2006-06-28 Thread Ben Kelley
The gui lacked an option to explicitly save the file currently selected.  

Diff against tos cvs.  

cd to $TOSROOT/tools/java/net/tinyos/script/
patch  patchfilename
make




MateGuiSaveOption.patch
Description: Binary data
___
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 Philip Levis

On Jun 28, 2006, at 1:40 AM, [EMAIL PROTECTED] wrote:




Hi,

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

Manjunath



This is a very useful paper!

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


[Tinyos-help] how to use tmote sky sensors in VM

2006-06-28 Thread song guo
Hi All,Currently, I am program the tmote sky with mate'(version 2.2.1) under TOS 1.1.11.The problem I met is that the mate' do not recognize the sense function: 
tlightt(), tlightp(), ttemp(),and remind me that the functions do not exist. I opened the telos.vmsf file and there exactly exists such 
functions.Why couldn't I use them? Could you please give me some hint if you know the reason.Thank you so much!Best wishes,Song Guo
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Constants writed on the flash

2006-06-28 Thread jose m
Can I declare with nesc a constant structure allocated
on the flash? (static or something).

José.





___ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 

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


RE: [Tinyos-help] current consumption on MicaZ in tinyos-2.x

2006-06-28 Thread Razvan Musaloiu-E.
Hi!

On Wed, 28 Jun 2006, Martin Turon wrote:


 Hi Razvan,

 If you put the ATmega128L to extended standby, you should measure ~20uA.

 If the cc2420 radio oscillator is still on (but radio is in standby) you
 should measure a total system power of ~50uA.

Thank you Martin! :-)

So the values I'm getting are indeed too high. The question is: where is
the problem? Could someone at least check the value for Blink?

--
Razvan ME

 -Original Message-
 From: [EMAIL PROTECTED]
 Sent: Tuesday, June 27, 2006 3:15 PM
 To: tinyos-help@Millennium.Berkeley.EDU
 Subject: [Tinyos-help] current consumption on MicaZ in tinyos-2.x

 Hi!

 I'm trying to verify the current consumption on MicaZ and here are some
 results that I would like some feedback. :-)

 The first test I did was to run the Blink application and measure
 the current when the leds where off. The result was 0.14mA.

 The next test was to change the Scheduler.taskLoop code in
 tos/SchedulerBasicP.nc to put the mote in different power saving modes.
 The code I used, for entering in Extended Standby mode for example, was:

   command void Scheduler.taskLoop()
   {
 for (;;)
 {
 MCUCR =
   (MCUCR  0xe3) | 1  SE | (1  SM2) | (1  SM1) | (1  SM0);

 sei();
 asm volatile (sleep);
 cli();
 }

 The results I got are:
 - Idle: 3.94mA
 - ADC NR: 1.35mA
 - Power Down: 0.13mA
 - Power Save: 0.13mA
 - Standby: 0.27mA
 - Extended Standby: 0.27mA

 I performed the measurement using a Extech Multimeter [1] and I waited
 till the current stabilized. I power the mote using a 3V power source. The
 application I run is an empty one (just one component, MainC).

 So my question is: can someone confirm/infirm the above values? :-)

 And one more thing: I have a few MicaZ motes burned with some old code (a
 monitoring application) that achieves 0.07mA in the sleep mode. I tried to
 recompile the application with the current tinyos-1.x and the current
 consumption I got is 0.5mA. In the same tinyos-1.x I also run a Blink
 application which calls PowerManagement.enable() in the init() and I got
 0.14mA.  Does anyone has any idea about what is the cause of the
 difference? :P

 [1] http://www.radioshack.com/product/index.jsp?productId=2104750

 Have a nice day!
 Razvan ME



___
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-06-28 Thread sazure
Hi, all,
 I am testing Surge_Reliable program using Mica2 motes. I directly read 
raw data. However, by comparing the   uint16_t sourceaddr bytes  uint16_t 
originaddr bytes, I didn't find a multihop happened even I deploy one mote out 
of base range and put another mote in the middle between the base and the far 
away mote. Badly need your experience, please help. Thanks

Best
Zhengsu
___
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 use tmote sky sensors in VM

2006-06-28 Thread Philip Levis


On Jun 28, 2006, at 11:27 AM, song guo wrote:


Hi All,
Currently, I am program the tmote sky with mate'(version 2.2.1)  
under TOS 1.1.11.The problem I met is that the mate' do not  
recognize the sense function:  tlightt(), tlightp(), ttemp(),and  
remind me that the functions do not exist. I opened the telos.vmsf  
file and there exactly exists such functions.Why couldn't I use  
them? Could you please give me some hint if you know the reason.


Thank you so much!
Best wishes,


Which VM specification file (.vmsf) did you use?

bombilla-telosb.vmsf includes the telos sensors, but others don't.

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


Re: [Tinyos-help] difference between events and async events

2006-06-28 Thread Philip Levis

On Jun 28, 2006, at 1:43 AM, Hari Hara Sudhan wrote:


Hi every one

I am new to tiny os and nesC.

I want to know the diference between the following two stmts.

Event void timer.fired() and Async void timer.fired().

Thank you in advance.
The TinyOS programming manual goes into the difference (Chapter 4).  
You can download it from:


http://csl.stanford.edu/~pal

Phil
___
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 use tmote sky sensors in VM

2006-06-28 Thread Philip Levis


On Jun 28, 2006, at 2:08 PM, song guo wrote:


Hi Phil,
Thank you for your reply, I exactly used the bombilla-telosb.vmsf.   
The telos.vmsf file under directory of sensorboard told me there  
should exist such functions.
Then I looked up the folder of sensors under the directory of  
sensorboards. I did find the opcodes for such functions like  
tlightt.nc,tlightt.ode,(no tlighttM.nc). One strange thing is that  
when I try some other sensing function ,  even the function temp()  
which is not specified by the telos.vmsf file can be recognized.For  
the Tmote sky the mate' seems only recognize the function of titemp().

It made me very confused.



Which application directory did you go into? Are you going into  
Bombilla/ or BombillaTelosB?


bombilla-telosb.vmsf creates apps/BombillaTelosB.

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


[Tinyos-help] Rv: Constants writed on the flash

2006-06-28 Thread jose m
Hello,

There is any way that a string can be declared
allocated (at compilation time) on flash or EEPROM?
Because I need to save RAM.

Thanks in advance.

José





___ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 
---BeginMessage---
Can I declare with nesc a constant structure allocated
on the flash? (static or something).

José.





___ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 

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


[Tinyos-help] how to implement NST-AODV routing protocol in the TelosB

2006-06-28 Thread Muddesar Iqbal

Hello every one i am wondering if some one could help me with implementation of AODV routing protocol in the telosb platform. i have downloaded the NST-AODV from http://www.i2cat.net/i2cat/servlet/I2CAT.MainServlet?seccio=13_6_2 i am completely beginer and had tried delta and some other sample application to form a mesh network. my assingment requires me to implement the above mentioned routing protocol i don't know where to start any examples or tutorail or any help would be appriciated.
muddesar

Hotmail is evolving - be one of the first to try the  Windows Live™ Mail Beta 

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


[Tinyos-help] Mate and send_lqi on Telosb/tmote

2006-06-28 Thread Ben Kelley
Hi, 
I'm going through the tutorial on Mate and having some issues with send_lqi
(or maybe not) on T-Sky/telosb. If I am reading the documentation right,
send_lqi acts as a drop-in for send, and thus the packets forwarded via
send_lqi would be output at the root node as the data.  I have run the mica
pc sim, and see the traffic just fine using TOSSIM and the VMBufferReader.
Now I just get 

Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring. 

Anytime a message comes over the UART.  I have gotten directly connected
nodes to send other UART data and have it recognized.  

22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16 38 0A F2
1B F2 1B F3 1B F2 1B F3 1B F3 1B F4 1B F3 1B F3 1B F2 1B 
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16 38 0A F1
1B F3 1B F3 1B F3 1B F2 1B F2 1B F2 1B F3 1B F2 1B F2 1B 
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16 38 0A F3
1B F3 1B F2 1B F3 1B F4 1B F4 1B F4 1B F4 1B F4 1B F4 1B 
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16 38 0A F5
1B F4 1B F4 1B F4 1B F4 1B F4 1B F5 1B F5 1B F4 1B F6 1B 
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16 38 0A F5
1B F5 1B F5 1B F6 1B F6 1B F6 1B F6 1B F6 1B F7 1B F7 1B 
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 55 00 00 00 01 16 38 0A F6
1B F7 1B F7 1B F7 1B F7 1B F7 1B F7 1B F8 1B F7 1B

Is a sample from the data via net.tinyos.tools.Listen

It's configured at 57600 for the data rate.

Also, when I am compiling BombillaTelosB, I see a cannot find MateBufferMsg
AM type in the log.  

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


Re: [Tinyos-help] Mate and send_lqi on Telosb/tmote

2006-06-28 Thread Philip Levis


On Jun 28, 2006, at 3:51 PM, Ben Kelley wrote:


Hi,
I'm going through the tutorial on Mate and having some issues with  
send_lqi
(or maybe not) on T-Sky/telosb. If I am reading the documentation  
right,
send_lqi acts as a drop-in for send, and thus the packets forwarded  
via
send_lqi would be output at the root node as the data.  I have run  
the mica
pc sim, and see the traffic just fine using TOSSIM and the  
VMBufferReader.

Now I just get

Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring.
Received UART message containing type NONE, ignoring.

Anytime a message comes over the UART.  I have gotten directly  
connected

nodes to send other UART data and have it recognized.

22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16  
38 0A F2

1B F2 1B F3 1B F2 1B F3 1B F3 1B F4 1B F3 1B F3 1B F2 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16  
38 0A F1

1B F3 1B F3 1B F3 1B F2 1B F2 1B F2 1B F3 1B F2 1B F2 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16  
38 0A F3

1B F3 1B F2 1B F3 1B F4 1B F4 1B F4 1B F4 1B F4 1B F4 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16  
38 0A F5

1B F4 1B F4 1B F4 1B F4 1B F4 1B F5 1B F5 1B F4 1B F6 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 54 00 00 00 01 16  
38 0A F5

1B F5 1B F5 1B F6 1B F6 1B F6 1B F6 1B F6 1B F7 1B F7 1B
22 00 00 00 00 00 7E 00 1B 7D 00 00 00 00 00 00 55 00 00 00 01 16  
38 0A F6

1B F7 1B F7 1B F7 1B F7 1B F7 1B F7 1B F8 1B F7 1B

Is a sample from the data via net.tinyos.tools.Listen

It's configured at 57600 for the data rate.

Also, when I am compiling BombillaTelosB, I see a cannot find  
MateBufferMsg

AM type in the log.



Telos packets have a different format. Be sure to specify  
[EMAIL PROTECTED]:telos.


Phil

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


Re: [Tinyos-help] generate docs

2006-06-28 Thread Rahul Sawant
hi

i think this is because ur comp already has a file dot.exe and the version of that is old. u can search where it is on ur comp . in my comp it was in \Matlab7\bin\win32 folder as matlab also uses it. i guess if u rename this file in matlab folder everthing will work fine. or i guess change the system pathvariable from the control panel, in this make sure ur matlab path is the last one ie it should be after this one\tinyos\ATT\Graphviz\bin;


i hope this will help you

rahul 
On 6/28/06, Andres Aberasturi [EMAIL PROTECTED] wrote:
Hi all,We have update TinyOs to TinyOS 1.1.15. It works fine but it does notgenerate the images of the documentation. We get the following error:
nesc1: warning: DOC WARNING: your version of `dot' does not supportclient-sideimage maps.Upgrade to graphviz = 1.8.8 to enableclickable wiring diagrams.So, we think we need to update graphviz, do not we? We found graphviz but we
have some doubts about it:What is the right graphviz version to work in TinyOS 1.1.15? We are workingwith Windows XP, do we need Windows version or Linux version (in order towork with Cygwin)?Thank you in advance,
Andres_Moda para esta temporada. Ponte al día de todas las tendencias.http://www.msn.es/Mujer/moda/default.asp
___Tinyos-help mailing listTinyos-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


[Tinyos-help] component documentation

2006-06-28 Thread Tehn Yit Chin
Hi,

I was wondering if there are any documentation on what components are
standard in the tinyos 1.1.0, other than browsing through the source?

many thanks
-- 
Tehn Yit Chin
Embedded System Engineer, Grey Innovation Pty. Ltd.
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] where to find TEP104 and TEP105 for tinyos-2.x

2006-06-28 Thread Liu Haibin
Hi,Any idea where I can find TEP104 and TEP105 for tinyos-2.x? They're refered to in other TEP's but are nowhere to be found.Regards,Haibin
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


[Tinyos-help] Re: Tinyos-help Digest, Vol 38, Issue 88

2006-06-28 Thread suzet war
hi friends.
i'm a newbies in this interesting OS.
but i have a question.
let say i want to upload TinyOS into my own project
(microcontroller), can i use the OS without buying the
MICA, motes itself?
thanks.


--- [EMAIL PROTECTED] wrote:

 Send Tinyos-help mailing list submissions to
   tinyos-help@Millennium.Berkeley.EDU
 
 To subscribe or unsubscribe via the World Wide Web,
 visit
 

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
 
 or, via email, send a message with subject or body
 'help' to
   [EMAIL PROTECTED]
 
 You can reach the person managing the list at
   [EMAIL PROTECTED]
 
 When replying, please edit your Subject line so it
 is more specific
 than Re: Contents of Tinyos-help digest...
 
 
 Today's Topics:
 
1. RE: current consumption on MicaZ in tinyos-2.x
 (Martin Turon)
2. Mate GUI Patch for Saving Files (Ben Kelley)
3. Re: tinyOs vs Kontiki.. (Philip Levis)
4. how to use tmote sky sensors in VM (song guo)
 
 

--
 
 Message: 1
 Date: Wed, 28 Jun 2006 11:16:01 -0700
 From: Martin Turon [EMAIL PROTECTED]
 Subject: RE: [Tinyos-help] current consumption on
 MicaZ in tinyos-2.x
 To: Razvan Musaloiu-E. [EMAIL PROTECTED],
   tinyos-help@Millennium.Berkeley.EDU
 Message-ID:
 

[EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 
 Hi Razvan,
 
 If you put the ATmega128L to extended standby, you
 should measure ~20uA.
 
 If the cc2420 radio oscillator is still on (but
 radio is in standby) you
 should measure a total system power of ~50uA.
 
 Martin 
 __
 Martin Turon  |  Crossbow Technology, Inc.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 On Behalf Of Razvan
 Musaloiu-E.
 Sent: Tuesday, June 27, 2006 3:15 PM
 To: tinyos-help@Millennium.Berkeley.EDU
 Subject: [Tinyos-help] current consumption on MicaZ
 in tinyos-2.x
 
 Hi!
 
 I'm trying to verify the current consumption on
 MicaZ and here are some
 results that I would like some feedback. :-)
 
 The first test I did was to tun the Blink
 application and measure
 the current when the leds where off. The result was
 0.14mA.
 
 The next test was to change the Scheduler.taskLoop
 code in
 tos/SchedulerBasicP.nc to put the mote in different
 power saving modes.
 The code I used, for entering in Extended Standby
 mode for example, was:
 
   command void Scheduler.taskLoop()
   {
 for (;;)
 {
 MCUCR =
   (MCUCR  0xe3) | 1  SE | (1  SM2) | (1
  SM1) | (1 
 SM0);
 
 sei();
 asm volatile (sleep);
 cli();
 }
 
 The results I got are:
 - Idle: 3.94mA
 - ADC NR: 1.35mA
 - Power Down: 0.13mA
 - Power Save: 0.13mA
 - Standby: 0.27mA
 - Extended Standby: 0.27mA
 
 I performed the measurement using a Extech
 Multimeter [1] and I waited
 till the current stabilized. I power the mote using
 a 3V power source.
 The
 application I run is an empty one (just one
 component, MainC).
 
 So my question is: can someone confirm/infirm the
 above values? :-)
 
 And one more thing: I have a few MicaZ motes burned
 with some old code
 (a
 monitoring application) that achieves 0.07mA in the
 sleep mode. I tried
 to
 recompile the application with the current
 tinyos-1.x and the current
 consumption I got is 0.5mA. In the same tinyos-1.x I
 also run a Blink
 application which calls PowerManagement.enable() in
 the init() and I got
 0.14mA.  Does anyone has any idea about what is the
 cause of the
 difference? :P
 
 [1]

http://www.radioshack.com/product/index.jsp?productId=2104750
 
 Have a nice day!
 Razvan ME
 
 ___
 Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel
 p
 
 
 
 --
 
 Message: 2
 Date: Wed, 28 Jun 2006 13:17:07 -0500
 From: Ben Kelley [EMAIL PROTECTED]
 Subject: [Tinyos-help] Mate GUI Patch for Saving
 Files
 To: tinyos-help@Millennium.Berkeley.EDU
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 The gui lacked an option to explicitly save the file
 currently selected.  
 
 Diff against tos cvs.  
 
 cd to $TOSROOT/tools/java/net/tinyos/script/
 patch  patchfilename
 make
 
 
 -- next part --
 A non-text attachment was scrubbed...
 Name: MateGuiSaveOption.patch
 Type: application/octet-stream
 Size: 2534 bytes
 Desc: not available
 Url :

http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060628/8df758a9/MateGuiSaveOption-0001.obj
 
 --
 
 Message: 3
 Date: Wed, 28 Jun 2006 11:20:13 -0700
 From: Philip Levis [EMAIL PROTECTED]
 Subject: Re: [Tinyos-help] tinyOs vs Kontiki..
 To: [EMAIL PROTECTED]
 Cc: tinyos-help@millennium.berkeley.edu
 Message-ID:

[EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Re: [Tinyos-help] where to find TEP104 and TEP105 for tinyos-2.x

2006-06-28 Thread Philip Levis

On Jun 28, 2006, at 7:41 PM, Liu Haibin wrote:


Hi,

Any idea where I can find TEP104 and TEP105 for tinyos-2.x? They're  
refered to in other TEP's but are nowhere to be found.




Those two have pretty much timed out (haven't been discussed in  
almost two years); they might be revisited at some point in the  
future, but right now they do not reflect 2.0 and I doubt they are  
consistent with anything. The reference to them in 2 should be fixed  
(I just did) to point to 116.


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


Fwd: [Tinyos-help] Help me with power range and signal strength!

2006-06-28 Thread Aditya Bhave
-- Forwarded message --From: Aditya Bhave [EMAIL PROTECTED]Date: Jun 29, 2006 12:42 AM
Subject: Re: [Tinyos-help] Help me with power range and signal strength!To: bhushan bhatt [EMAIL PROTECTED]You need to modify the 
CC1000Control.h file in tos/system/platforms/mica2.Im assuming youre motes freq is 914 Mhz.In
that case there is a 2D array called CC1K_Params.Look for
the PA_POW variable under the 914 Mhz range (there is a seperate
row for each type of freq). Look in row 1. It is presently
// PA_POW 0x0b ((0x8CC1K_PA_HIGHPOWER) | (0x0CC1K_PA_LOWPOWER)), 
 //0xffChange the above to// PA_POW 0x0b//  ((0x8CC1K_PA_HIGHPOWER) | (0x0CC1K_PA_LOWPOWER)), 0x00You
can see that I have changed PA_POW to the value 0x00 FROM 0xff
(default). The 0x0b (decimal number 11) is not a value...it indicates
the position of the element within row 1 of the CC1K_Params array. By giving diff values to PA_POW from 00 to ff, you can change the range.Let me know if it works.
If you are using a diff freq mote, change the PA_POW variable corresponding to that freq

On 6/28/06, bhushan bhatt 
[EMAIL PROTECTED] wrote:
I have the same problem and tried to control the power by changing
CC2420 Radio file for tmote but i still cant get the desired range. I
still get range more than 30 feet. Does someone know and have reduced
the range for tmotes ??
BhushanAditya Bhave [EMAIL PROTECTED]
 wrote: Many users (including me) have had no success using the CC1000Control interface and the setRFPower commands. 
The way I did it was to edit the CC1000Control.h file in
/tos/system/platforms/mica2. Ive forgotten the excat location now but
there is a 2-D array called PARAM..something somewhere. In the xxxMhz
array (xxx is the radio freq of the motes u are using..there is a
seperate array for each type of freq) change the value of the PA_POW
variable. (this is a register in the CHIPCON chip that can be used to
adjust the transmitter power). By default it is 0xff on MICA2 motes.
When i changed it to 0x00 i got a range of about 4-6 feet in an indoor
lab environment. 
On 6/28/06, Rahul Sawant [EMAIL PROTECTED] wrote:

 Hi
  Use the formula on pg 28 of this document.  

http://www.xbow.com/Support/Support_pdf_files/MPR-MIB_Series_Users_Manual.pdf   also u have declared data in MyMsg to be an array of size 18 ie it runs from 0 to 17 and u r using data[18] is it right just check that.
  Rahul On 6/27/06, 
Hieu Tran  [EMAIL PROTECTED] wrote:  

  Hi all! I searched in the archieves and found some of the topics that disscuss about power range however I still have problem with it.
  in the CC1000ControlM at the line:  // Set default parameter values // POWER 0dbm gCurrentParameters[0xb] = ((8  CC1K_PA_HIGHPOWER) | (0
  CC1K_PA_LOWPOWER)); call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);   I guess I can make a change to power range here so I make change :   gCurrentParameters[0xb] =1;//I want to change to the minimum power range
 call HPLChipcon.write(CC1K_PA_POW, gCurrentParameters[0xb]);  After
that I recompile my program and run it. However It seems that my change
does not go in to effect (the range is still large).
 Can you tell me the correct way to make the change to the power range?  I have one more question about signal strength.  I made the change at the TOS_Base, I try to read the signal strength from TOS_Msg
  event TOS_MsgPtr RadioReceive.receive(TOS_MsgPtr Msg) { cmd= (struct MyMsg
 *)Msg-data; temp1 = (int8_t) (((Msg-strength)8)  0xF);//take 8 MSB cmd-data[17] = temp1;//put in to packet at data[17]temp2 = (int8_t) ((8(Msg-strength))  0xF);//take 8 LSB
cmd-data[18] = temp2;//put in ton packet at data[18] ..   Here is MyMsg structure: typedef struct MyMsg { uint16_t seqno;
 int8_t action; uint16_t source; uint8_t hop_count; uint16_t destaddr;   int8_t data[18];} MyMsg;   After
that, I use Listen program to read signal strength value, however all
the times these values are always 0 or 1 (convert to decimal number).
Can anyone tell me is this a correct way to receive signal strength? If
correct, how canconvert this value to dBm?   many thanks!  Tran!   
 

   Yahoo! Messenger with Voice. 

Make PC-to-Phone Calls  to the US (and 30+ countries) for 2�/min or less.  ___Tinyos-help mailing list
 Tinyos-help@Millennium.Berkeley.EDU 

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

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- regards,Aditya Bhave ___

Tinyos-help mailing listTinyos-help@Millennium.Berkeley.EDU

https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help 
		How low will we go? Check out Yahoo! Messenger's low 

 PC-to-Phone call rates.
-- regards,Aditya Bhave

-- regards,Aditya Bhave

[Tinyos-help] About Events and Commands

2006-06-28 Thread saadia khan
While going through the tutorials and apps in tinyOS, i found that the events of an interface are implemented in the modules that "use" them and the commands are "called" but not implemented in those modules, e.g., in Surge Application, the SurgeM.nc (the module) "uses" Send interface and implements the event Send.sendDone() and calls the command Send.send() in the "task" SendData(). My question is that where is the functionality for the Send.send() command ?Kindly someone guide me in this case because as far as i've understood, there should be another module that gives implementation of this command but i'm not able to find it.thankyouS Khan___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help