[Tinyos-help] Agenda for 4/11 meeting

2007-04-11 Thread David Gay
[I'll send out the bridge info tomorrow morning] Phil is at NSDI, so you have to suffer me again tomorrow. The agenda is: Status - Deluge - Tutorials Bugs reported with CC2420 stack on -help Code freeze on Friday - Testing plan: platform czars, etc. Generality versus efficiency - CC2420

[Tinyos-help] Re: Agenda for 4/11 meeting

2007-04-11 Thread David Gay
Oops, sorry, sent this to the wrong list (the perils of e-mail late at night). So please ignore :-) David Gay On 4/10/07, David Gay [EMAIL PROTECTED] wrote: [I'll send out the bridge info tomorrow morning] Phil is at NSDI, so you have to suffer me again tomorrow. The agenda is: Status -

[Tinyos-help] serial messages???

2007-04-11 Thread Spidernet Lists
Hi, Can anyone tell me how can i Write Hello World over the serial interface in TinyOS-2.x on micaz. Also if some one could tell me how can i do the following: Each time timer fired , instead of increasing a counter value(as in RadioCountToLeds) i want to send the message Hello World over the

[Tinyos-help] How to send a command to mica2 to start a counter

2007-04-11 Thread Dipti
Dear Sir/Mam, I want to send commands to mica2 motes to set a high on one of the PW pins and to start a 3 bit counter on another 3 PW pins.. I have succeded in writing an application to set a counter on the Power pins. But i am confused as to how can i incorporate the same through commands.

[Tinyos-help] Random Generation

2007-04-11 Thread Firas Daghmash
Hi, I need a help for generation of a real random number for my application, As the same random number is generated for the same mote each time (since the local address of the mote is used as a seed). What is the best way to have different number each time the function is called. -- Firas

[Tinyos-help] TinyOS 2.0 sim and CC-1000

2007-04-11 Thread Olaf Landsiedel
Hello, according to the simulation working group archives some people are working on the CC1000 support for the TinyOS 2.0 simulation environment. However, I was not able to figure out what the status is and who exactly is doing this development. So if some could help me out on this: 1. What

[Tinyos-help] Lost UART communication

2007-04-11 Thread Inderjit Singh
Hi, I relatively new in TinyOS so please bare with me. I am programming tmote sky with TinyOs 1.x. I loosing sent packet from the computer in tmote while doing this: - CONFIGURATION: configuration TDMAC { } implementation {

Re: [Tinyos-help] Random Generation

2007-04-11 Thread Aurélien Francillon
Le mercredi 11 avril 2007 13:27, Firas Daghmash a écrit : Hi, I need a help for generation of a real random number for my application, As the same random number is generated for the same mote each time (since the local address of the mote is used as a seed). What is the best way to have

[Tinyos-help] How to get mica-z working

2007-04-11 Thread ankur jain
Hi all, I have just started using micaz motes with my existing tinyos 1.1.11 distro. updated with 1.1.15 rpm.Earlier i was working with mica-2 motes.So i want to clear certain issues before getting started with micaz. 1. I have searched thru makefiles and makerules present within apps

Re: [Tinyos-help] debugging using UART for Tmote without JTAG

2007-04-11 Thread Chris Merlin
Hi I was looking for debugging without JTAG. I know we can use the USB port and probably listen to the debugging messages with hyperterminal. Anyone knows how to do that and has code? Many thanks Chris Merlin - Original Message - From: harish prabhu To:

[Tinyos-help] Sending cricket data via radio?

2007-04-11 Thread Drew Stovall
Using the cricket platform, I'd like to send the distance measurements (normally sent via UART) via the radio instead. To do this, I've inserted a bit of code to queue radio messages into the ReportPulse task. Unfortunately, when I do this the rate of both the RF and UART messages suddenly

[Tinyos-help] Problem With TOSSIM

2007-04-11 Thread eamin_winfor
Hi, i meet a problem about TOSSIM, when i and use make micaz sim to build a TOSSIM, return a error : collect2: ld return 1 exit status. and the symptom is that i have the needed Python files and libraries, but compilation is still saying that it can't link to them (undefined reference),

[Tinyos-help] Problems about using telosb with muliple usb hubs to build testbed

2007-04-11 Thread A9415001
Hi everyone, I am a student at Nation Taiwan University of Science and Technology. We are trying to build a in-door sensor network testbed at our school by using 30 telosb. Our approach now is to use 4 usb hubs(D-link H7,which has 7 ports and OUTPUT 5V/3A) and cascade them together. However,

[Tinyos-help] SurgeTelos not working properly....

2007-04-11 Thread Nikhil
Hi All, I am trying to run SurgeTelos on TelosB motes Using Tinyos 1.1.15. I have installed SurgeTelos on mote 0,1,2,3 and have mote 0 attached to USB port as a basestation. When I run java net.tinyos.surge.MainClass 125 after invoking serial Forwarder I get a sensor network topology screen with

RE: [Tinyos-help] Installing and Using Tmote Connect on Windows

2007-04-11 Thread Harish Iyer
Hi Joe, Thanks for responding so soon. We do not have DHCP enabled here. I have tried to ping the device at the mentioned address 192.168.1.77. As i said earlier, i have even tried to use an IP scanner. However i will try to use the cross over cable now. Regards Harish -Original

[Tinyos-help] -fnesc-cfile generation without pre-processing?

2007-04-11 Thread David Raeman
Hello, I am interested in generating a monolithic C source file based on my TinyOS application, but with a catch. The -fnesc-cfile functionality is exactly what I'm looking for, except that I would somehow like to prevent the file from going through the C pre-processor. In particular, I'd like

[Tinyos-help] UART ReceiveMsg

2007-04-11 Thread Inderjit Singh
Hi, I have trouble sending msg from laptop (using c++) code to tmote. All the code is at the bottom. I have no problem reading the data from the serial but sending it back dooesn't seam to work. Anyone knows why? Thanks. Indy CODE :nesC and tinyOS configuration TimeSync { } implementation {

[Tinyos-help] RSSI value from HPLCC2420

2007-04-11 Thread Hairong Yan
Dear sir, I read the Daniele Puccinelli replying message in the help mailist on Jun 2 16:40:51 PDT 2005. I have confused by the following statement: there is a -45dB that you have to add, so if I remember correctly the value 0xFF would be -1-45= - 46. why 0xFF = -1 ? Who can tell me? I am

RE: [Tinyos-help] How can I write my own .nc file?

2007-04-11 Thread Boris Lipchin
I use vim. For the syntax coloring, I downloaded the nc.vim file and set it up to load when files of type .nc are loaded. Vim is a bit of a strange editor, but works great if you’re good at it. Just be warned, it’s not like any editor you’ve used before. If you want, I can send you my .vimrc file,

[Tinyos-help] Problem in getting neighbor ID and link quality

2007-04-11 Thread YIP Chi Chung
Hi, I am writing a program to get the information like temperature, neighbor ID and link quality etc. from tmote. Collected data will send back to PC through UART. However, I failed to get the neighbor ID and link quality from mote. My program is modify from Delta. It keep returning 65535 for

[Tinyos-help] Time Synchronization!!

2007-04-11 Thread Laleh Roustapoor
Hello I am an Information Technology student in AmirKabir University of Tehran. we are a group which do research on Time Synchronization in Sensor Network. We want to examine our new algorithm of TimeSynch and compare it with others.We decide to use TinyOS and TOSSIM in this case but we have a

[Tinyos-help] Mote IDs

2007-04-11 Thread Hamdi Roumani
Hello, I'd like to send a packet to a particular mote - if I program a mote with an ID of say 4. And then when sending the packet use the address 4 will all other motes automatically ignore this packet (in other words does this occur at a low level layer) or does something need to be done so

Re: [Tinyos-help] Help Uart0 connection

2007-04-11 Thread Roman Lim
Hi Msp430Uart0C would be the right component. in order to configure the uart, you need to wire a configuration via the Msp430UartConfigure interface. maybe the dsn components in /tinyos-2.x-contrib/ethz/snpk/lib/dsn are helpful. they're ment to print out and read in text via one of the two

[Tinyos-help] RE: How to send a command to mica2 to start a counter (Nikhil)

2007-04-11 Thread nikhil
Hi Deepti, As I interpreted it, you want to send commands from your PC/base station to mica2 mote to start the counter? For this you can make use of SimpleCmd application which sends and processes the commands received from the base station. -Nikhil Shah Graduate Student Kansas State University

[Tinyos-help] Tinyos-help Interface problem

2007-04-11 Thread Inderjit Singh
Hi. I'm trying to create a component as following: THE INTEFACE: interface TimeSync { command result_t synchronize(uint16_t time); command uint16_t getTime(); command bool timeSet(); } THE COMPONENT: configuration TimeSyncC { provides interface TimeSync; provides interface StdControl; }

[Tinyos-help] Re: Tinyos-help Interface problem

2007-04-11 Thread Inderjit Singh
Sorry, my mistake. The interface is correct. It's was on the other component that was lacking the uses interface. Sorry about that. A beginner's error I presume. Inderjit On 4/10/07, Inderjit Singh [EMAIL PROTECTED] wrote: Hi. I'm trying to create a component as following: THE INTEFACE:

[Tinyos-help] Querie on cricket firmware

2007-04-11 Thread venu kesam
Hi, Greetings. I am a student of I.I.T Delhi, using cricket firmware for my project. I am compiling cricket firmware for RADIO_433BAND_CHANNEL_02 band. I am not getting the accurate co-ordinates while calculating the posiotional co-ordinates using space id. My question is, why such error is

RE: [Tinyos-help] How to get mica-z working

2007-04-11 Thread Giri Baleri
The MICAz support is available in TinyOS from 1.1.7 onwards. Crossbow has tested it extensively on 1.1.10, but not for the later versions. You can look at the 1.1.10 MICAz platform support, Makerules and MakeXbowlocal and try to implement the same in later versions (if missing). You can always

RE: [Tinyos-help] unusual accelerometer reading

2007-04-11 Thread Giri Baleri
Typically, the MEMS accelerometer outputs do not get affected by change in magnetic field. So, this behavior could in fact be something to do with the surge code. Since I am not familiar with the surge application too well, I would suggest you to program the Motes using xmeshXMTS310 app provided

RE: [Tinyos-help] Sending cricket data via radio?

2007-04-11 Thread Giri Baleri
I'm pretty sure that the first part of your question has been done already. You might also want to consult with Cricket group at MIT. http://nms.lcs.mit.edu/projects/cricket/ Giri From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drew Stovall

Re: [Tinyos-help] Problem With TOSSIM

2007-04-11 Thread Hugo Sousa
Hi Eamin, Have you tried this in the sim.extra file? http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg09938.html On 4/11/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i meet a problem about TOSSIM, when i and use make micaz sim to build a TOSSIM, return a error

[Tinyos-help] Interrupts on Atm128

2007-04-11 Thread Jordi Casals
Hi, I think that there is a problem with the interruptions on the Atm128. In the HplAtm128InterruptC.nc, the assignation of pins is: new HplAtm128InterruptPinP(IRQ_PORT_D_PIN(0)) as IntPin0, new HplAtm128InterruptPinP(IRQ_PORT_D_PIN(1)) as IntPin1, new

RE: [Tinyos-help] UART ReceiveMsg

2007-04-11 Thread Ben Buckner
Hi, I have trouble sending msg from laptop (using c++) code to tmote. All the code is at the bottom. I have no problem reading the data from the serial but sending it back dooesn't seam to work. Anyone knows why? Thanks. Indy [...] memcpy(output_buffer, msgOUT, sizeof(msgOUT)); Out

[Tinyos-help] Question about TOSSIM

2007-04-11 Thread 구관모
Dear member : I use telosb mote and surgetelos application in TinyOS 1.1.15. When I use make pc sim,telosb, I showed following message and main.exe file was not created. Error Message $ make pc sim,telosb mkdir -p build/pc compiling Surge to a pc binary ncc -o build/pc/main.exe -g -O0

[Tinyos-help] Help connecting VoltageM to application

2007-04-11 Thread Firas Daghmash
Hi All, I need a help on using the VoltageM to measure Micaz voltage, What is needed to connect this component to the application and what is the function to call to get the data? -- Firas Daghmash ___ Tinyos-help mailing list

[Tinyos-help] installation problems

2007-04-11 Thread Andrija Huzjak
make pc doesnt work, what did i miss to install? on the other hand make micaz works.. [EMAIL PROTECTED] Blink]# make pc /opt/tinyos-2.x/support/make/Makerules:166: *** Usage: make target extras make target help Valid targets: all clean eyesIFX eyesIFXv1 eyesIFXv2 intelmote2

[Tinyos-help] TOSSIM Node Power {Urgent, please help}

2007-04-11 Thread Mostafa, Iman
Hi I am implementing a simulation using TOSSIM where some actions are to be taken based on the node power level. How can I access the power level of a node in the simulation code? Any help is appreciated Iman ___ Tinyos-help mailing list

Re: [Tinyos-help] Help connecting VoltageM to application

2007-04-11 Thread Michael Schippling
The VoltageM module is basically a layer over ADC and is used in an analogous manner. See the Oscilloscope demo app for how ADC is used; even though it is obfuscated by two layers of DemoSensor you should be able to swap in VoltageM instead. (full disclosure: I haven't tried it...) Basically:

[Tinyos-help] add micaz to tinyos

2007-04-11 Thread roberto pagliari
Hi all, I added the directory micaz under the platform branch of tinyos. I'd like to know how do I need to change the other files (Makerules and Makefile?) in order to compile for micaz. thank you ___ Tinyos-help mailing list

Re: [Tinyos-help] Interrupts on Atm128

2007-04-11 Thread Michael Schippling
One little tidbit that I just discovered is that PORTE,pin7 is labeled INT3 on the mica2 schematic (and probably micaz as well). But this is labeled INT7 in the ATMEGA manual. Given that your two confused numbers are 3 and 7, I suspect there is some other place where the signals are defined. I

Re: [Tinyos-help] serial messages???

2007-04-11 Thread Michael Schippling
Probably reading through the doc/tutorial is the best way to start. Then look at the demo app SimpleCmd for an example of writing a message from a host to a mote (and getting data back for that matter). After that it's all just software... MS Spidernet Lists wrote: Hi, Can anyone tell me how

Re: [Tinyos-help] How can I write my own .nc file?

2007-04-11 Thread Michael Schippling
There's lately been some messages on this list about using TOS on Macs. Try google or the list search at: http://www.moteiv.com/community/TinyOS_Information MS Greg Turnipseed wrote: The problem is that I'm on a Mac. I can't seem to find any precompiled Mac versions available. I've seen

Re: [Tinyos-help] add micaz to tinyos

2007-04-11 Thread Michael Schippling
if you had to add the micaz directory you are probably using a way old TOS1 version. 1.1.10 is the first one that really did a good job of supporting micaz... MS roberto pagliari wrote: Hi all, I added the directory micaz under the platform branch of tinyos. I'd like to know how do I need to

[Tinyos-help] Re: Sending cricket data via radio?

2007-04-11 Thread Drew Stovall
Just to follow up on my previous message... I was eventually inspired to comment out the RadioControl.stop() call in RadioSend.sendDone(...). This was apparently causing the delays that I was experiencing. I don't completely understand why that worked, but I'm happy now. I found David Moore's

Re: [Tinyos-help] installation problems

2007-04-11 Thread Philip Levis
On Apr 11, 2007, at 12:34 PM, Andrija Huzjak wrote: make pc doesnt work, what did i miss to install? on the other hand make micaz works.. Please read the TinyOS 2.0 tutorial on TOSSIM. Simulations are now platform-specific. Only micaz is currently supported, though. So you type make

Re: [Tinyos-help] add micaz to tinyos

2007-04-11 Thread Old Maven
Try Boomerang 2.0.4 (http://www.moteiv.com/software/) + latest AVR components for MICAZ from the tinyos website. It pretty much brings you up with a platform with TinyOS 1.x and 2 and with telosb and micaz support as well . Note that you'd have to change the environment variables as you switch

Re: [Tinyos-help] Problem in getting neighbor ID and link quality

2007-04-11 Thread Hui KANG
Probably the value of neighborsize is greater than MHOP_PARENT_SIZE. I am not so sure. uint8_t retransmissions; uint16_t neighbors[MHOP_PARENT_SIZE]; uint16_t quality[MHOP_PARENT_SIZE]; } DataMsg; for (i = 0; i neighborsize; i++) {

[Tinyos-help] Fwd: Tinyos-1.x mote installation problem in Cygwin

2007-04-11 Thread Ali Mir
Hello friends, I installed tinyos-1.x on my windows system using the installation wizard provided by www.tinyos.net. The installation went fine and the programs compiled fine. Later I upgraded it to the latest CVS snapshot and did the CVS thing. But when I tried installing the code onto the

Re: [Tinyos-help] Complete Novice Question: Installing TinyOS and Compiling on MacOSX 10.4 for MICA

2007-04-11 Thread Sarfraz Nawaz
I would check if nescc can be run by issuing a command like nescc -version . If it works then the next thing would be to find out why ncc cannot execute nescc. On 4/11/07, Greg Turnipseed [EMAIL PROTECTED] wrote: Yes, it's in the path, inside /usr/local/bin, which (I checked) is in fact in

[Tinyos-help] Segmentation faults when trying to use tossim on cygwin with python 2.3.4

2007-04-11 Thread Ercan Ucan
Hi all, I have seen the same problem experienced by some other people as well but then I was not able to find a reply for it in the posts. The problem is after I compile Blink application for tossim with 'make micaz sim' successfully, I cannot run the python part as expected. Here is what I get.

RE: [Tinyos-help] Mote IDs

2007-04-11 Thread Muhammad Azhar
Hi, I'm not too sure about the lower level stuff, but if you program Mote Xto send messages to Mote 4, only Mote 4 would receive the message, provided they have the same AM type (refer to online tutorial). As far I know, you don't have to add anything else to the code. Hope this helps.

[Tinyos-help] component and frame

2007-04-11 Thread theone alex
a component include frame, the frame is allocated staticlly,and fixed size. what is code of frame in a file ?please show me the code in a component file. ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU

Re: [Tinyos-help] Mote IDs

2007-04-11 Thread Michael Schippling
This works in T1 using GenericComm with mica{2,z}, i.e. the user level receive will only get messages addressed to Bcast or the specific moteID. There was some discussion on the list recently about moteIDs not being filtered on other platforms/versions/etal. I don't remember the details, but a

Re: [Tinyos-help] Fwd: Tinyos-1.x mote installation problem in Cygwin

2007-04-11 Thread Michael Schippling
Can you post the actual errors you get? If your T1 app/Makerules was missing you might have a bad install, just copying from another devel platform may not be the best idea... I also use a USB-serial adapter under Widows XP and my device name is something like COM3 or 5 or whatever the