[Tinyos-help] Reg:Power Mode

2011-04-06 Thread SHIVASANKAR GANESAN


How to set different power mode in CC2420/CC1100 radio.

Power Mode 0 = 100% duty cycle
Power Mode 1 = 35.5% duty cycle
Power Mode 2 = 11.5% duty cycle
Power Mode 3 = 7.53% duty cycle
Power Mode 4 = 5.61% duty cycle
Power Mode 5 = 2.22% duty cycle
Power Mode 6 = 1.00% duty cycle

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

[Tinyos-help] Reg:TinyOS 2.0.2 to CC2420?

2011-03-22 Thread SHIVASANKAR GANESAN
Hi
Will TinyOS 2.0.2 support to micaz (CC2420 Radio)?.
I install as per below given link.
http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html#external-tools
But while flashing code into micaz mote ,it is showing N/A in platform 
option.How to solve this error.
And I don't have micaz (cc2420 radio) in opt\tinyos-2.x\tools\platforms folder?.
Help me to fix this.   With regards  Sivasankar  

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

[Tinyos-help] Reg:motelist in TOS 2.0.2

2011-03-22 Thread SHIVASANKAR GANESAN

Hi I had upgrade from TOS v1 to v2 as per step mentioned 
below.http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html But I am 
getting error while giving motelist in shell.
With regardsSivasankar



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

[Tinyos-help] Reg:Compile in micaz with TOSV2.0.2

2011-03-22 Thread SHIVASANKAR GANESAN


Hi I had upgrade from TOS v1 to v2 as per step mentioned 
below.http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html while 
giving make micaz reinstall mib520,/dev/ttys3 command. I am getting
Command:   make micaz reinstall 
mib520,/dev/ttys3Cygwin:    E:\Crossbow\cygwin\binDirectory: 
E:\Crossbow\cygwin\opt\tinyos-2.x\apps\Blink\/opt/MoteWorks/tools/bin/ide.pl 
'make micaz reinstall mib520,/dev/ttys3' 
'E:\Crossbow\cygwin\opt\tinyos-2.x\apps\Blink\'#ide.pl
 Ver:$Id: ide.pl,v 1.1.2.1 2006/05/29 07:22:52 lwei Exp $Executing: 
/opt/tinyos-2.x/apps/Blink/ bash -c make micaz reinstall mib520,/dev/ttys3cp 
build/micaz/main.srec build/micaz/main.srec.out    installing micaz binary with 
dapauisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 --wr_fuse_e=ff  
--erase Atmel AVR ATmega128 is found.Erasing device ...Reinitializing 
deviceAtmel AVR ATmega128 is found.pulsepulse Fuse High Byte set to 0xd9 Fuse 
Extended Byte set to 0xffsleep 1     uisp -dprog=dapa --wr_fuse_h=0xd9 
-dpart=ATmega128 --wr_fuse_e=ff  --upload if=build/micaz/main.srec.outAtmel AVR 
ATmega128 is
 found.Uploading: flashpulse Fuse High Byte set to 0xd9 Fuse Extended Byte set 
to 0xffsleep 1     uisp -dprog=dapa --wr_fuse_h=0xd9 -dpart=ATmega128 
--wr_fuse_e=ff  --verify if=build/micaz/main.srec.outAtmel AVR ATmega128 is 
found.Verifying: flashflash error at address 0x0: file=0x0c, mem=0xffflash 
error at address 0x1: file=0x94, mem=0xffflash error at address 0x2: file=0x49, 
mem=0xffflash error at address 0x3: file=0x00, mem=0xffflash error at address 
0x4: file=0x0c, mem=0xffflash error at address 0x5: file=0x94, mem=0xffflash 
error at address 0x6: file=0x66, mem=0xffflash error at address 0x7: file=0x00, 
mem=0xffflash error at address 0x8: file=0x0c, mem=0xffflash error at address 
0x9: file=0x94, mem=0xff.flash error at address 0x8a4: 
file=0x0f, mem=0xffflash error at address 0x8a5: file=0x90, mem=0xffflash error 
at address 0x8a6: file=0x1f, mem=0xffflash error at address 0x8a7: file=0x90, 
mem=0xffflash error at address
 0x8a8: file=0x18, mem=0xffflash error at address 0x8a9: file=0x95, 
mem=0xffpulse Fuse High Byte set to 0xd9 Fuse Extended Byte set to 0xffrm -f 
build/micaz/main.exe.out build/micaz/main.srec.out   Process Exit Code: 0 
Time Taken: 02:09
 Is it correct compilation?

With regardsSivasankar

   With regards  Sivasankar  

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

[Tinyos-help] Reg:Platform N/A in Moteconfig tool

2011-03-22 Thread SHIVASANKAR GANESAN

Hi I had upgrade from TOS v1 to v2 as per step mentioned 
below.http://www.tinyos.net/tinyos-2.x/doc/html/upgrade-tinyos.html  while reading
 file (main.exe) file in Moteconfig tool,it is showing Platform as N/A.How to 
solve this?
With regardsSivasankar

   With regards  Sivasankar  

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

[Tinyos-help] Reg:TOSSIM error

2011-03-21 Thread SHIVASANKAR GANESAN
Hi
While giving make micaz sim in TinyOS 2,
It is showing error in tossim_wrap.cxx file.
How to fix it.
My error similar to 
http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg35373.html
And How to check python version.
   With regards  Sivasankar  

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

[Tinyos-help] Reg:TOS v1 to v2

2011-03-21 Thread SHIVASANKAR GANESAN
Hi
Do we need to include MakeXbowlocal file in tinyos 2.
Do we have MakeXbowlocal file in Tinyos 2.
I am new to tinyos2.
How to set group ID and Tx power in Tinyos2.   With regards  Sivasankar  

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

[Tinyos-help] Reg: Micaz platform N/A

2011-03-21 Thread SHIVASANKAR GANESAN

Hi
I am new to TOS v2.
While flashing code(e.g Blink) into micaz mote using make micaz install,1 
mib520,com3 shell command.It is showing that Platform is N/A, Which is not 
adapt with current MCU 128.
Do I need to include any file?.Help me to fix it.   With regards
  Sivasankar  

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

[Tinyos-help] Reg:unrecognized option `-mmcu=atmega128'

2011-03-18 Thread SHIVASANKAR GANESAN
Hi
While compiling file.I am getting error.
compiling BaseStationC 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 -DCC2420_NO_ACKNOWLEDGEMENTS 
-DCC2420_NO_ADDRESS_RECOGNITION -DIDENT_PROGRAM_NAME=\BaseStationC\ 
-DIDENT_USER_ID=\Lab\ -DIDENT_HOSTNAME=\cit-309d6c793e8\ 
-DIDENT_USER_HASH=0x0e2b8f80L -DIDENT_UNIX_TIME=0x4d8306ceL 
-DIDENT_UID_HASH=0x8837be08L -fnesc-dump=wiring 
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, 
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BaseStationC.nc 
-lm as: unrecognized option `-mmcu=atmega128' How to fix it.
  With regards  Sivasankar  

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

[Tinyos-help] Reg: TOS v1 to v2

2011-03-10 Thread SHIVASANKAR GANESAN

Hi
How to set Tiny-OS-2.x environment variable ( TOSROOT, TOSDIR)?
With regards  Sivasankar  

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

[Tinyos-help] Reg: Javac not found

2011-03-09 Thread SHIVASANKAR GANESAN
Hi
While compiling TestSerial.nc application,I am getting 
javac: not found 
error.How to fix it.   With regards  Sivasankar  

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

[Tinyos-help] TOS Simulator

2011-03-06 Thread SHIVASANKAR GANESAN
Hi Which simulator is good for TOS,Where can i find that software file?.

     With regards  Sivasankar  

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

[Tinyos-help] Reg:Std Deviation of Gaussian Noise

2011-02-14 Thread SHIVASANKAR GANESAN
Hi
How to find Noise from RSSI value in Micaz mote.

     With regards  Sivasankar  

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

Re: [Tinyos-help] How to measure SNR in Micaz

2011-02-14 Thread SHIVASANKAR GANESAN

Hi
How we  can sense the RSSI of noise and packet.
Help me to find it.

     With regards  Sivasankar  

--- On Fri, 3/12/10, 徐瑞涛 xrtga...@gmail.com wrote:

From: 徐瑞涛 xrtga...@gmail.com
Subject: Re: [Tinyos-help] How to measure SNR in Micaz
To: SHIVASANKAR GANESAN tata...@yahoo.co.in
Cc: tinyos-help@millennium.berkeley.edu
Date: Friday, 3 December, 2010, 2:33 PM

Hi, 
 You can't access SNR directly under CC2420 but calculate according to RSSI 
by yourself.
 For example, you can sense the RSSI of noise and pkt you send.  Then 
convert RSSI value
to power and calculate SNR.


    How to convert RSSI to power refers to datasheet of CC2420 on page 48 of 89

Best Regards,
Ruitao Xu


On Fri, Dec 3, 2010 at 2:10 PM, SHIVASANKAR GANESAN tata...@yahoo.co.in wrote:


Hi I want to find SNR value,i am using Micaz-CC2420 Radio.How to find it.


With regards  Sivasankar
  

___


Tinyos-help mailing list

Tinyos-help@millennium.berkeley.edu

https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help




-- 
Be Your Personal Best!



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

Re: [Tinyos-help] Reg:Std Deviation of Gaussian Noise

2011-02-08 Thread SHIVASANKAR GANESAN
Hi
I try to get RSSI value for Tiny OS V1.x.
How to find Std Deviation of Gaussian Noise from it.Please help me to find.
     With regards  Sivasankar  

--- On Tue, 7/12/10, Urs Hunkeler urs.hunke...@epfl.ch wrote:

From: Urs Hunkeler urs.hunke...@epfl.ch
Subject: Re: [Tinyos-help] Reg:Std Deviation of Gaussian Noise
To: SHIVASANKAR GANESAN tata...@yahoo.co.in
Cc: Berekely univ tinyos-help@millennium.berkeley.edu
Date: Tuesday, 7 December, 2010, 2:59 PM

Hi,

This is specific to TinyOS 2.x, this functionality was not available in 
TinyOS 1.x (and XMesh). If you want to use it, you will have to either 
implement it yourself (you can have a look at the TinyOS 2.x source 
code) or migrate to TinyOS 2.x.

Cheers,
Urs

On 12/07/2010 10:14 AM, SHIVASANKAR GANESAN wrote:

 Hi

 That module is not available in my system.I searched my system.What to do.
 **
 *With regards*
 *Sivasankar*


 --- On *Tue, 7/12/10, Urs Hunkeler /urs.hunke...@epfl.ch/* wrote:


     From: Urs Hunkeler urs.hunke...@epfl.ch
     Subject: Re: [Tinyos-help] Reg:Std Deviation of Gaussian Noise
     To: SHIVASANKAR GANESAN tata...@yahoo.co.in,
     tinyos-help@Millennium.Berkeley.EDU
     tinyos-help@Millennium.Berkeley.EDU
     Date: Tuesday, 7 December, 2010, 1:01 PM

     Hi,

     On my system it's in
     $TOSROOT/tos/chips/cc2420/control/CC2420ControlC.nc. It's not an
     interface, it's a module which provides an interface of Readuint16_t
     which is named ReadRssi.

     Please post your questions to the mailing list.

     Cheers,
     Urs



     On 12/07/2010 05:27 AM, SHIVASANKAR GANESAN wrote:
       Hi
      
       I can't find CC2420ControlC file in my system,I have only
     CC2420Control
       file and others(like CC2420RadioC..).
      
       I am using Tiny OS V2.0 with Mote works v2.0F.
      
       *With regards*
       *Sivasankar*
      
      
       --- On *Mon, 6/12/10, Urs Hunkeler /urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch/* wrote:
      
      
       From: Urs Hunkeler urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch
       Subject: Re: [Tinyos-help] Reg:Std Deviation of Gaussian Noise
       To: SHIVASANKAR GANESAN tata...@yahoo.co.in
     /mc/compose?to=tata...@yahoo.co.in,
       tinyos-help@Millennium.Berkeley.EDU
     /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
       Date: Monday, 6 December, 2010, 12:17 PM
      
       Hi,
      
       As I said in my previous mail, read the RSSI value from
     CC2420ControlC.
       As this value is the signal strength your radio receives while not
       actually receiving a message, this is the background noise.
      
       Cheers,
       Urs
      
       On 12/6/10 7:26 AM, SHIVASANKAR GANESAN wrote:
       
        How to sample background Noise.
       
        **
        *With regards*
        *Sivasankar*
       
       
        --- On *Fri, 3/12/10, Urs Hunkeler /urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch
       /mc/compose?to=urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch/* wrote:
       
       
        From: Urs Hunkeler urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch
       /mc/compose?to=urs.hunke...@epfl.ch
     /mc/compose?to=urs.hunke...@epfl.ch
        Subject: Re: [Tinyos-help] Reg:Std Deviation of Gaussian Noise
        To: SHIVASANKAR GANESAN tata...@yahoo.co.in
     /mc/compose?to=tata...@yahoo.co.in
       /mc/compose?to=tata...@yahoo.co.in
     /mc/compose?to=tata...@yahoo.co.in
        Cc: tinyos-help@Millennium.Berkeley.EDU
     /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
       /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
     /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
        tinyos-help@Millennium.Berkeley.EDU
     /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
       /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
     /mc/compose?to=tinyos-help@Millennium.Berkeley.EDU
        Date: Friday, 3 December, 2010, 2:06 PM
       
        Hi,
       
        The CC2420ControlC has a ReadRssi interface, which allows you to
        read the RSSI while not actively receiving any message. You could
        sample the background noise for a while, and then use standard
        statistical methods to determine the noise level and the standard
        deviation.
       
        Cheers,
        Urs
       
        On 12/03/2010 07:54 AM, SHIVASANKAR GANESAN wrote:
     Hi
     How to measure Std Deviation of the Gaussian Noise,I need that
        value for
     my experiment(I am using Micaz mote).
     **
     *With regards*
     *Sivasankar*
       
       
      
      





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

[Tinyos-help] Reg:Oscilloscope

2011-02-08 Thread SHIVASANKAR GANESAN
Hi
Is it possible to use Oscilloscope for Tiny OS v1.x?

   With regards  Sivasankar  

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

Re: [Tinyos-help] Graphviz - make mica2 docs

2011-02-06 Thread SHIVASANKAR GANESAN

Hi
Your software components may be out of date.So please do following steps.
1.Please set CLASSPATH2.Try to update ncc,avr-gcc,usip software files3.Try to 
install Java V1.4 and graphviz v1.10

     With regards  Sivasankar  

--- On Sun, 6/2/11, GRANT, C gran...@aston.ac.uk wrote:

From: GRANT, C gran...@aston.ac.uk
Subject: [Tinyos-help] Graphviz - make mica2 docs
To: tinyos-help@millennium.berkeley.edu tinyos-help@millennium.berkeley.edu
Date: Sunday, 6 February, 2011, 3:43 AM



 


 

 Hi,



I am currently using crossbow mica2 hardware kit. I often use MoteView and 
Moteworks rather than cygwin.Installed the software using crossbow installation 
CD  carefully followed the installation instructions 



However I am trying to compile the graphviz diagram using 'make mica2 docs' 
function but cygwin produces an error saying TOP DIRS: opt/MoteWorks along 
with -nesc -topdir- options and make *** [docs_] Error 1. 



Do I need to move my files under MoteWorks tree/ directory?



What doe this mean? 



screenshot attached






operating in windows
TinyOS 1.1
graphviz 1.2






Thanks
Caleb Grant

BEng Communications Engineering

Electronic Engineering Dept.

School of Engineering and Applied Science
Aston University



 


-Inline Attachment Follows-

___
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

[Tinyos-help] Reg:Help in TimerJiffyAsync

2011-02-03 Thread SHIVASANKAR GANESAN

Hi

What is the difference between setOneShot and set in TimerJiffyAsync.
What is the event fired.
     With regards  Sivasankar  


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

[Tinyos-help] Reg: Split Control

2011-02-03 Thread SHIVASANKAR GANESAN
Hi
What for Splitcontrol is used?

     With regards  Sivasankar  

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

[Tinyos-help] Reg:Read RSSI Value

2011-01-28 Thread SHIVASANKAR GANESAN

Hi
I want to read RSSI Value(in CC2420radio).
I am using Tinyos version1.x.
Help me to get RSSI value.   With regards  Sivasankar  

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

[Tinyos-help] Reg:Read RSSI

2011-01-27 Thread SHIVASANKAR GANESAN

while compiling  CC2420PacketP file.
I am getting below given error 
1.CC2420PacketP.nc:64: conflicting types for 
`CC2420Packet.getRssi'2.CC2420Packet.nc:65: previous declaration of 
`CC2420Packet.getRssi'

How to fix this error.   With regards  Sivasankar  

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

Re: [Tinyos-help] Reg:RSSI_VAL register

2011-01-10 Thread SHIVASANKAR GANESAN
Hi
In uses I add
interface CC2420Packet as RadioPacket;
Then I called getRssi  in my function
rssi = call RadioPacket.getRssi(rx_buffer_ptr);
CC2420Packet  is defined as
#include AM.hinterface CC2420Packet { async command int8_t getRssi( TOS_Msg* 
strength );}

TOS_Msg in AM is defined by
typedef struct TOS_Msg{  /* The following fields are transmitted/received on 
the radio. */  uint8_t length;  uint8_t fcfhi;  uint8_t fcflo;  uint8_t 
dsn;  uint16_t destpan;  uint16_t addr;  uint8_t type;  uint8_t group;  int8_t 
data[TOSH_DATA_LENGTH];  uint8_t strength;  uint8_t lqi;  bool crc;  uint8_t 
ack;  uint16_t time;} TOS_Msg;
While compiling this file, I am getting error
RadioPacket.getRssi not connected
Why it is not connected?.How to solve this error.
   With regards  Sivasankar  

--- On Mon, 10/1/11, Sergio Valcarcel serteck...@gmail.com wrote:

From: Sergio Valcarcel serteck...@gmail.com
Subject: Re: [Tinyos-help] Reg:RSSI_VAL register
To: SHIVASANKAR GANESAN tata...@yahoo.co.in
Date: Monday, 10 January, 2011, 7:04 PM

Hi,
not really, you just need to use the interface CC2420Packet, that is provided 
by component CC2420PacketC.

uses {    interface Receive as BeaconReceive;    interface CC2420Packet as 
RadioPacket;}
Then, when you receive the message (in my example is a struct of type BeaconMsg)

event message_t * BeaconReceive.receive(message_t *msg, void *payload, 
uint8_t len){                BeaconMsg * pointerBeacon;
                int8_t rssi;if ( len == sizeBeacon ) {  
pointerBeacon = (BeaconMsg*) payload;
rssi = call RadioPacket.getRssi(msg);              }    
   }

Cheers!Sergio


On Mon, Jan 10, 2011 at 6:06 AM, SHIVASANKAR GANESAN tata...@yahoo.co.in 
wrote:

Hi

Do we need to include any header file for using RSSI_VAL register.
I want to read RSSI Value.

when  I am using below given line.
power=RSSI_VAL-45;//for RSSI reading,here RSSI_OFFSET is -45dBm.

It is giving error as
`RSSI_VAL' undeclared (first use in this function).
 
  With regards  
Sivasankar  


___

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

[Tinyos-help] Reg:RSSI_VAL register

2011-01-09 Thread SHIVASANKAR GANESAN
Hi
Do we need to include any header file for using RSSI_VAL register.
I want to read RSSI Value.
when  I am using below given line.
power=RSSI_VAL-45;//for RSSI reading,here RSSI_OFFSET is -45dBm.
It is giving error as
`RSSI_VAL' undeclared (first use in this function).   With regards  
Sivasankar  

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

[Tinyos-help] Reg:syntax error before `*'

2011-01-05 Thread SHIVASANKAR GANESAN
Hi
While compiling below given packet code,it is showing 
CC2420Packet.nc:9: syntax error before `*'error

interface CC2420Packet {/**   * Set transmission power for a given 
packet. Valid ranges are   * between 0 and 31.   *   * @param p_msg the 
message.   * @param power transmission power.   */  async command void 
setPower( message_t* p_msg, uint8_t power ); //9th line }  How to solve it. 
      With regards  Sivasankar  

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

[Tinyos-help] Reg:transmission power control for preamble

2011-01-05 Thread SHIVASANKAR GANESAN
Hi
I define interface CC2420packet as 
interface CC2420Packet {/**   * Set transmission power for a given 
packet. Valid ranges are   * between 0 and 31.   *   * @param p_msg the 
message.   * @param power transmission power.   */  async command void 
setPower( message_t* p_msg, uint8_t power );//line 9 }  But i am getting error
CC2420Packet.nc:9: syntax error before `*'How to fix it.
  With regards  Sivasankar  

From: manish chaturvedi msc@gmail.com
Subject: Re: [Tinyos-help] Reg:transmission power control for preamble
To: SHIVASANKAR GANESAN
 tata...@yahoo.co.in
Cc: Berekely univ tinyos-help@millennium.berkeley.edu
Date: Monday, 15 November, 2010, 5:02 PM

Hi,

For setting  transmit power for each packet separately,  You can use 
CC2420Packet interface provided by CC2420PacketC.
and use the function setPower of the interface.

    call CC2420Packet.setPower(pkt,31);//set the output power to max i.e 0 dBm


Refer to CC2420 data sheet for various tranmit power values.

Hope this helps..

Regards
Manish..



On 



        components CC2420PacketC;
        App.CC2420Packet - CC2420PacketC;
in your configuration file

        uses interface CC2420Packet;



On Mon, Nov 15, 2010 at 11:58 AM, SHIVASANKAR GANESAN tata...@yahoo.co.in 
wrote:


Hi
How to control transmission power for the preamble(in MICAZ mote).  
   
  With regards  Sivasankar  


___


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

[Tinyos-help] Reg:How to find Power consumption across Micaz

2011-01-05 Thread SHIVASANKAR GANESAN
Hi
How to find power consumed by Micaz.
    With regards  Sivasankar  

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

[Tinyos-help] Reg:transmission power control for preamble

2011-01-05 Thread SHIVASANKAR GANESAN
Hi
While I am adding #define CC2420_DEF_RFPOWER 1,I am getting below given 
warning Message.
warning: CC2420_DEF_RFPOWER redefined
In file included from command line:17:
/tmp/nesccppm2EPZPkP:1174:1: warning: this is the location of the previous 
definition

   With regards  Sivasankar  

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

[Tinyos-help] Reg:transmission power control for preamble

2011-01-05 Thread SHIVASANKAR GANESAN
Hi
Transmission Power control can be done by anyone method from below given 3?
1.MakeXbowlocal file 
--RADIO_POWER=TXPOWER_M0DBM2.CC2420Packet.--setPower--313.#define 
CC2420_DEF_RFPOWER 1
Or all are done for different purpose ?.Please clarify me.
  With regards  Sivasankar  

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

[Tinyos-help] Data Transmission(in Micaz)

2011-01-04 Thread SHIVASANKAR GANESAN
What is the function of this code
atomic{ packet_type = DATA;//Data   
//lenght as seen by the receiver: sent data + crc   
msg_ptr-length = msg_ptr-length + MSG_HEADER_SIZE + MSG_FOOTER_SIZE;  
// put default FCF values   msg_ptr-fcflo = 
CC2420_DEF_FCF_LO; msg_ptr-fcfhi = CC2420_DEF_FCF_HI;  
   // keep the DSN increasing for ACK recognition  
msg_ptr-dsn = ++currentDSN;// destination 
PAN is broadcast msg_ptr-destpan = TOS_BCAST_ADDR; 
 // adjust the destination address to be in the right byte order
 msg_ptr-addr = toLSB16(msg_ptr-addr); // the 
following fields are not actually received //// reset 
the time field msg_ptr-time = 0;  }
With regards  Sivasankar  

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

[Tinyos-help] Data tx

2011-01-04 Thread SHIVASANKAR GANESAN
Hi
I am trying to implement below given transmission part in
Micaz.


If (CCA==1)//channel free

{

Send preamble; //send preamble

If (Ack==1) // Ack received

{

Send data; //send data

}

}


How to implement datapayload transmission part.   With regards  
Sivasankar  

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

Re: [Tinyos-help] Reg:transmission power control for preamble

2011-01-04 Thread SHIVASANKAR GANESAN

Hi
I didn't have CC2420Packet.nc file in my system.   With regards 
 Sivasankar  

--- On Mon, 15/11/10, manish chaturvedi msc@gmail.com wrote:

From: manish chaturvedi msc@gmail.com
Subject: Re: [Tinyos-help] Reg:transmission power control for preamble
To: SHIVASANKAR GANESAN tata...@yahoo.co.in
Cc: Berekely univ tinyos-help@millennium.berkeley.edu
Date: Monday, 15 November, 2010, 5:02 PM

Hi,

For setting  transmit power for each packet separately,  You can use 
CC2420Packet interface provided by CC2420PacketC.
and use the function setPower of the interface.

    call CC2420Packet.setPower(pkt,31);//set the output power to max i.e 0 dBm


Refer to CC2420 data sheet for various tranmit power values.

Hope this helps..

Regards
Manish..



On 



        components CC2420PacketC;
        App.CC2420Packet - CC2420PacketC;
in your configuration file

        uses interface CC2420Packet;



On Mon, Nov 15, 2010 at 11:58 AM, SHIVASANKAR GANESAN tata...@yahoo.co.in 
wrote:


Hi
How to control transmission power for the preamble(in MICAZ mote).  
   
  With regards  Sivasankar  


___


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

[Tinyos-help] How to transmit data

2011-01-03 Thread SHIVASANKAR GANESAN

Hi
I need code for data transmission.   With regards  Sivasankar  

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

[Tinyos-help] How to transmit data

2011-01-03 Thread SHIVASANKAR GANESAN
Hi
I need code for data transmission(using CC2420 radio). With regardsSivasankar   
   
  

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

[Tinyos-help] Reg:Warning message

2010-12-28 Thread SHIVASANKAR GANESAN
Hi
While compiling my coding,i am getting below given warning messages.
1.non-atomic write

2.non-atomic read

3.non-atomic accesses to shared variable `rx_on'
Why it is showing warning message.Shall I ignore this message.   With regards   
   Sivasankar  

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

[Tinyos-help] Reg:Implicit declaration of function error

2010-12-28 Thread SHIVASANKAR GANESAN
Hi
While compiling my code,i am getting below given errors.
In component `MacM':

MacM.nc: In function `fill_preamble_chunk':

MacM.nc:206: implicit declaration of function `toLSB16'

MacM.nc: In function `fill_header':

MacM.nc:282: implicit declaration of function `toLSB16'

MacM.nc: In function `fill_footer':

MacM.nc:301: implicit declaration of function `fromLSB16'

make: *** [exe0] Error 1
How to fix it.   With regards  Sivasankar  



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

[Tinyos-help] Reg:Error is Xmeshbin BoundaryM.nc file

2010-12-19 Thread SHIVASANKAR GANESAN
Hi
while compiling BoundaryM.nc file in tos/lib/XMeshBin/BoundaryM.nc location 
.
 command uint8_t BoundaryI.get_tos_cc_txpower() {#if defined(PLATFORM_MICA2) 
\  || defined(PLATFORM_MICA2DOT) \  || defined(PLATFORM_M9100) \  || 
defined(PLATFORM_M4100)      return call CC1000Control.GetRFPower();#elif 
defined(PLATFORM_MICAZ) \  || defined(PLATFORM_M2100) \  || 
defined(PLATFORM_MICAZB)      return TOS_CC2420_TXPOWER;#elif 
defined(PLATFORM_MICAZC) \  || defined(PLATFORM_M2110)      return 
TOS_RF230_TXPOWER;#endif     return 0;  }
I am getting error
/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: `TOS_CC2420_TXPOWER' 
undeclared (first use in this 
function)/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: (Each undeclared 
identifier is reported only 
once/opt/MoteWorks/tos/lib/XMeshBin/BoundaryM.nc:117: for each function it 
appears in.)
Do we need to declare TXPOWER at the beginning.Help me to fix this error. With 
regards  Sivasankar  

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

[Tinyos-help] Reg:Display packet using Xserve

2010-12-12 Thread SHIVASANKAR GANESAN
Hi 
How to display packet in PC using Cygwin?
When i am giving command xserve –MIB520=COM4.
Then there is no output to the screen,and cursor continues to blink.
What is incorrect in it.
Refer:http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-January/030578.htmlWith
 regards  Sivasankar  

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

[Tinyos-help] Reg:Oscilloscope

2010-12-10 Thread SHIVASANKAR GANESAN

Hi
Is is there anyway to Display Transmitted Data (from Mote) into PC.
What for Oscilloscope module is used.Is it available for Micaz 
mote(CC2420Radio).    With regards  Sivasankar  

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

[Tinyos-help] What is this dbg() means

2010-12-09 Thread SHIVASANKAR GANESAN
What is the function of this line.
dbg(DBG_TEMP,[CC2420TxM] TimerAsync fired, writing packet (%i 
bytes)\n,tx_len);
What is the syntax for dbg().I am new to nesC.   With regards  
Sivasankar  

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

[Tinyos-help] Frame structure of XMAC protocol

2010-12-09 Thread SHIVASANKAR GANESAN
Hi

What is the Frame structure of XMAC protocol.
   With regards  Sivasankar  

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

[Tinyos-help] Reg:TimerJiffyAsyn

2010-12-09 Thread SHIVASANKAR GANESAN
Hi
What for TimerJiffyAsync module is used.
   With regards  Sivasankar  

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

[Tinyos-help] Hoe to find TinyOS version

2010-12-08 Thread SHIVASANKAR GANESAN

Hi
How to find TinyOS version.
I installed tinyOS by Moteworks Software package.   With regards
  Sivasankar  

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

[Tinyos-help] Reg:Structure of B-MAC in Micaz

2010-12-08 Thread SHIVASANKAR GANESAN
Hi
What is the Structure(nesC) of B-MAC protocol in Micaz(CC2420 Radio).   With 
regards  Sivasankar  

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

[Tinyos-help] How to measure SNR in Micaz

2010-12-02 Thread SHIVASANKAR GANESAN
Hi I want to find SNR value,i am using Micaz-CC2420 Radio.How to find it.

With regards  Sivasankar  

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

[Tinyos-help] Reg:Std Deviation of Gaussian Noise

2010-12-02 Thread SHIVASANKAR GANESAN
HiHow to measure Std Deviation of the Gaussian Noise,I need that value for my 
experiment(I am using Micaz mote).
   With regards  Sivasankar  

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

[Tinyos-help] Reg:Max Comm Range

2010-12-02 Thread SHIVASANKAR GANESAN
Hi
What is the Max. communication range for Micaz mote.
   With regards  Sivasankar  

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

[Tinyos-help] Reg:transmission power control for preamble

2010-11-14 Thread SHIVASANKAR GANESAN
Hi
How to control transmission power for the preamble(in MICAZ mote).  
 With regards  Sivasankar  

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

[Tinyos-help] Reg:Cygwin-bash:[:too many arguments error

2010-11-02 Thread SHIVASANKAR GANESAN
Hi
I am getting bash:[:too many arguments error while running cygwin shell.How 
to fix this error.   With regards  Sivasankar  

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

[Tinyos-help] Reg: Cygwin- no rule to make target

2010-11-02 Thread SHIVASANKAR GANESAN
Hi
I am getting no rule to make target error while giving make micaz command 
in cygwin.
But when i am commanding make micazusing Notepad 2 shell,i am not getting any 
error.
Why this error occur,how to solve it.   With regards  
Sivasankar  

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

[Tinyos-help] Reg:Moteview Error

2010-11-01 Thread SHIVASANKAR GANESAN
Hi
While connecting to node (with MDA100CB sensor) to PC Moteview
(through MIB520) in Live mode, I am getting


Serve Message:

Starting xserve:

  xserve -s=COM3 -b=57600 -l
-xmlfile=XmlStream.xml -xmlp -xmlport=9005

 

XSERVE 2.0.E: $Id:
xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur Exp $

Warning: Converting
Windows COM3 device to Cygwin device.

Using params: [db
parsed] [xml parsed] [server port=9001]

Opening serial device: /dev/ttyS2 @ 57600


Error Message:

System.NullReferenceException:
Object reference not set to an instance of an object.

   at
XBow.Plugin.Topology.MoteMapIsoBar.DrawMoteGlow(UInt16 nodeid, String sensor)

 

And I am not getting any data or Node health in Moteview.

Do I need to set anything in Moteview. Help me to view data
in Moteview.   With regards  Sivasankar  

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

[Tinyos-help] Reg:MDA 100CB in Micaz mote

2010-10-31 Thread SHIVASANKAR GANESAN



Hi, 

 

 I am using two MicaZ (2.4GHz)
with MDA100CB sensor boards and programmed via

MIB520 and trying to use MoteView to monitor the motes. I didn’t get
any sensor data in Moteview.

 

Serve Message:

XSERVE 2.0.E: $Id: xserve.c,v 1.8.2.3 2007/02/02 17:45:01 rkapur
Exp $

Warning: Converting Windows COM3 device to Cygwin device.

Using params: [db parsed] [xml parsed] [server port=9001]

Opening serial device: /dev/ttyS2 @ 57600

Process aborted: xserve2/bin/xserve.exe

Error Message:

System.NullReferenceException: Object reference not set to an
instance of an object.

   at
XBow.Plugin.Topology.MoteMapIsoBar.DrawMoteGlow(UInt16 nodeid, String sensor)

 

I am struggling with it for a period time trying to figure out
what is the problem.

 

Thanks a lot.

 

 With regards  Sivasankar  

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

[Tinyos-help] Reg:No rule to target Micaz

2010-10-31 Thread SHIVASANKAR GANESAN
Hi
While runningMake micaz command in cygwin,i am 
gettingno-rule-to-make-target.How to fix this error.
With regards  Sivasankar  

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

[Tinyos-help] Reg: Implementing Photo sensing Application in MICAZ mote

2010-10-28 Thread SHIVASANKAR GANESAN
1) 
I have configured one mote as base using
moteconfig (xmeshbase_hp.exe file with node id as 0).

2) 
Then I have configured another mote as node
using moteconfig (xmda100cb_hp.exe file with node as 1).

3) 
Later I download program for photo sensing
application (The Light sensor is sampled and a message is sent to the base
station. When the message has been sent to the base station the green LED is
toggled. This version uses the XMesh multi-hop routing service to send messages
back to the base station expecting an acknowledgement in return. If the
acknowledgement message is received the yellow LED is toggled-Lesson 5 of 
tutorial)
in to mote with node id 1 using Notepad2.

But I didn’t get photo sensed result in
Moteview.
Why i can't receive any data in Moteview
   With regards  Sivasankar  

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

[Tinyos-help] Reg: Moteview error

2010-10-28 Thread SHIVASANKAR GANESAN

While using Moteview Live data,i am getting below error.
System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it

   at
System.Net.Sockets.Socket.Connect(EndPoint remoteEP)

   at XBow.lib.XSocketBase.Open(String host,
Int32 port)
How to fix it?

    With regards  Sivasankar  

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

[Tinyos-help] Reg: Moteview error

2010-10-28 Thread SHIVASANKAR GANESAN

While using Moteview for getting Live data,i am getting below error.
System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it

   at
System.Net.Sockets.Socket.Connect(EndPoint remoteEP)

   at XBow.lib.XSocketBase.Open(String host,
Int32 port)
How to fix it?

    With regards  Sivasankar  

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

[Tinyos-help] Reg: Moteview error

2010-10-28 Thread SHIVASANKAR GANESAN

While using Moteview getting Live data,i am getting below error.
System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it

   at
System.Net.Sockets.Socket.Connect(EndPoint remoteEP)

   at XBow.lib.XSocketBase.Open(String host,
Int32 port)
How to fix it?

    With regards  Sivasankar  

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

[Tinyos-help] Reg:Mote Config Vs Notepad2

2010-10-26 Thread SHIVASANKAR GANESAN
According to my knowledge,Mote config is to configure Mote and Notepad is to 
program Atmel Processor. Am i correct?
What is difference between Notepad2  Moteconfig based programming.Please 
explain it.


     With regards  Sivasankar  

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