Re: [Tinyos-help] making CC2420 work in promiscuous mode

2007-08-15 Thread R. Steve McKown
On Thursday 09 August 2007 09:41:59 Avinash Sridharan wrote: I am working on TinyOS-2.x. Is there an interface to turn the CC420 on in promiscuous mode. I want all unicast packets to be heard by nodes in a single broadcast domain. I don't want to broadcast the packets since that would turn off

Re: [Tinyos-help] how to get accurate time

2007-08-15 Thread R. Steve McKown
On Friday 10 August 2007 03:09:39 [EMAIL PROTECTED] wrote: Hi I was trying to get the time when a mobile node passed by a specific stationary node. I used the LocalTime interface to get the time on the stationary node (duration from boot). Is there any better way to get real world timestamp

Re: [Tinyos-help] Application of dynamic address allocation

2007-08-15 Thread R. Steve McKown
On Sunday 12 August 2007 07:21:36 Itamar Amsili wrote: Hi Jacob, I'm looking for a DHCP-style application, but much simple, which means assigning a 2-byte address(the TOS_NODE_ID in tinyos 2.x) to a node who is joining a network. if there is no network in the reception area, the node will

Re: [Tinyos-help] Regarding battery Life

2007-06-15 Thread R. Steve McKown
On Thursday 14 June 2007 13:35:40 manu suryavansh wrote: Hi, The tmote sky system can work from 2.1V to 3.6V. In that case when the battery voltage drops to below 2.1V it will stop working and the remaining energy stored in the battery will not be used, so if the battery has 2200mAh of energy

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread R. Steve McKown
-Level_Data_Link_Control -David -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Pedro Almeida *Sent:* Wednesday, June 13, 2007 2:50 PM *To:* R. Steve McKown *Cc:* tinyos-help@Millennium.Berkeley.EDU *Subject:* Re

Re: [Tinyos-help] Documentation regarding exact contents of the MACProtocol Data Unit frame

2007-06-14 Thread R. Steve McKown
. All the best, Steve Thanks, Pedro On 6/14/07, R. Steve McKown [EMAIL PROTECTED] wrote: HI Pedro, How did you generate your original hex string? TestNetwork appears to be set up to use the C serial forwarder sf, so if I program some motes, start sf on the serial port and tn

Re: [Tinyos-help] Documentation regarding exact contents of the MAC Protocol Data Unit frame

2007-06-13 Thread R. Steve McKown
On Tuesday 12 June 2007 18:22:41 Pedro Almeida wrote: Thank you, Steve McKown and Alexander Becher for your replies. Thanks to your help I more or less figured out how many bytes there were from the Address Information to be included in the MAC Header. According to: typedef nx_struct

Re: [Tinyos-help] TEP 126 and AES

2007-06-07 Thread R. Steve McKown
HI David, On Wednesday 06 June 2007 11:48:59 David Moss wrote: A layer that enables hardware encryption would be extremely beneficial to the TinyOS CC2420 stack. If you're interested in pursuing this functionality, let's see how we can get it designed and integrated as an optional layer in

Re: [Tinyos-help] device addressing

2007-03-06 Thread R. Steve McKown
On Tuesday 06 March 2007 02:00, qin zhao wrote: Hi, I have two nodes with different platforms. One is a master node, which will send beacon to slave. I use usb-jtag to program it. The other one is a slave node, which will send data to master. I use BSL to program the node. I would like to

Re: [Tinyos-help] TinyOS-2.x help

2007-03-02 Thread R. Steve McKown
On Friday 02 March 2007 09:34, Ali Mir wrote: Hello friends, I have started working on Wireless Sensors a week back. I have installed TinyOS-2.x on my computer and have mica2 motes to work with. Though I understand how this thing works I still face many difficulties. On the

Re: [Tinyos-help] tinyos2.0 installation on Windows Vista

2007-03-02 Thread R. Steve McKown
On Friday 02 March 2007 18:36, Shuo Xiao wrote: Hi all, Just now I tried to install tinyos2.0 on Windows Vista Business, but there was a problem when installing Atmel AVR tools. I downloaded and installed cygwin from the Internet, but cygwin cannot recognize the command rpm. And I checked

Re: [Tinyos-help] Connecting Tmotes by I2C bus

2006-12-15 Thread R. Steve McKown
On Friday 15 December 2006 02:53 am, Matteo Andretto wrote: Quoting R. Steve McKown [EMAIL PROTECTED]: If you want to post your code, I can take a look at it. The code is yours, I have changed only the salve address and add the address check reading three bit at a time with leds. I just re

Re: [Tinyos-help] Connecting Tmotes by I2C bus

2006-12-14 Thread R. Steve McKown
in SlaveI2CConfC.nc Has Anyboy suggests? ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help !DSPAM:458031a0296089716080633! -- R. Steve McKown Titanium Mirror

Re: [Tinyos-help] Connecting Tmotes by I2C bus

2006-12-13 Thread R. Steve McKown
On Wednesday 13 December 2006 04:02 am, Matteo Andretto wrote: I would connect 2 Tmote Sky by I2C bus in TinyOS 2, one as master and the other as slave, but I have some problems. Master mote starts write operation, it sends slave address on bus, but slave mote does not answer with

Re: [Tinyos-help] List functions in nesC

2006-12-12 Thread R. Steve McKown
On Monday 11 December 2006 11:38 pm, MINO GB wrote: Where can I find the list of data types, functions which is supported in nesC, TinyOS? From various sources: The TinyOS environment is based at its core on a C compiler. All of the data types and other features supported by the compiler

Re: [Tinyos-help] Using I2C Bus for MSP430

2006-12-07 Thread R. Steve McKown
On Thursday 07 December 2006 08:42 am, Matteo Andretto wrote: I thought that in TmoteSky pull-up resistor was already connect. I am too optimistic? I think so. ;^) The good folks at MoteIV have the schematic for the TMote Sky in the data sheet, and on a cursory glance I don't see pull-ups.

Re: [Tinyos-help] Makefile question

2006-12-06 Thread R. Steve McKown
Hi Lorenzo, On Wednesday 06 December 2006 03:22 am, Lorenzo Mainardi wrote: I would to know how to put all my files in a new directory, instead that in tos/, so I don't not spread my files in the tos directory. I think I should configurate my Makefile, how to do this? You can add additional

Re: [Tinyos-help] IDE for NesC/TinyOS

2006-11-30 Thread R. Steve McKown
I like where TOSDev is going. I don't know of any current IDE that can meet your requirements, and we looked a few months ago pretty diligently for a customer. On Wednesday 29 November 2006 03:59 pm, Lorenzo Mainardi wrote: Hello everybody, I know that this is a F.A.Q., but I would some

Re: [Tinyos-help] Problems with TinyOS 2.0 / Boomerang coexistence

2006-11-17 Thread R. Steve McKown
On Friday 17 November 2006 03:53 am, Elias Weingärtner wrote: Folks, I'm having some troubles with the coexistence of TinyOS 2.0 and Boomerang, running inside the same Cygwin installation. 7 months ago, when deciding which platform to use for a project -- tos1, tos2 or moteiv (boomerang) --

Re: [Tinyos-help] C program for Listern

2006-10-19 Thread R. Steve McKown
On Thursday 19 October 2006 02:22 am, prabhu govindaswamy wrote: Is there any C program available to listern. I desperately need one to communicate between PC and Tmote. I am zero in java and dont want to jump into For TinyOS 2.x there is a C sdk in the support/sdk/c folder

Re: [Tinyos-help] Writing to Flash and Sync

2006-10-12 Thread R. Steve McKown
On Thursday 12 October 2006 03:10 pm, Sean Casey wrote: Hello, I've read that when writing to Flash, nothing is final until sync is called. Does this imply that everything written thus far using fastappend (or any other writing function) is stored in memory? Meaning sync must be called

Re: [Tinyos-help] Synchronous ADC read

2006-10-10 Thread R. Steve McKown
Hi Ian, On Tuesday 10 October 2006 10:42 am, Ian Welch wrote: I want the following commands to happen order call Single.getData(1,0,0,0); post sendInfo(); I presume Single is an instance of the Atm128AdcSingle interface, or one similar. The command getData() initiates an ADC operation.

Re: [Tinyos-help] environment variable

2006-10-10 Thread R. Steve McKown
On Tuesday 10 October 2006 12:36 am, olcay XXelik wrote: example : extract TOSROOT=`/opt/tinyos-2.x` error /opt/tinyos-2.x` is a directory. The back-tick or reverse quote (`) is used to enclose a command to execute. You probably want to use the double quotation () instead. Also, the command

Re: [Tinyos-help] CC2420,micaz,energy consumption

2006-10-05 Thread R. Steve McKown
On Thursday 05 October 2006 02:53 am, Munaretto, Daniel wrote: I need to measure the energy consumption in my motes while they're using the radio and while they're using the external flash to read and write data. This is in order to plan how to develop my future project. The easiest solution

Re: [Tinyos-help] Tmote as a I2C slave

2006-10-05 Thread R. Steve McKown
On Thursday 05 October 2006 07:03 am, [EMAIL PROTECTED] wrote: I have a couple of more questions regarding I2C slave. I used your code and it worked out of the box for tmotes. Some days you get lucky, I guess. I tried to reproduce your code for tinyos-1.x using the primitives in

Re: [Tinyos-help] compiling to assembler

2006-10-02 Thread R. Steve McKown
On Monday 02 October 2006 01:21 pm, jose m wrote: Can be compiled the nesc code to assembler instead to hexadecimal? I created a make support file for tinyos-2.x to create map files from the linker stage, which I occasionally find handy. I threw together an extra file to emit assembly code

Re: [Tinyos-help] Can't find std headers

2006-10-02 Thread R. Steve McKown
On Monday 02 October 2006 02:14 pm, Sean Walton wrote: Has anyone seen and solved this problem? We noticed that someone reported this error three years ago, but there was no shared reply. The essense is the CPP cannot see standard /usr/include files. I am using avr-gcc 3.4.6, and the

Re: [Tinyos-help] Having trouble compiling

2006-09-29 Thread R. Steve McKown
On Friday 29 September 2006 01:56 pm, Sean Walton wrote: I have tried several different girations (and attempted to search any archive of messages). Currently, I get: linux:/opt/tinyos-1.x/apps/Blink # make This leads me to believe you installed tinyos into /opt/tinyos-1.x. That's it's

Re: [Tinyos-help] Path while compiling NesC

2006-09-28 Thread R. Steve McKown
On Thursday 28 September 2006 12:35 pm, Sumit Gupta wrote: I am trying to have different versions of a same program with minor details. Now when I do that I am trying to keep files in different folders for that but it causing me a problem. While compiling *SurgeTelos*, the application code

Re: [Tinyos-help] Tmote as a I2C slave

2006-09-28 Thread R. Steve McKown
On Thursday 28 September 2006 03:42 pm, [EMAIL PROTECTED] wrote: Hi, Is there any code in the tinyos tree for the tmote to act as a I2C slave. I could find code (MSP430I2CPacket) for it to act as I2C master. You might want to check Boomerang; it apparently has features for the TMote platform

Re: [Tinyos-help] how interrupts are handled in tinyos

2006-09-27 Thread R. Steve McKown
On Wednesday 27 September 2006 11:18 am, gagan gaba wrote: can somebody please guide me how interrupts are handled in tinyos 1.1.0 . i have gone through all the tiny os material available on net but couldnt able to find how interrupts are generated and handled and how tinyos get back to its

[Tinyos-help] MSP430 BSL history

2006-09-26 Thread R. Steve McKown
Hello, I notice that many MSP430-based mote designs, like the Telos revisions, interject special 'handshaking' between the serial port DTR# signal and the MSP's RST# pin in BSL configurations. Is there any reason beyond prevention of unwanted uC resets by spurious toggling of DTR# that

Re: [Tinyos-help] MSP430 BSL history

2006-09-26 Thread R. Steve McKown
/write. Thanks! On 9/26/06, R. Steve McKown [EMAIL PROTECTED] wrote: Hello, I notice that many MSP430-based mote designs, like the Telos revisions, interject special 'handshaking' between the serial port DTR# signal and the MSP's RST# pin in BSL configurations. Is there any reason beyond

Re: [Tinyos-help] External sensor reading

2006-09-18 Thread R. Steve McKown
On Monday 18 September 2006 01:11 pm, Gurkan Cepni wrote: Actually, I am not planning to sample the signals continously. That's ok for me to sample for just 2 secs. (using 30ksps sampling rate: I want to sample it fast so that the environment will not change much) I wrote a test program on a

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread R. Steve McKown
On Friday 15 September 2006 03:38 am, t3lab wrote: I want use Gio1 pin 7 of U2 expansion connector of tmote sky module in mode Exclusive digital output.. I've lookek that i can set or reset that pin using: TOSH_MAKE_GIO1_INPUT(); TOSH_MAKE_GIO1_OUTPUT(); TOSH_SET_GIO1_PIN();

Re: [Tinyos-help] use exclusive digital I\O

2006-09-15 Thread R. Steve McKown
, with the main component being MSP430GeneralIOC instead of HplMsp430GeneralIOC. - Cory On 9/15/06, R. Steve McKown [EMAIL PROTECTED] wrote: On Friday 15 September 2006 03:38 am, t3lab wrote: I want use Gio1 pin 7 of U2 expansion connector of tmote sky module in mode Exclusive digital output

Re: [Tinyos-help] help

2006-09-14 Thread R. Steve McKown
On Wednesday 06 September 2006 11:27 pm, naveen reddy wrote: I want complete reference for tinyos programming using nesC. Please help me regarding materials and any useful sites to learn the language I started with: http://www.tinyos.net The code itself.

Re: [Tinyos-help] help, strange automatic fired timer!!

2006-09-13 Thread R. Steve McKown
On Wednesday 13 September 2006 08:40 am, Conor Todd wrote: On 9/13/06, campbell gao [EMAIL PROTECTED] wrote: //timer MSPSensingM.LedsTimer - TimerC.Timer[unique(MSPSensing)]; MSPSensingM.SyncTimer - TimerC.Timer[unique(MSPSensing)]; MSPSensingM.SendTimer -

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Monday 11 September 2006 04:09 pm, yicheng wrote: 1. Is 'Timer fired' event or 'sendDone' sync event? Timer.fired() is not defined async (see $TOSROOT/tos/lib/timer/Timer.nc), which means it is guaranteed only to execute in task context. There are sendDone events on several different

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Tuesday 12 September 2006 09:13 am, yicheng wrote: what's the difference between 'event' and 'task'? They are different things.  An event is like a callback function while a task is a context in which code can execute.  If, for example, the execution context is async and a non-async

Re: [Tinyos-help] sync and async event

2006-09-12 Thread R. Steve McKown
On Tuesday 12 September 2006 09:03 am, yicheng wrote: From: Pablo Gil Montaño [mailto:[EMAIL PROTECTED] As far as I know, tasks do not preempt other tasks, but events can always preempt tasks or events no matter whether they are async or not. Tasks are executed only when there is nothing

Re: [Tinyos-help] --help on telosb mote battery-ADC

2006-09-11 Thread R. Steve McKown
On Monday 11 September 2006 01:07 pm, Madhu Mudigonda wrote: I want to read the battery voltage of the mote from the ADC on the telosb mote? Is there any connection to ADC from battery terminals on telosb mote? If you're using TinyOS 2.x, look at $TOSROOT/tos/platforms/telosb/DemoSensorC,

Re: [Tinyos-help] Can TinyOS tool chain be installed in Win XP?

2006-09-08 Thread R. Steve McKown
On Friday 08 September 2006 01:21 am, zhoubin wrote: when I install TinyOS tool chain in Cygwin, there is error occured. package nesc-1.2.7b-1 is intended for a cygwin_nt-5.0 operating system Did you try nesc-1.2.7a? From http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html

Re: [Tinyos-help] specific relase of tinyos CVS access problem

2006-09-08 Thread R. Steve McKown
On Friday 08 September 2006 01:22 am, Cormac Duffy wrote: Has anyone any idea why cvs tool deletes the downloaded files after downloading them? also is that the right relase tag for 1.1.15 version of tinyos? cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/tinyos - z3 checkout -r 1.1.15 -P

Re: [Tinyos-help] Upgrading nesC

2006-09-08 Thread R. Steve McKown
On Friday 08 September 2006 04:20 am, Munaretto, Daniel wrote: package nesc-1.2.7b-1 is intended for a cygwin_nt-5.0 operating system and with a: package nesc-1.2.7b-1 is intended for a cygwin operating system Perhaps the following might help: On Friday 05 September 2006 10:41 pm, Tim

Re: [Tinyos-help] Regarding Logging data in flash.

2006-09-07 Thread R. Steve McKown
On Thursday 07 September 2006 03:22 pm, Kannan Srinivasan wrote: I wrote a tinyos-2.x code for Crossbow Telos Rev B ... [snip] When I get the readDone event the length of the data read is zero (i.e the rlen is zero) as if there is nothing stored in the log. A defect was found in the log

Re: [Tinyos-help] setting up env variables

2006-08-31 Thread R. Steve McKown
You didn't mention which version of TinyOS you are using. On Thursday 31 August 2006 07:35 am, Abu Amprayil wrote: How do I set up the necessary environment variables and the Java class path, I am trying to work with the TPR2420 motes (TelosB). You probably want to put the environment

Re: [Tinyos-help] Install TinyOS but failed in installing MSP430 base tools

2006-08-31 Thread R. Steve McKown
On Thursday 31 August 2006 10:18 am, Tie Luo wrote: Hi Guys, When I was installing TinyOS 2.0, I encountered a problem in Step 3 (install native compilers) as below: $ rpm -ivh msp430tools-base-0.1-20050607.cygwin.i386.rpm error: Failed dependencies: /bin/sh is needed by

Re: [Tinyos-help] More TEP 103 questions

2006-08-29 Thread R. Steve McKown
On Tuesday 29 August 2006 10:05 am, David Gay wrote: On 8/28/06, R. Steve McKown [EMAIL PROTECTED] wrote: I'd love to see the spec guarantee that read returns valid data. Are you envisioning a read returns a len of 0 on bad data or end of log? This seems to fit nicely

Re: [Tinyos-help] calibrating TMote Sky sensors???

2006-08-29 Thread R. Steve McKown
On Tuesday 29 August 2006 09:55 am, Luis E. Palafox-Maestre wrote: Hi, Is there a way of calibrating the onboard sensors on the TMote? I'm asking this because I keep getting different readings for motes that are next to each other, for instance I consistently get temperature readings that are

Re: [Tinyos-help] I want to read voltage value from Tmote

2006-08-28 Thread R. Steve McKown
On Monday 28 August 2006 09:53 am, Yang Peng wrote: I just relpaced the Demosensor component by component InternalVoltageC in Oscilloscope.nc http://oscilloscope.nc/, and changed some connection names in Oscilloscope.nc http://oscilloscope.nc/ and OscilloscopeM.nc .(Those two components in

Re: [Tinyos-help] energy cost

2006-08-28 Thread R. Steve McKown
On Monday 28 August 2006 03:41 pm, Xing Jin wrote: Hi everyone, Does anyone know how to calculate the energy cost to send a packet from one mote to another one? Does the TinyOS offer some function or call to get it ?? Thanks a lot. Xing Jin If you don't have the facilities to actually measure

Re: [Tinyos-help] More TEP 103 questions

2006-08-28 Thread R. Steve McKown
On Monday 28 August 2006 16:53, David Gay wrote: On 8/28/06, R. Steve McKown [EMAIL PROTECTED] wrote: So shouldn't then TEP 103 specify data integrity requirements? [snip] [snip] A reasonable compromise might be that read is guaranteed to return valid data. I'd love to see the spec

Re: [Tinyos-help] More TEP 103 questions

2006-08-25 Thread R. Steve McKown
On Friday 25 August 2006 09:59 am, David Gay wrote: On 8/25/06, R. Steve McKown [EMAIL PROTECTED] wrote: What's the best practice for initially configuring the various Block/Log/Config storage components' volumes, especially in a moderate volume production setting? I'm currently thinking

[Tinyos-help] TEP 103: comments on Log Storage

2006-08-23 Thread R. Steve McKown
On Friday 21 July 2006 09:34 am, Ramesh Givindan wrote: TEP 103 is ready to move from draft to final. [snip] ... to send them to me before *August 10th*. This week I started designing with the log storage (TEP 103 logging) component for stm25p. In searching the list archives, I found Ramesh's

Re: [Tinyos-help] Howto include header file in other directory?

2006-08-23 Thread R. Steve McKown
On Wednesday 23 August 2006 01:44 am, Chong Hui Kim wrote: I searched mailing list. But I didn't get answer. How can I include header file in other directory? I add app-specific include directories to the PFLAGS variable in the Makefile. Note lines 4 and 5 in the Makefile: -- Example

Re: [Tinyos-help] T2 Collection

2006-08-23 Thread R. Steve McKown
On Wednesday 23 August 2006 03:40 am, Jay Taneja wrote: ... it runs into errors when working with Collection, which has a StdControl interface (which has start(), and stop() functions). The problem is that I have implemented AMControl.startDone() and stopDone() events in MySenderP (for the

Re: [Tinyos-help] TEP 103: comments on Log Storage

2006-08-23 Thread R. Steve McKown
On Wednesday 23 August 2006 10:36 am, David Gay wrote: On 8/23/06, R. Steve McKown [EMAIL PROTECTED] wrote: #1 record atomic LogRead.read() If you are using variable-sized records, the expectation is that you will record whatever extra metadata you need to find their boundaries. Yes

Re: [Tinyos-help] I want someone to give me some suggestions on

2006-08-16 Thread R. Steve McKown
Hi, On Wednesday 16 August 2006 01:44 am, Wang Longjun wrote: I want to know who has installed tinyos in fedora core 4 successfully. Sorry; I'm running Mandrake. Try Google: tinyos fedora core 4 Four, I installed the tinyos-tools-1.2.0-2.i386.rpm, but it gives me a message that “Java not

Re: [Tinyos-help] Compile errors for TelosB with new tinyos 2.0

2006-07-27 Thread R. Steve McKown
On Wednesday 26 July 2006 09:10 am, Ryan Aures wrote: I am on a Windows 2000 machine [snip] $ make telosb D:\cygwin\opt\tinyos-2.x\support\make\Makerules:31: warning, MAKERULES contains backslashes. The environment variable MAKERULES contains backslashes \'s. This can cause shell

Re: [Tinyos-help] Can classes be made in tinyos1.x

2006-07-25 Thread R. Steve McKown
On Tuesday 25 July 2006 12:17 am, s bash wrote: hi to all i want to inquire that can we make classes and their instances in Tinyos1.x? waiting for reply TinyOS is built on nesC, which is an extension to the C language. It is not object oriented and has no concept of classes or objects per

Re: [Tinyos-help] Starting Out.

2006-07-24 Thread R. Steve McKown
On Sunday 23 July 2006 05:42 pm, Michael J. Knox wrote: Myself and a colleage are looking at a project based around TinyOS. I am curious as to which version we should start out on. I see most commerical products are using 1.x, is this consider the stable version? Is 2.x in a state that could

Re: [Tinyos-help] T2 Compilation Problem

2006-07-21 Thread R. Steve McKown
On Thursday 20 July 2006 06:24 pm, Jay Taneja wrote: Here are the errors I get when I attempt to run SerialForwarder: [EMAIL PROTECTED] /opt/tinyos-2.x/apps $ java net.tinyos.sf.SerialForwarder The toscomm JNI library was not found. Check that your tinyos-tools package is installed and try

[Tinyos-help] Strange performance problem in async code

2006-07-20 Thread R. Steve McKown
Hello, I'm new to the list but have been developing for TinyOS for a couple of months now. I've searched the archives but can't find any reference to the problem I'm having. I'm running TinyOS 2.0.0beta2-3 on Linux (Mandrake/kernel 2.6.11) and using the rpm's for mspgcc, tinyos-tools, etc