[Tinyos-help] help me

2013-02-19 Thread babli sen
I'm interested in running TinyDB in simulation, so I did: /apps/TinyDBApp/make pc /tools/java/net/tinyos/tinydb/make -f MakePC Everything went ok but some warning msg for TinyDBApp. I run: /apps/TinyDBApp/build/pc/main.exe -gui 5 java ...tinyviz.jar java ...TinyDBMain -sim What happens is that

[Tinyos-help] help me: Visualization of TInyos 2.x with tossim?

2012-09-13 Thread Busi Reddy Nagarjuna Reddy
Hi friend, Could you please tell is there any tool to visualize tossim simulation in Tinyos2.x in Ubuntu. Actually i tried tinyviz in tinyos1.x it is working but when i am coming to tinyos2.x i am not getting the visualization. Could you please tell is it possible to visualize Tinyos2.x tossim

[Tinyos-help] help me about USB config for JTAG

2011-11-19 Thread Mashal al-shboul
Hi All, How are you? i need a help in configuring my ubuntu 11.10 for iMOTE2 programming using JTAG, briefly,  USB configurations requested uncomment lines in a file called mountdevubfs.sh in /etc/init.d   the problem is I DON'T HAVE THIS FILE IN THE DIRECTORY /etc/init.d, i tried to get it

[Tinyos-help] Help me for creating cluster based network in TinyOS

2011-11-14 Thread Khushbu Shah
Dear All I am doing my final sem MTech project on wireless sensor network. I want to try some application in TinyOS in which have to create cluster based network. ClusterHead election process should be based on combination of residual energy and distance from each node. Can anybody give me some

[Tinyos-help] Help me to Run Surge application in Micaz

2011-05-09 Thread Nazmul Hossain
I was trying to run the Surge application but was not successful. Using MIB520 programming board I programmed surge program onto two micaz motes. To program these two micaz motes I used the following commands. make micaz install.0 mib510,/dev/ttyS3 make micaz install.1 mib510,/dev/ttyS3 Then

Re: [Tinyos-help] help me with blip

2010-09-15 Thread Stephen Dawson-Haggerty
it's not called inet6_aton, it's: void inet_pton6(char *addr, struct in6_addr *dest); In the other case, case, you can do a nx_struct udp_report *UDPMsg1 = data; unit16_t Temp; Temp = UDPMsg1-Etemp On Sun, Sep 12, 2010 at 1:08 AM, Hamidreza Ghafghazi

[Tinyos-help] help me with blip

2010-09-12 Thread Hamidreza Ghafghazi
Dear all, I have a problem with UDPEcho. I have modified it to use in my scenario which is kind of routing, when I compile it I have an error. here is the error: *UDPEchoP.nc : implicit declaration of function `inet6_aton'* here is my code: *inet6_aton (2001:470:1f04:56d::3,

[Tinyos-help] help me with tymo

2010-05-09 Thread Shyam Sahu
Hi. i am working on the tymo application. I have downloaded the tymo folder from CVS SourceForge and copied it to /tos/lib/net. and when i compile the app, I get these following errors. What has gone wrong??? TestM.nc:1:27: error: routing_table.h: No such file or directory In

[Tinyos-help] help me to run PSFQ code

2010-02-26 Thread sania aziz
i have psfq code i run it but it gave me problem . it doesnt run properly. help me which files r necessary to run it? my work is stopped due to this problem. i need help as soon as possible. ___ Tinyos-help mailing list

[Tinyos-help] help me for the tossim simulation

2009-09-18 Thread cshlchen
Dear Sir/Madam, I am using Tossim (tinyos 1, windows XP ) to do simulation now, and I have a problem. I want to simulate a scenario with 1 mote, but it fails. Can you help me? I know that the tossim has the limit on the number of motes, but I find on some paper that they can simulate a

[Tinyos-help] help me for the tossim simulation

2009-09-18 Thread cshlchen
Dear Sir/Madam, I am using Tossim (tinyos 1, windows XP ) to do simulation now, and I have a problem. I want to simulate a scenario with 1 mote, but it fails. Can you help me? I know that the tossim has the limit on the number of motes, but I find on some paper that they can simulate a

Re: [Tinyos-help] Help me please

2009-03-06 Thread Héberte Fernandes de Moraes
Hi I have a ubuntu 8.10 instaled im my machine with jvm sun java 1.6.0_10. The libraries are in the $JAVA_PATH/jre/lib/i386 (libtoscomm.so, libgetenv.so, libLinuxSerialParallel_g.so, libLinuxSerialParallel.so), comm.jar is $JAVA_PATH/jre/lib/ext and javax.comm.properties is in $JAVA_PATH/jre/lib,

[Tinyos-help] Help me please

2009-03-05 Thread Héberte Fernandes de Moraes
Hi I`m new to development in the TinyOS platform and I`m having a very strange problem. The application was developed in java and only use the mote (tmote sky) for sending messages. The problem is: I'm trying to run this java application on pc's without the TinyOS platform installed (all with

Re: [Tinyos-help] Help me please

2009-03-05 Thread Urs Hunkeler
Hi Héberte, What exactly did you install on the Linux machine? Which version of Java? Where did you put the native libraries (probably called libtoscomm.so and libgetenv.so)? What kind of output do you expect (what do you see on Windows when it is running as expected)? Do you get any

[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

[Tinyos-help] Help me with Timer

2006-12-03 Thread bhushan bhatt
Hello all, I want to implement a timer in my program. I want a start a timer and than when i am done sending my packet i want to stop it. I want to start it again when my node is ready to transmit again. So basically i want to see how much is my node active for the whole period i run the

[Tinyos-help] Help me. to use math function

2006-09-22 Thread 박판근
I want to use some math function in sky tmote.But when i compile my application, there are errors like ' undefined reference to `log' '. I can find log function in the file app.c for my application. It seems find math function from /opt/msp430/msp430/include/math.h.How can i use normal c function

[Tinyos-help] Help me with raw data conversion

2006-09-11 Thread Giovanni Petracca
Hi all, i have two questions to you; 1) i'm using Oscilloscope and Delta apps, and i want to convert raw data from ADC into SI data; i 'm using the paper "getting data from moteiv tmote sky sensors" at www.moteiv.com. the external temperature sensor give me a value = 6965 (1B35 in hex) that

RE: [Tinyos-help] Help me with raw data conversion

2006-09-11 Thread Ben Kelley
PetraccaSent: Monday, September 11, 2006 05:04To: tinyos-help@Millennium.Berkeley.EDUSubject: [Tinyos-help] Help me with raw data conversion Hi all, i have two questions to you; 1) i'm using Oscilloscope and Delta apps, and i want to convert raw data from ADC into SI data; i 'm

RE: [Tinyos-help] Help me with raw data conversion

2006-09-11 Thread Giovanni Petracca
' ; tinyos-help@Millennium.Berkeley.EDU Sent: Monday, September 11, 2006 1:43 PM Subject: RE: [Tinyos-help] Help me with raw data conversion Are the motes plugged into a USB port or by themselves? I saw something of a 2 to 5 degree celsius increase when I did some tests with the external

Re: [Tinyos-help] Help me with raw data conversion

2006-09-11 Thread Michael Schippling
on question 2)...yes, data is sent low byte first (little-endian). I'm not sure that the seqno is 4 bytes however. Look at the struct and see if it is a long or int. MS Giovanni Petracca wrote: Hi all, i have two questions to you; 1) i'm using Oscilloscope and Delta apps, and i want to

[Tinyos-help] Help me with my problem!

2006-07-14 Thread Hieu Tran
Hi all!In my program, I modified the application in the Tutorial Lesson 7. I have to program 3 motes, one mote as a source node that transmits packet at fixed interval of time, one node as a relay node (it just forward whatever packet it receives) and one node as base station that read packet

Re: [Tinyos-help] Help me with my problem!

2006-07-14 Thread John Kimani
Hi, For the Leds to work you need to initialize the Leds component in your command result_t StdControl.init() method. Something like: call Leds.init(); Good luck. John K.Hieu Tran [EMAIL PROTECTED] wrote: Hi all!In my program, I modified the application in the Tutorial Lesson 7. I have to

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

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

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

2006-06-27 Thread Hieu Tran
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));

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

2006-06-27 Thread Ole Bischoff
); call Leds.set(call CC1000Control.GetRFPower()); - all LEDs should be on. OLE - Original Message - From: Hieu Tran To: tinyos-help@Millennium.Berkeley.EDU Sent: Tuesday, June 27, 2006 1:44 PM Subject: [Tinyos-help] Help me with power range and signal strength

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

2006-06-27 Thread Rahul Sawant
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

[Tinyos-help] Help me with MIG!

2006-05-22 Thread Hieu Tran
Hi all! In my work, I want to creat my own structure (say, MyMsg). I creat file MyMsg.h and put in the directory/apps/Project. I want to creat the class MyMsg.java in the directory.../tools/java/net/tinyos/tools. I made the change to the Makefile in the tools directory as follow:MSGS =

Re: [Tinyos-help] Help me with MIG!

2006-05-22 Thread Michael Schippling
make MyMsg.java might work, but you could have some dependency foo. You can remove/name MyMsg.java to force it to run. Or if you change the line to this: MyMsg.java: MyMsg.h It should remake everytime you change MyMsg.h MS Hieu Tran wrote: Hi all! In my work, I want to creat my own

[Tinyos-help] Help me with java!

2006-05-21 Thread Hieu Tran
Hi all!I try to compile and run the ListenRaw class in net/tinyos/tools. This file is compiled successfully, however when I run : java ListenRaw -h (-h mean help) the Cygwin window display "Exception in thread "main" java.lang.NoClassDefFoundError: ListenRaw".I check in www.java.sun.com it

[Tinyos-help] Help me with this problem

2006-05-14 Thread bhushan bhatt
Hi all,I have a scenario to simulate with the motes and i have been practicing with some basic application to leanr more about mote communication. I have an application to develope in which the mote connected to computer when loaded with that application will start broadcasting

Re: [Tinyos-help] Help me with type of struct!

2006-05-13 Thread Hieu Tran
Thank you so much. However, in my case, if I add LogMsg into "args" union. I am not sure for 2 possibilities: - Can I still use BcastInject since this program is written to support old SImpleCmd struct? For me, it is really complecated to make change to some java programes. - Since "args" is

Re: [Tinyos-help] Help me with type of struct!

2006-05-13 Thread Michael Schippling
You will have to, at minimum, recompile and reload all programs that use the message structure. I haven't used/looked at BcastInject so I don't know if it even has facility for receiving messages, but certainly it would need to be modified to interpret your new message. As to changing structs,

[Tinyos-help] Help me with type of struct!

2006-05-12 Thread Hieu Tran
Hi all! I am doing a simulation in TinyOS tutorial, Lesson 7 (Injecting and Broadcasting packets). I have 3 motes,in that one moteprogrammed asTOSBase. Two motes programmed with Bcast,in which one mote as Relay node (receive packet and forward, mote address 1), one mote as destination (mote

Re: [Tinyos-help] Help me with type of struct!

2006-05-12 Thread Michael Schippling
it looks like someone thought this would be a good idea and included some intriguingly named objects in SimpleCmdMsg.h. Like start_sense_args ss_args and LogMsg. But I don't find them used anywhere. You could probably add LogMsg to the args union and create a new action type for returned sense

[Tinyos-help] Help me with deluge

2006-05-11 Thread bhushan bhatt
I am trying to make Deluge work with Blink to test over the air programming. The manual asks to type : % make platform install. But cygwin does not recognize % symbol. How to compile this application ?Bhushan How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call

Re: [Tinyos-help] Help me with deluge

2006-05-11 Thread Michael Schippling
I think the % was an attempt to show the shell prompt... just type: make platform install where platform is your mote type, like: make mica2 install MS bhushan bhatt wrote: I am trying to make Deluge work with Blink to test over the air programming. The manual asks to type : % make

[Tinyos-help] Help me with analog-digital converter!

2006-05-10 Thread Hieu Tran
Hi all! I am a new to TinyOS. I am doing a simulation with one moteprogrammed with TOSBase and one mote programmmed with SimpleCmd. I use BcastIject to send radio packet from TOSBase to SimpleCmd. There is no problem with the simulation (because all are included in tutorial). However, I have some

[Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Hieu Tran
Hi all! I am a new to TinyOS. I am doing a simulation with one mote program with TOSBase. I use BcastIject to send radio packet. In BcastInject, I modify it with destination address is received from command. After that, I put this address in the read_log_arg variable of SimpleCmd. Here are some

[Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Hieu Tran
Sorry, I think in the command if (cmd-args.rl_args=TOS_LOCAL_ADDRESS) it must be if (cmd-args.rl_args==TOS_LOCAL_ADDRESS). However, when I change this, the Cygwin display "invalid operands to binary ==". How can I solve this problem? Thanks alot. Hi all! I am a new to TinyOS. I am doing a

Re: [Tinyos-help] Help me with SimpleCmd!

2006-05-09 Thread Michael Schippling
good, you caught that =/== thing... From looking at the SimpleCmdMsg.h file, I think what you want is: cmd-args.rl_args.destaddr since rl_args is a struct itself. Also on the question you sent to me directly: From the Cygwin command, if I type java.net.tools.BcastInject led_on 1 (1

[Tinyos-help] Help me with MOTE address!

2006-05-08 Thread Hieu Tran
Hi all! I am a new to TinyOS. I want to programming one mote as a relay node, it receive radio packet (SimpleCmd structure including destination address), and whenreceiving the packet, it make a coparision of destination address in the received packet with its address. If they are equal, the node

Re: [Tinyos-help] Help me with MOTE address!

2006-05-08 Thread Vinayak Naik
Your mote's address is stored in TOS_LOCAL_ADDRESS variable. You can read it.- VinayakOn 5/8/06, Hieu Tran [EMAIL PROTECTED] wrote:Hi all! I am a new to TinyOS. I want to programming one mote as a relay node, it receive radio packet (SimpleCmd structure including destination address), and

Re: [Tinyos-help] Help me with MOTE address!

2006-05-08 Thread Michael Schippling
However...messages that are not addressed to the local nodeID (or Broadcast) are dropped in the message code...I forget where just now and everytime I go looking for something I can't find it again... So the app level never sees them in order to forward them. You'll have to go fiddle with that

[Tinyos-help] Help me with MultiRouter!

2006-05-06 Thread Hieu Tran
Hi all! I am new to tinyos. I am doing the project with relay channels. I see in the directory Tos/Lib/Route have MultihopRouter configuration file and I want to compile it with make mica2, and make mica2 docs to have a graphic picture. However, when I change directory to ..tos/lib/Route and type

[Tinyos-help] Help me with TOSSIM!

2006-05-05 Thread Hieu Tran
Hi all! I am just getting started with Tinyos tutorial. In Tutorial 5, in part "Tiniviz: The TOSSIM User Interface", I try to run simulation export DBG=usr1 tinyviz -run build/pc/main.exe 30However, the Cygwin display "Could not find aplatform specific version of TOSMsg

[Tinyos-help] Help me with oscilloscope GUI!

2006-04-28 Thread Hieu Tran
Hi all! I am just getting started with TinyOS and Nesc. From the tutorial 6, I ran the Serial Forwarder Program and I can see the packet counter sent over the serial port. Next I move to the oscilloscope GUI, in the tutorial said:"Leaving the serial forwarder running, execute the command:

Re: [Tinyos-help] Help me with oscilloscope GUI!

2006-04-28 Thread Harri Siirtola
Hi, start SerialForwarder to the background, for example: $ net.tinyos.sf.SerialForwarder that way you return to command prompt and SF runs as a background process. Regards, Harri At 03:51 AM 4/28/2006 -0700, Hieu Tran wrote: Hi all! I am just getting started with TinyOS and Nesc.

Re: [Tinyos-help] Help me with oscilloscope GUI!

2006-04-28 Thread Diego Bartolomé Arquillo
You must execute the Serial Forwarder in background (with at the end). BR, Diego - Original Message - From: Hieu Tran To: tinyos-help@Millennium.Berkeley.EDU Sent: Friday, April 28, 2006 12:51 PM Subject: [Tinyos-help] Help me with oscilloscope GUI! Hi

Re: [Tinyos-help] Help me with oscilloscope GUI!

2006-04-28 Thread Aditya Bhave
- Original Message - From: Hieu Tran To: tinyos-help@Millennium.Berkeley.EDU Sent: Friday, April 28, 2006 12:51 PM Subject: [Tinyos-help] Help me with oscilloscope GUI! Hi all! I am just getting started with TinyOS and Nesc. From the tutorial 6, I ran the Serial

Re: [Tinyos-help] Help me with oscilloscope GUI!

2006-04-28 Thread Harri Siirtola
Typo again, the command has to have 'java' of course: $ java net.tinyos.sf.SerialForwarder Harri At 02:29 PM 4/28/2006 +0300, Harri Siirtola wrote: Hi, start SerialForwarder to the background, for example: $ net.tinyos.sf.SerialForwarder that way you return to command prompt

[Tinyos-help] help me

2005-11-11 Thread Aribi Noureddine
Hello, I am a student (post-graduation) in the University of Oran (department of computer science) -Algeria- and I am very interested in wireless sensor networks (especially secure routing issues) and I wonder if you could help me. I have read a lot of about this new technology, after that, I