FW: [Tinyos-help] [lesson 4 with tinyOs2.0]

2007-06-06 Thread Firat TARAKTAS
-Original Message- From: vazoumana fofana [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 05, 2007 6:47 PM To: Firat TARAKTAS Subject: RE: [Tinyos-help] [lesson 4 with tinyOs2.0] Thanks for your answer. I ve succeeded. but i think the tutorial was not clear. indeed, Java testserial

Re: [Tinyos-help] sending packets via Tython

2007-06-06 Thread Sarfraz Nawaz
Lets say the packet structure is defined as typedef struct myPacket { uint16_t senderId; uint16_t someData; } then use mig to generate the corresponding java class file. At tython prompt issue these commands from simcore import *; import myPacket; myMsg = myPacket();

[Tinyos-help] Re: connecting to the SerialForwarder

2007-06-06 Thread Javier Barbarán Sánchez
Hi Islam, Try to do it as I do... In my case it is working, but anyway, you have not implemented properly de protocol (the code is in pseudo-C#) //First we have to send the protocol initialization, sending the protocol version us[0]='T'; us= '!'; socket.Send(us,0,us.Length, ); //After

RE: [Tinyos-help] Compiling Blink for micaz

2007-06-06 Thread M.Soledad Escolar Díaz
Thanks for your reply. I solved this error but I can't compile Blink still (make pc is ok). When I do 'make mica' I get the next error messages: [EMAIL PROTECTED] Blink]# make mica compiling Blink to a mica binary ncc -o build/mica/main.exe -Os -board=micasb -target=mica -Wall -Wshadow

[Tinyos-help] Hardware v. Software Acks in TEP 126

2007-06-06 Thread John Hendrie
Hi, TEP 126 (s5.1) talks about how software acknowledgements are used over hardware acknowledgements. I'm trying to reproduce the false acknowledgements situation but I'm not having much success, under what conditions does this occur? Thanks, John ___

[Tinyos-help] Write Fails in BlackBook Files System

2007-06-06 Thread Mayur Maheshwari
Hi David It seems that write fails after 18 files have been written. (I am trying to write a new file every 3 seconds). Any idea why this should happen? I am using telosb with tinyos 2.0.1 The write app which I am using is as follows: module WriteCheckC { uses interface BBoot; uses

[Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Hugo Sousa
I've searched the archives and still can't get to sendDone to be signaled in TOSSIM. I have the topology file and noise file, and the python script is basically a copy-paste from lesson 11, only with the range of nodes from 0 to 2, but the sendDone never happens. I have tinyos cvs updated

Re: [Tinyos-help] Question on MultiOscilloscope Application

2007-06-06 Thread Benjamin Madore
Sorry, tab-space sends on this webmail client. I need to be more careful about that. Anyone know how to adjust tab to field behavior in Firefox 2? On Tue, June 5, 2007 5:44 pm, M A said: Hi I have started learning tinyos-2.x and I have a simple question related to MultiOscilloscope function

Re: [Tinyos-help] Active message protocol

2007-06-06 Thread Steve McKown
On Tuesday 05 June 2007 13:46, jose m wrote: On Monday 04 June 2007 13:38, jose m wrote: Checking out the AMStandard.nc file I see that, if you are transmitting a radio message, the AMStandard component is occupied until the tx is done, and you cannot tx to UART until then. Why? any

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread Benjamin Madore
On Wed, June 6, 2007 6:15 am, Ákos Maróy said: I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. let's suppose I would have motes with the following installed on them: mote #0 - MultihopOscillator mote #1 -

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread David Gay
On 6/6/07, Ákos Maróy [EMAIL PROTECTED] wrote: I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. The README does it seem a bit brief... From reading the code: let's suppose I would have motes with the following installed on

[Tinyos-help] TEP 126 and AES

2007-06-06 Thread Steve McKown
Hi, TEP 126 in 10.1 states that the CC2420 radio cannot begin encryption at a particular offset. However, v1.3 of the CC2420 data sheet in section 21.5 specifically states that this is possible, via the SECCTRL1.SEC_TXL and SEC_RXL register fields. Does the comment in 10.1 come from testing

Re: [Tinyos-help] Help with TestNetwork Application

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 12:04 AM, Murtuza wrote: Hello friends I have a doubt in TestNetwork Application in tinyos-2.x/apps/tests/ TestNetwork directory. I feel it is a real stupid question to ask but I cant figure out whats happening in real. In the file TestNetworkC.nc we have void

Re: [Tinyos-help] Hardware v. Software Acks in TEP 126

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 5:40 AM, John Hendrie wrote: Hi, TEP 126 (s5.1) talks about how software acknowledgements are used over hardware acknowledgements. I'm trying to reproduce the false acknowledgements situation but I'm not having much success, under what conditions does this occur? It's very

Re: [Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 7:16 AM, Hugo Sousa wrote: I've searched the archives and still can't get to sendDone to be signaled in TOSSIM. I have the topology file and noise file, and the python script is basically a copy-paste from lesson 11, only with the range of nodes from 0 to 2, but the sendDone

Re: [Tinyos-help] understaning MultihopOscillator

2007-06-06 Thread Philip Levis
On Jun 6, 2007, at 8:31 AM, Benjamin Madore wrote: On Wed, June 6, 2007 6:15 am, Ákos Maróy said: I'm not sure I understand how Multihop Oscillator works, after reading up on the README file that is along with it. let's suppose I would have motes with the following installed on them:

Re: [Tinyos-help] Compiling Blink for micaz

2007-06-06 Thread Michael Schippling
I think those -- sbi(), cbi(), etc -- are in \usr\local\avr\include\avr\sfr_defs.h so you're still not getting the right AVR includes for some reason. MS M.Soledad Escolar Díaz wrote: Thanks for your reply. I solved this error but I can't compile Blink still (make pc is ok). When I do

[Tinyos-help] RE: SOS on BBFS ;)

2007-06-06 Thread David Moss
Hi Mayur, I see two emails from you. I'll get to this one first, but I'll probably need to wait 'till later to get to the next. - does bbfs handles flash access contention itself, or do I need to add a bool, to allow only single access to bbfs read/write. Blackbook does not queue up

[Tinyos-help] RE: Write Fails in BlackBook Files System

2007-06-06 Thread David Moss
Yup - just like I explained in that last email, by default Blackbook offers 19 MAX_FILES (BlackbookConst.h). One of those files is taken up by the checkpoint file (bb.cp_). So that leaves you with 18 files. Without deleting some files, you'll be stuck. If you want to increase the number of

[Tinyos-help] tinyos for telos rev-b

2007-06-06 Thread nirfan
Hi I am trying to run blink application for telos Rev-b in tinyos and getting error message. Can anybody suggest me what should I do regards Nazish Error message: compiling Blink to a telos binary ncc -o build/telos/main.exe -O -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420R adio

RE: [Tinyos-help] TEP 126 and AES

2007-06-06 Thread David Moss
Hi Steve, TEP 126 must be incorrect - I documented that information based on someone else's experiences with enabling encryption, not my own. A layer that enables hardware encryption would be extremely beneficial to the TinyOS CC2420 stack. If you're interested in pursuing this functionality,

Re: [Tinyos-help] TOSSIM and sendDone()

2007-06-06 Thread Hugo Sousa
Hi Phil, that's exactly it, thank you! :) I was just using those values because I'm not yet interested in simulating a real noise environment. Maybe you should add that restriction to the tutorial. Thanks again Hugo On 6/6/07, Philip Levis [EMAIL PROTECTED] wrote: On Jun 6, 2007, at 7:16 AM,

[Tinyos-help] (no subject)

2007-06-06 Thread Vipin Kashyap
Hi all! I have been trying to sample adc channels in mda300ca connected with mica2 mote. i am specifically interested in sampling adc channels 0 1 (or for that matter any two adc channels). I presume adc channels 0 1 are pins A0 and A1 on MDA300CA. The relevant extract of the code is as below:-

[Tinyos-help] Sampling ADC channels 0 and 1 on mda300ca (mounted on mica2)

2007-06-06 Thread Vipin Kashyap
Hi all! Sorry for the repeat post. The earlier one did not have a subject. I have been trying to sample adc channels in mda300ca connected with mica2 mote. i am specifically interested in sampling adc channels 0 1 (or for that matter any two adc channels). I presume adc channels 0 1 are pins A0

[Tinyos-help] Error TOSSIM [sim-exe] Error 2

2007-06-06 Thread Latro 2000
Hello. When I try to compile Blink Application to TOSSIM, I get the error showed below. It seems I have an environment variable wrong, but I was looking for it, so, It seems ok. I'm using tinyos 2.0.1, Win XP SP2 + Cygwin. TOSROOT=/opt/tinyos-2.x TOSDIR=/opt/tinyos-2.x/tos

Re: [Tinyos-help] Writing to tinynode via usbserial converter

2007-06-06 Thread Maxime Muller - s h o c k f i s h /
try the following: cd $TOSROOT/apps/Blink/ tos-bsl --invert-reset -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex supposing /dev/ttyUSB0 is the right device cheers, maxime I am trying to program a tinynode using tinyos-1.x and it is not working through my usb-serial converter. I get the

Re: [Tinyos-help] Writing to tinynode via usbserial converter

2007-06-06 Thread Shane Clark
Thanks! That did the job quite nicely. I will have to look at what those switches do. -Shane On Wed, 2007-06-06 at 21:12 +0200, Maxime Muller - s h o c k f i s h / wrote: try the following: cd $TOSROOT/apps/Blink/ tos-bsl --invert-reset -c /dev/ttyUSB0 -r -e -I -p build/tinynode/main.ihex

[Tinyos-help] How to use MIG with telosb for tinyos1.x

2007-06-06 Thread Javed, Huma
Hi Hope some body would help me out on this. I am trying to generate Java file automatically using MIG. I created a Makefile in java/tools/net/tintos/multisend. Then I typed make pc in apps/MultiSend. Nothing happened no .java file was created. My make file is given below. Can any one please tell

[Tinyos-help] WSAN2007:CALL FOR DEMOS/POSTERS

2007-06-06 Thread Mari Paz
[Apologies if you receive multiple copies of this e-mail] * *CALL FOR DEMOS/POSTERS * * * * WSAN 2007 * *

[Tinyos-help] Question about MultiOscilloscope Application

2007-06-06 Thread M A
Hi I have started learning tinyos-2.x and I have a simple question related to MultiOscilloscope function in directory tinyos-2.x/apps/MultihopOscilloscope. In the file MultioscilloscopeC.nc we declare a message buffer message_t uartbuf . But I dont understand where is this initialized. We call

[Tinyos-help] Help , error when compiling

2007-06-06 Thread Chittal, Sandeep U
Hi, I am getting the following error when compiling: Can't execute /usr/lib/ncc/nesc-compile. make: *** [exe0] Error 1 What does this error mean and how can it be rectified? Warm regards, Sandeep. ___ Tinyos-help mailing list

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread David Gay
On 6/2/07, Ákos Maróy [EMAIL PROTECTED] wrote: Aurélien Francillon wrote: IIRC (not sure), i tracked it back to some known regression of gcc 4.1.x ... it works fine with gcc-3.x I tried with gcc-3.x, and while it doesn't crash - it doesn't work either. A bit more investigation here. As

Re: [Tinyos-help] IBM JDK segfaults on libtoscomm.so

2007-06-06 Thread David Gay
On 6/6/07, Ákos Maróy [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] $ java TestSerial serial@/dev/ttyUSB0:115200: resynchronising ... read: 03 03 03 Sending packet 0 ... wrote: 7e 44 0e 00 00 00 00 00 02 00 09 00 00 fc 59 7e ... read: 00 Sending packet 1 ... wrote: 7e 44 0f 00 00 00

[Tinyos-help] Flash Storage Help

2007-06-06 Thread Ian Welch
I have a few questions regarding flash storage. I'm using the MICA2DOT mote. I'm trying to store 3 sample sets of 7-bytes each (21 bytes total) to a AT45DB Log storage every 10ms. In TEP:103 it claims that the smallest block that can be written to the AT45DB is 257B (I'm assuming this is bytes

[Tinyos-help] TinyDB

2007-06-06 Thread Spidernet Lists
Hi, Can we use TinyDB for TinyOS-2.x? Cheers VJ ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help