Re: [Tinyos-help] Help with Listen command on TinyOS 1.x

2010-01-15 Thread MIchael Schippling
Try comparing your program to some of the demo apps that send a simple integer message. I don't have the relevant TOS code in front of me, but IntToRFM or something like that comes to mind. There is some confusion in your posted code between SendUART() and SendMsg()... Also just try those demos

[Tinyos-help] help with ctp

2010-01-15 Thread AKHILA S RAO
Hello, I want to use the CTP protocol for collection of data in a sensor network. The size of the data is in the order of a few tens of bytes. I am able to successfully collect only 15 bytes. The rest are being garbled.. Is there a way i can change the maximum allowable size of the data to be

[Tinyos-help] Help with Listen command on TinyOS 1.x

2010-01-14 Thread Suresh Mathew
Hi, I am using TinyOS1.x on a mica2 platform on a Windows OS. I have been trying to send data from the mote to the PC. To send the data, I have used the following code - TOS_Msg test_packet; *void task PostMsg() { message1 = (testMsg *)test_packet.data; message1-seq = 100; call

[Tinyos-help] help required

2010-01-08 Thread amrita ghosal
Please let me know whether Implementation of TDMA technology is possible in tinyos platform in wireless sensor networks. Thank You, Amrita The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/___

Re: [Tinyos-help] Help with external interrupts on custom MICA2 based mote - attaching some more files...

2010-01-03 Thread MIchael Schippling
1. Presumably you have not included any micasb code in your config so you should be ok. I was just pointing out that the pin you want to use is assigned to that function, and sometimes our code providers are less careful. A quick search for the names in the source might be indicated... 2) It

Re: [Tinyos-help] Help with external interrupts on custom MICA2 based mote - attaching some more files...

2010-01-01 Thread MIchael Schippling
I'm a little lazy so I don't want to read through all your code, but... First make sure you have set the PE5 pin as an input with interrupt enabled, and that nothing...say the micasb board's light sensor power control...is also trying to use that pin. And check that those peripheral interrupts

Re: [Tinyos-help] Help with external interrupts on custom MICA2 based mote - attaching some more files...

2010-01-01 Thread Suresh Mathew
Hi Michael, Thank you so much for your response! As you mentioned, I have set up PE5 as an input pin using the commands - cbi(PORTE,5); and cbi(DDRE,5). Interrupts have been enabled using sei() and sbi(EIMSK,5). I am guessing I have done those things correctly. Also, PE5 is a general I/O port.

Re: [Tinyos-help] Help required: conversion of AT commands to nesC

2009-12-31 Thread George, Mike
To: tinyos-help@millennium.berkeley.edu Sent: Tuesday, December 29, 2009 4:21:05 AM GMT -06:00 US/Canada Central Subject: [Tinyos-help] Help required: conversion of AT commands to nesC Dear Sir/ Madam, I am Sandhya Sourirajan doing my final year, B.E- EEE in Coimbatore Institute of Technology

[Tinyos-help] Help with external interrupts on custom MICA2 based mote

2009-12-31 Thread Suresh Mathew
Hi, Due to certain constraints, my project is forced to work on TinyOS1.1. My aim is to wake-up the main micro-controller based on an external interrupt. PortE's 5th pin is being used as the external interrupt. To know if the code is working, I have setup the code in such a way that - each time

[Tinyos-help] Help with external interrupts on custom MICA2 based mote - attaching some more files...

2009-12-31 Thread Suresh Mathew
Hi, Due to certain constraints, my project is forced to work on TinyOS1.1. My aim is to wake-up the main micro-controller based on an external interrupt. PortE's 5th pin is being used as the external interrupt. To know if the code is working, I have setup the code in such a way that - each time

[Tinyos-help] Help required: conversion of AT commands to nesC

2009-12-29 Thread Sandhya Sourirajan
Dear Sir/ Madam, I am Sandhya Sourirajan doing my final year, B.E- EEE in Coimbatore Institute of Technology. I am currently doing a project involving Wireless Sensor Networks using the Crossbow's micaz motes for building an intrusion detection system. I checked out the Wireless Sensor Networks

Re: [Tinyos-help] Help required: conversion of AT commands to nesC

2009-12-29 Thread Paul Johnson
Sandhya, I've done some similar work with embedded systems interfacing with GSM modems using RS-232(serial) connections. Basically what I had to do was create my own interface to the GSM modem using AT commands. The micaz platform has an RS-232 connection (the connection is usually obtained

[Tinyos-help] Help with sending messages to a PC from MICA2 mote

2009-12-28 Thread Suresh Mathew
Hi, I am using a MICA2 mote on TinyOS 1.x. I want to send a simple message to the PC and the message needs to be printed directly into a file. How do I do this? Please note I am using a MICA2 mote on TinyOS 1.x on a Windows XP Platform. - Suresh ___

Re: [Tinyos-help] Help with sending messages to a PC from MICA2 mote

2009-12-28 Thread Manjunath Doddavenkatappa
If I remember correct (as Tinysos-2.x has completely replaced 1.x), please use the SendMsg interface wired to the GenericComm with destination address being TOS_UART_ADDR. Regards, Manjunath D

Re: [Tinyos-help] Help with sending messages to a PC from MICA2 mote

2009-12-28 Thread Suresh Mathew
This is where I have been having problems. I am using the SendMsg.Send(TOS_UART_ADDR,length, Msg) to send the data. However, how can I actually setup the message? My message is simply Hello. I have declared Msg as TOS_MsgPtr. Then I have set Msg-data = Hello. How do I set up length? command

Re: [Tinyos-help] Help with sending messages to a PC from MICA2 mote

2009-12-28 Thread Manjunath Doddavenkatappa
TOS_MsgPtr Msg is a pointer and you must initialize it to an allocated location. For example, TOS_Msg buf TOS_MsgPtr msg = buf and then copy Hello to msg-data using either memcpy or any other string copy routines. If you look at TOS_Msg structure defined in tos/system/AM.h has a length

[Tinyos-help] Help with sending data to PC from MICA2 mote

2009-12-28 Thread Suresh Mathew
Hi, I am using a MICA2 mote on TinyOS 1.x. I want to send a simple message to the PC and the message needs to be printed directly into a file. How do I do this? Please note I am using a MICA2 mote on TinyOS 1.x on a Windows XP Platform. - Suresh ___

[Tinyos-help] Help: Tinyos 1.x temperature reading malfunction

2009-12-13 Thread ri.d...@libero.it
Hi, I'm trying to connect some wireless sensors Iris Crossbow to read light and temperature. I must realize these three things: 1) I have to sample the light and the temperature with two different times and I have to send the strings everytime the signal is sampled. These things have to happen

Re: [Tinyos-help] Help

2009-12-08 Thread Arik Sapojnik
type: motelist On Sun, Dec 6, 2009 at 12:42, Oussama Ghorbel sch_ouss...@yahoo.fr wrote: Hi I wrote a code that is the sum of two integers, I want to install this code in the sensor (Crossbow Telosb) and how to know the port number in which the sensor is connected... Thanks.

[Tinyos-help] Help: Tinyos1.0 temperature and Humidity Module using Telosb

2009-12-07 Thread nitya tharakan
Hi, I am Mary.I am a newbie working with TinyOS1.0.I am trying to acquire both temperature and humidity values and displaying the graph on Oscilloscope.I am using HumidityC , HumidityM, HumidityProtocolC and HumidityProtocolM. I have 2 ongoing problems Problem 1) I am unable to get both temp

Re: [Tinyos-help] Help: Tinyos1.0 temperature and Humidity Module using Telosb

2009-12-07 Thread Raffaele Gravina
Hi, you can find all the necessary conversion formulas here: http://docs.tinyos.net/index.php/Boomerang_ADC_Example http://docs.tinyos.net/index.php/Boomerang_ADC_ExampleYes, i would suggest to acquire the raw data from the mote and to plot the values converted in java. Cheers, Raf 2009/12/7

[Tinyos-help] Help

2009-12-07 Thread Oussama Ghorbel
Hi I wrote a code that is the sum of two integers, I want to install this code in the sensor (Crossbow Telosb) and how to know the port number in which the sensor is connected... Thanks. ___ Tinyos-help mailing list

[Tinyos-help] help

2009-12-02 Thread Victor José De Diego Pascual
Can i have a sample rate of 10 Hz with mts420 sensor board, mote processor mpr2400, gateway mib520, and a sensorboard MTS400 and MTS420(with GPS)? I want change the sampling period to value less than 3 seconds, because is the minimum period that i have get. I change it by 2 methods: 1-using

[Tinyos-help] help tos-install-jni

2009-12-01 Thread 朱青青
Hello, I was hoping that you could help me with exception in thread main java.lang.NoClassDefFoundError:net/tinyos/message/MessageListerner at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:604) at

[Tinyos-help] Help: Installation error TinyOS 2.1

2009-11-30 Thread Ling Zhu
Manually installing the Tinyos 2.1, however, when I compiled example program Blink, it shows following error. Anyone could tell me about the reason? Thank you. $ make micaz mkdir -p build/micaz compiling BlinkAppC to a micaz binary ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all

Re: [Tinyos-help] Help: Installation error TinyOS 2.1

2009-11-30 Thread Janos Sallai
Looks like your user name includes an character. Probably that's why things went wrong. Try to compile blink (and use TinyOs thereafter) as a different user. Please note that the build environment is also picky about paths that include special characters. Notably, the parentheses in Program Files

[Tinyos-help] Help regarding Genereal Perpose IO ports.

2009-11-27 Thread himanshu barve
Hello Friends. 1) Where can i get list of available ports with their name ? I know there are 5 Digital IO ports out of them 4 are exclusive and remaining are shared. What name i shall use while calling them as interface , from HplMsp430GeneralIOC . ? ie I want to know there port number. 2) I

Re: [Tinyos-help] [Help] Dissemination Protocol Test with DIP

2009-11-18 Thread Seungweon Park
Hello Folks, I used to play with TestDip in simulating DIP in TOSSIM. However, when I downloaded/installed the tinyos VM image( http://sing.stanford.edu/tinyos/dists/xubuntos-2.1-vm.tar.gz) from the link of

[Tinyos-help] help

2009-11-16 Thread swaroop jois
I am Krishna Swaroop A working at Center for Electronics Design and Technology (CEDT) ,Indian Institute of Science Bangalore. I am working on TINYOSDelugeT2 protocol and i am trying to configure that protocol for tinynode. For Tinynode TOSBoot directory is Compiling but when i compile Blink

[Tinyos-help] help

2009-11-07 Thread Arslan Shahid
Hi,I am a student in Pakistan i am working on wireless sensor networks. I have installed an image of xbuntu that has tinyos2.x , but it does not have this command (make pc), is there any way i can use it to perform simulations in power tossim??i am new to this.plz help!!

Re: [Tinyos-help] help

2009-11-07 Thread Faisal Aslam
There is not TinyOS command make pc in TinyOS 2.x. It is TinyOS 1 command. Please read all the tutorials first http://docs.tinyos.net/index.php/TinyOS_Tutorials (also check TOSSIM tutorial). best regards, Faisal Arslan Shahid wrote: Hi, I am a student in Pakistan i am working on wireless

[Tinyos-help] Help with broadcasting

2009-10-12 Thread Kartik Siddhabathula
Hi All, I am having a problem broadcasting a packet using multihop. I am using tinyos-1.x and crossbow telosb motes. The tutorial mentions use of EEPROM, but when am executing it it says EEPROM not found. How to bypass EEPROM and how to pass the RAM as a local variable to it so that I can

[Tinyos-help] Help on Finding total frame length

2009-10-09 Thread trilok i
Hi all , Can anyone tell how to get the length of the frame we're currently receiving in RXFIFO. Thanks. _ Great events make grand headlines – read them all on MSN India

[Tinyos-help] Help on AES CC2420 In-line security

2009-10-07 Thread trilok i
hi JeongGil Ko, I have tested your code , but there is problem in CC2420ReceiveP.nc . It is not receiving Packet properly. Please check it once . Thank you.

Re: [Tinyos-help] Help on AES CC2420 In-line security

2009-10-07 Thread JeongGil Ko (John)
Hi! Can you be more specific on what the problem is? Thanks. -John hi JeongGil Ko, I have tested your code , but there is problem in CC2420ReceiveP.nc . It is not receiving Packet properly. Please check it once . Thank you. One peek at MSN India

Re: [Tinyos-help] Help about installing packages in Windows7

2009-10-01 Thread sch_oussama
Hi i have the same problem with Windows7...then please if you have a solution give it to me. Thanks. -- View this message in context: http://www.nabble.com/Help-about-installing-packages-in-Windows-Vista%21-tp23011675p25681467.html Sent from the TinyOS - Help mailing list archive at

[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

[Tinyos-help] Help on install Tinyos 2.0

2009-09-04 Thread wenqi guo
Hi, Today when I try to reinstall tinyos 2.0 in my laptop, since this laptop crashed few days ago, there is always a warning message: user TinyOS User does not exist - using root. Actually this happened when I tried to install avr-libc-1.4.7-1.cygwin.i386.rpm. So what does this mean and how can I

[Tinyos-help] help

2009-09-01 Thread Siddiqua, Ayesha
Hi, I want to send an uint8_t array from pc to the mote by the program TestSerial.java. What type I should convert uint8_t to? Should I convert it to byte array? or any other type of array? Somebody please help my out by providing the code to convert uint8_t to a suitable type of array

[Tinyos-help] help

2009-08-26 Thread Siddiqua, Ayesha
Hi, Could you please suggest me an easy way so that I can send the byte array by radio from PC to the mote? regards Ayesha ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu

Re: [Tinyos-help] help

2009-08-26 Thread Eric Decker
have you looked at PrintF? take a look at the tutorials. You should be able to figure out how to do this by spending some time and effort there. eric On Wed, Aug 26, 2009 at 8:37 AM, Siddiqua, Ayesha ayes...@okstate.eduwrote: Hi, Could you please suggest me an easy way so that I can send

Re: [Tinyos-help] help in implementing multihoping

2009-08-26 Thread Omprakash Gnawali
On Mon, Aug 24, 2009 at 3:40 AM, Akashdeepgeorgian3...@gmail.com wrote: Hi I am trying to implement a network with 5 motes and the distance between two motes are more than 200 meters. How can i take the readings of the sensor that are beyond 200mts (motes that are out of radio range)from

[Tinyos-help] Help with Msp430Adc12ClientAutoRVGC

2009-08-26 Thread himanshu barve
Hello friends .. When i am wiring Msp430Adc12ClientAutoRVGC .. in my application .. i am getting following error .. Its wiring error with some basic component .. I think i have latest version of this file .. Just in case .. i am attaching these two files along with this mail .. In component

[Tinyos-help] help on serialforwarder for bad packet problem

2009-08-24 Thread renjie huang
Hi When I use serialforwarder to listen packets from a node's serial port, it prints a lot of bad packet statement as follows. If I reset the node, it will become working normally without printing the bad packet statement. Is it because the serial driver in TinyOS-2.x not so stable? Thanks

Re: [Tinyos-help] help

2009-08-21 Thread Michael Schippling
Search this list for MIG, SimpleCmd, and my example robocode MS Siddiqua, Ayesha wrote: Hi, I want to send an array from PC (Linux, tinyos) to telosb mote by a java application.Each array element is maximum 2 bytes. Please let me know how I can do this. Ayesha

[Tinyos-help] Help with timers

2009-08-20 Thread aldo
Hello All, Has anyone got the timers to work in a Msp430 microprocessor of the family MSP430F22xx or MSP430F26xx? The default Msp430 Timer stack done in TinyOS doesn't work for me in MSP430F2274... I don't know why because the registers and memory addresses may be the same in all the families

Re: [Tinyos-help] Help- Rssi and field group id

2009-08-17 Thread Miguel Torres
only works for motes with CC2420 or RF230 radios. #endif Best regards, Miguel Silva -- Mensagem reencaminhada -- From: Mehmet Akif Antepli akifante...@gmail.com To: Matteo Dany teo.malef...@gmail.com Date: Sun, 16 Aug 2009 02:50:11 -0700 Subject: Re: [Tinyos-help] Help- Rssi

Re: [Tinyos-help] Help- Rssi and field group id

2009-08-17 Thread Miguel Torres
teo.malef...@gmail.com Date: Sun, 16 Aug 2009 02:50:11 -0700 Subject: Re: [Tinyos-help] Help- Rssi and field group id Yes, that's correct. On Sun, Aug 16, 2009 at 2:43 AM, Matteo Dany teo.malef...@gmail.com wrote:    Thanks,    I should understand, I read the rssi from a serial packet

[Tinyos-help] Help- Rssi and field group id

2009-08-16 Thread Matteo Dany
Hi guys, I have a tmote sky and I search to read a Rssi, but I have little problem with convert Rssi . I read correctly the Rssi from radio message and the value appears in a range 0, 255. But how convert the value in dbm? I search in google and I read the CC2420 datasheet, they suggest to

Re: [Tinyos-help] Help- Rssi and field group id

2009-08-16 Thread Mehmet Akif Antepli
Hi Matteo, You should interpret rssi reading as signed 8 bit value in 2's complement form. (From Page 64 of 87: CC2420 datasheet) RSSI (0x13) - RSSI and CCA Status and Control Register part On Sun, Aug 16, 2009 at 1:09 AM, Matteo Dany teo.malef...@gmail.com wrote: Hi guys, I have a tmote sky

Re: [Tinyos-help] Help- Rssi and field group id

2009-08-16 Thread Mehmet Akif Antepli
Yes, that's correct. On Sun, Aug 16, 2009 at 2:43 AM, Matteo Dany teo.malef...@gmail.com wrote: Thanks, I should understand, I read the rssi from a serial packet with an program write in C. I put the rssi in a char and subtract -45. It's right? Thanks 2009/8/16 Mehmet Akif Antepli

Re: [Tinyos-help] help reg Multihop routing

2009-08-16 Thread Omprakash Gnawali
On Sun, Aug 16, 2009 at 1:17 PM, Swetha Rswetha...@rocketmail.com wrote: Hello,   Thanks a lot for your reply. Can you please suggest me how i can write my own protocol for my scenario. I also want to store the routing table information in each node which would be a static table and

Re: [Tinyos-help] help installing tinyos 2.x on mac

2009-08-13 Thread Urs Hunkeler
Hi Daniele, 1. I put all the TinyOS files into /opt/tinyos-2.x. I saved the tinyos.sh file into this directory (so it is at /opt/tinyos-2.x/tinyos.sh). Then I modified the TOSROOT line to: TOSROOT=/opt/tinyos-2.x Then I modified the .profile file in my users home directory (~/.profile) to

Re: [Tinyos-help] help installing tinyos 2.x on mac

2009-08-13 Thread Urs Hunkeler
Hi Daniele, 1. The file is called .profile, not profiles.bin. It is normally not visible (Unix-like systems consider files that start with a dot as hidden files), but it most likely exists and you should be able to modify it (e.g., nano ~/.profile). If you still cannot modify it, you might

Re: [Tinyos-help] help installing tinyos 2.x on mac

2009-08-13 Thread Urs Hunkeler
Hi Daniele, Nano is a very simple text editor. You can move around with the cursor keys and type/delete the text. To save the file press and hold the ctrl key and then type the letter O, then release all keys again. This is what is meant by the help text ^O WriteOut (where ^ stands for the

[Tinyos-help] help installing tinyos 2.x on mac

2009-08-12 Thread Daniele Ricci
Hi, if you use a mac you have certanly followed this guide:http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_(Tiger_%26_Leopard)#Installing_nesc 1. I don't know what to do in this point after tinyos.sh download:Downloading tinyos-2.x from cvsYou will also want to download

Re: [Tinyos-help] help for tossim tutorial

2009-07-17 Thread Rémi Villé
i m geting following error $ python_test.py bash: python_test.py: command not found python test.py python is an application and test.py the python script file

Re: [Tinyos-help] help reg Multihop routing

2009-07-16 Thread Omprakash Gnawali
On Fri, Jul 10, 2009 at 9:09 PM, Swetha Rswetha...@rocketmail.com wrote: Thank you for your reply .  Can you please give me any suggestions regarding this scenario? Any suggestions regarding this will be appreciated.Thank you. i want to create a grid topology :like For Example:3 by 3 grid 0  

[Tinyos-help] HELP - prob. simple question - PLEASE HELP

2009-07-14 Thread koenigt
Hello, I just need some simple answers, PLEASE help asap: -I want to change the Radiostack for CC2420 can TOSSIM simulate any changes to the stack? Or does TOSSIM use some kind of abstraction that only delivers packets to higher Layers?? -If TOSSIM simulates everything above the physical

[Tinyos-help] help for tossim tutorial

2009-07-14 Thread Jyotirmoy Karjee
Dear sir I am new to tinyos and follow the tutorial for tossim I made a file called test.py and tried to run it by : python_test.py and chmod +x pythonn.test.py i m geting following error $ python_test.py

Re: [Tinyos-help] help reg Multihop routing

2009-07-10 Thread Swetha R
, July 8, 2009 5:39:09 PM Subject: Re: [Tinyos-help] help reg Multihop routing On Wed, Jul 8, 2009 at 2:18 PM, Swetha Rswetha...@rocketmail.com wrote: Hi Everyone, I have been trying to execute Surge for Multihop network of 9 nodes. I have one questions about the output. I have used

Re: [Tinyos-help] help reg Multihop routing

2009-07-08 Thread Omprakash Gnawali
On Wed, Jul 8, 2009 at 2:18 PM, Swetha Rswetha...@rocketmail.com wrote: Hi Everyone, I have been trying to execute Surge for Multihop network of 9 nodes. I have one questions about the output. I have used debug statement , export DBG=route.Below is the part of sample output i

[Tinyos-help] Help with 32k Hz Timer and Reset

2009-07-03 Thread himanshu barve
Hello Friends , Previously i was using tinyos 1.x , i have just moved to tinyos 2.x . I need some help on below given topics. I AM WORKING ON TELOSB PLATFORM. 1)Timer . I need a timer instance which should have precision of 32Khz . ie 32768 ticks per second. Which component i should use. I have

Re: [Tinyos-help] Help about installing packages in Windows Vista!

2009-07-02 Thread crystal-x
Just run cygwin as administrator. JEBARI Mohamed wrote: Hello, When installing rpm packages with cygwin in Windows Vista i have encountered a message error like as follow unpacking of archive failed on file /usr: cpio: chmod failed - Permission denied any body can help me!

[Tinyos-help] Help needed for TOSSIM Error

2009-06-23 Thread bharat naik
Hi, I read almost every post on complation error related to Blink and have still not come up with a correct solution. Could someone enlighten me on the problem I'm facing. Even 'why', the problem is occurring will be greatly helpful. I think it has to do with setting the PFLAGS, but I'm not

[Tinyos-help] help with MsgReader java.lang.ClassNotFoundException Error

2009-06-16 Thread Ellen Shlossberg
Hello All, I am trying to run Lesson 4's MsgReader with the BlinktoRadioMsg. I have updated my BlinkToRadioAppC.nc, BlinkToRadio.h, and Makefile as required in the lesson. And my CLASSPATH is set to /opt/tinyos-2.x/support/sdk/java However, when I run the MsgReader for the mote installed with

Re: [Tinyos-help] help with MsgReader java.lang.ClassNotFoundException Error

2009-06-16 Thread Janos Sallai
Ellen, Your classpath is incorrect. Set the classpath _exactly_ as described in the installation instructions at http://docs.tinyos.net/index.php/Installing_TinyOS_2.1 Janos On Tue, Jun 16, 2009 at 1:24 PM, Ellen Shlossbergeshl...@gmail.com wrote: Hello All, I am trying to run Lesson 4's

Re: [Tinyos-help] help with MsgReader java.lang.ClassNotFoundException Error

2009-06-16 Thread Ellen Shlossberg
Janos, Thanks for the response. I am using a mac, so I executed the export of the CLASSPATH: % export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar % echo $CLASSPATH /opt/tinyos-2.x/support/sdk/java/tinyos.jar I also went to the $TOSROOT/support/sdk/java directory and (per the tutorial) did a %

Re: [Tinyos-help] help with MsgReader java.lang.ClassNotFoundException Error

2009-06-16 Thread Ellen Shlossberg
Thanks Janos! I didn't realize the semicolon and period make such a difference. And just to post this to the list serve in case anyone else makes the same mistake in judgement: CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:. Thanks, Ellen On Tue, Jun 16, 2009 at 3:10 PM, Janos Sallai

[Tinyos-help] Help on DAC matters

2009-06-12 Thread Wong Kiing Ing
I am writing to ask your help on the DAC functionality. I am using TinyOS 2.1.0 on Tinynode. I have read through many information, including the MSP430 User's Guide, README text in MSP430/adc12 folder,TinyOS programming, TEP on Resource Arbitration, Boot Sequence and Schedulers and Tasks. I have

Re: [Tinyos-help] Help printf (Release 2.0.2)

2009-06-08 Thread Kevin Klues
Can you show me your makefile? Kevin On Tue, Jun 2, 2009 at 6:06 AM, Vincent Gayvincen...@gmail.com wrote: Hi, I'm trying to use printf in the application 'RadioCountToLeds' running on top of tinyOS-2.0.2. I have some problems with wiring interfaces of printf. I have modified

Re: [Tinyos-help] Help printf (Release 2.0.2)

2009-06-08 Thread Kevin Klues
No wait, I see it, you need to include interface SplitControl as PrintfControl not just PrintfControl as the interface. You also need to change the semantics of the Packet.getPayload() command to conform to the way it used to be in TinyOS 2.0.2. Its slightly different in 2.1 Kevin On Mon, Jun

[Tinyos-help] Help for wiring interfaces - Printf (Rel. 2.0.2)

2009-06-03 Thread Vincent Gay
Hi, I'm trying to use printf in the application 'RadioCountToLeds' running on top of tinyOS-2.0.2. I have some problems with wiring interfaces of printf. I have modified RadioCountToLedsAppC.nc as follows: *configuration RadioCountToLedsAppC {} implementation { components MainC,

[Tinyos-help] Help printf (Release 2.0.2)

2009-06-02 Thread Vincent Gay
Hi, I'm trying to use printf in the application 'RadioCountToLeds' running on top of tinyOS-2.0.2. I have some problems with wiring interfaces of printf. I have modified RadioCountToLedsAppC.nc as follows: *configuration RadioCountToLedsAppC {} implementation { components MainC,

[Tinyos-help] help needed:AMReceiver and AMSender

2009-05-28 Thread amulya srivastav
Hi all, I am an undergraduate student working on setting up dynamic routing protocols on a set up of iris motes.The set has 4 motes with mote-4 being the source of data.It generates a data packet every 10 seconds.Mote-1 is the basestation which receives data from the motes and sends them to the

[Tinyos-help] help-SQL

2009-05-21 Thread ibrahim halil uzun
I am using tinydb and i want to create tinydb databse like this; Tinydb requires a database to be created called ‘tinydb’. An username called ‘tele’ must be created and requires permission to access ‘tinydb’. how i ll do it i dont know? thx -- Ibrahim Halil UZUN

[Tinyos-help] help with tinyos

2009-05-19 Thread marion arnaud
Hi, I saw your mail on Tinyos_help which subject is : Dynamically uploading parameters to motes. And I would to known if you are manage to do this ? In this case, could you tell me how you do this please? Thanks a lot, Marion ___ Tinyos-help mailing

Re: [Tinyos-help] Help wih LPL

2009-05-19 Thread lasa323
What is this LPL_INTERVAL? If i want to broadcast a message right after a data sense, then, do i need to use this TIMER_PEROD_MILLI? in another words, i am broadcasting some information once the data is sensed, but not periodically. Thanks for any help! lasanthi 2009/4/2 Razvan Musaloiu-E.

[Tinyos-help] help

2009-05-18 Thread Murat DENER
good days, firsrt, thanks for tinyos 2 and tossim. http://docs.tinyos.net/index.php/TOSSIM , I read to document. I set up tinyos 2, and get to tossim files, (py,cc) but ı don't see a simulation. you must wrtite a program to see simulation written in document. but how? can you help me,

[Tinyos-help] Help with Mspsim

2009-05-09 Thread Ediel Huitrón
Hello everyone! I did a SHA-1 component from platform Telosb, but I want to know what it ´s the time of computation. There is a tool called MSPSIM but I don't know how to use it. If anyone knows of any site or tutorial that can help me learn to use it, please help me!. I will be greatful for

[Tinyos-help] Help with temperature values

2009-05-04 Thread Abhishek Phadnis
hey all we re working on a mica2 platform and are facing problems with the temperature readings..could anyone explain how values are taken (what units) and how we could convert them to degrees C..this is the formula we're using right now but it doesnt seem to work.. data_Temp= (data/4096*1.5 -

[Tinyos-help] help with program

2009-05-04 Thread Abhishek Phadnis
hey all this is my program: #include Timer.h #include RadioSenseToLeds.h uint16_t global_i=0; uint16_t global_a[6]; module TestC { uses { interface Boot; interface TimerTMilli as Timer0; interface TimerTMilli as Timer1; interface Readuint16_t; interface Leds;

Re: [Tinyos-help] Help with tos-install-jni

2009-04-26 Thread Igor L Marques
Hello, Try sudo apt-get install automake Best regards Underléa Cabreira Corrêa wrote: Hello all, I'm using linux Ubuntu 8.3 and I'm trying run TestSerial app but it is not possible because I got the follow notification : l...@lea-laptop:/opt/tinyos-2.x/apps/tests/TestSerial$

[Tinyos-help] help with imote2 and tinyos-1.x

2009-04-23 Thread David Rodenas Herráiz
Hi I have problems with tinyos-1.x and imote2. I found this post http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg19542.html and my problem is the same. I followed the same steps, at

Re: [Tinyos-help] Help needed

2009-04-23 Thread shirish
My problem is solved, and for future when ever some one gets this problem , go to /localization/Makefile and in the place where you find Makerules, replace that with MakeCalamari... But again after doing that i am facing one more problem when i do make pc i receive an error In component

[Tinyos-help] Help with the printf printfflush()

2009-04-23 Thread Sisu Xi
Dear All: Hi. I am following the tutorials on TinyOS Doc. And I have encountered this problem: source code: *uint8_t dummyVar1 = 123; event void Boot.booted() { for (; dummyVar1 0; dummyVar1--) { printf(%u , dummyVar1); printfflush(); for

[Tinyos-help] Help: SerialForwarder and Hyperterminal

2009-04-23 Thread Vishal Pal
Hello, I am trying to use Hyperterminal with SerialForwarder but I am not able to see any data in Hyperterminal. Please help me. This is my setup: 1. I simulated Oscilloscope application in TOSSIM. 2. I started SerialForwarder java application and connected it to TOSSIM to receive the

[Tinyos-help] Help: SerialForwarder not sending data to MATLAB application

2009-04-23 Thread Vishal Pal
Hello, I am trying to connect my MATLAB GUI with SerialForwarder application to fetch the data from it. I wrote a simple client application in MATLAB to connect port 9001. After the connection has been established, SerialForwarder application sent 2 bytes (85 32) to my MATLAB application. I

[Tinyos-help] Help: SerialForwarder and Hyperterminal

2009-04-23 Thread Vishal Pal
Hello, I am trying to use Hyperterminal with SerialForwarder but I am not able to see any data in Hyperterminal. Please help me. This is my setup: 1. I simulated Oscilloscope application in TOSSIM. 2. I started SerialForwarder java application and connected it to TOSSIM to receive the

[Tinyos-help] Help to recover simulation reslults using PowerTOSSIM to draw graphs

2009-04-16 Thread Amel BERRACHEDI
Hi, I wanna to recover simulation results (energy, connectivity ..) by using PowerTossim in order to draw graphs (using Matlab or Excel). I try this instructions http://www.eecs.harvard.edu/~shnayder/ptossim/install.html, I can see the result but I can't stock them. So can I stock this results in

Re: [Tinyos-help] Help about installing packages in Windows Vista!

2009-04-15 Thread Poonam Hiwal
Hi, I would suggest the easiest way to install vmware image of ubuntu and then install tinyos. ---Poonam 2009/4/12 JEBARI Mohamed mjeb...@hotmail.com Hello, When installing *rpm packages *with cygwin in Windows Vista i have encountered a message error like as follow *unpacking of archive

[Tinyos-help] Help about installing packages in Windows Vista!

2009-04-12 Thread JEBARI Mohamed
Hello, When installing rpm packages with cygwin in Windows Vista i have encountered a message error like as follow unpacking of archive failed on file /usr: cpio: chmod failed - Permission denied any body can help me! Mohamed YEBARI Faculty of Siences P.O. Box. 2121 93000 Tetuan Morocco

[Tinyos-help] help on tinyOS surge

2009-04-12 Thread deep doshi
hi.. i have been trying to understand the surge example along with its modules and lib files but have been unable to get a clear pic of the route select file.. also if someone has been successful in adding some extra features or do some modifications then it would be really grateful if you

[Tinyos-help] help : post installation

2009-04-06 Thread shirish
Hello every one I have just installed the Tinyos and when i type the make micaz i get the following line *make: *** No rule to make target `micaz'. Stop.* and by doing tos-check-env i get the following warning and i have instlled the jre for java 5 and also the jdk - WARNING: CLASSPATH

[Tinyos-help] [Help] How to transmit 4 byte messages to UART0 on telosb

2009-04-06 Thread Nelly Chen
Hi, I am just starting to learn TinyOS and also not very familiar with coding in mcu. I've searched through the archive but still not understand how to transmit a 4 byte package to UART0 (pin 23) on Telosb? The package is sent to a motor controller connected to the pin 4 on the 10-pin

Re: [Tinyos-help] help with passing a parameter from app (pure C) --hal (nesC)

2009-04-02 Thread Faisal Aslam
All the TinyOS functions are static (i.e. private) and cannot be accessed outside a module. However, you can define a public function using special attributes and that function could be called from your C code and vica versa. If you want to have a public function inside a TinyOS module then

[Tinyos-help] Help wih LPL

2009-04-02 Thread João Paulo Amaro da Costa Luz Carneiro
Hi all, Made a very simple program to test LPL but am not sending/receiving any messages or sometimes only 1 (depending on the LPL_INTERVAL value). Can someone tell me what am I doing wrong? Thanks in advance Here's the code: Test.h #ifndef TEST_H #define TEST_H enum { AM_TEST = 6,

Re: [Tinyos-help] Help wih LPL

2009-04-02 Thread Razvan Musaloiu-E.
Hi! On Thu, 2 Apr 2009, João Paulo Amaro da Costa Luz Carneiro wrote: Hi all, Made a very simple program to test LPL but am not sending/receiving any messages or sometimes only 1 (depending on the LPL_INTERVAL value). Can someone tell me what am I doing wrong? Sending a packet on broadcast

[Tinyos-help] help with passing a parameter from app (pure C) --hal (nesC)

2009-04-01 Thread Kostantinos Katsaros
Hi there, I use the BlinkRadio example for tinyOS 2.x which has been modified and is pure C (no nesC) and I want to pass a parameter from the application layer to the HAL which uses nesC. This parameter may change per packet. Is there a function that I can use or how can I develop one ? Thank

<    1   2   3   4   5   6   7   8   9   10   >