RE: [Tinyos-help] Serial Forwarder Problem

2006-08-25 Thread Darren Bishop
, or poke around 'Control Panel'. Best regards, --- Darren Bishop -Original Message- From: José L. Ponce [mailto:[EMAIL PROTECTED] Sent: 24 August 2006 10:36 To: Michael Schippling Cc: tinyos-help@millennium.berkeley.edu Subject: Re: [Tinyos-help] Serial Forwarder Problem Hello, All

[Tinyos-help] Debbuging Interface

2006-08-18 Thread Darren BISHOP
Hi All, Ted: Can you give details on your debugging interface? Phil: I have implemented a C function with declaration 'extern result_t lprintf(result_t *status, char *format, ...). The definition is included by a LoggingM component that sends to UART when on Tmote Sky or calls dbg when on

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren BISHOP
', in particular nesC Applications and Miscellaneous sections. Best regards, Darren Darren BISHOP wrote: Hi All, Ted: Can you give details on your debugging interface? Phil: I have implemented a C function with declaration 'extern result_t lprintf(result_t *status, char *format, ...). The definition

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren BISHOP
Also realised that keywords like static or extern, do sod all as I discovered when my app wouldn't compile due to redefinition errors. Just wanted to share this in-case anyone else had special needs that necessitated coding against the nesC/TinyOS programming model. Darren Darren BISHOP

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren Bishop
to ask. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Friday 18 August 2006 20:27, Philip Levis wrote: On Aug 18, 2006, at 1:55 AM, Darren BISHOP wrote: Hi All, Ted: Can you give details on your debugging interface? Phil: I have implemented a C function with declaration

RE: [Tinyos-help] motelist

2006-08-15 Thread Darren Bishop
. Best regards, --- Darren Bishop From: Abu [mailto:[EMAIL PROTECTED] Sent: 14 August 2006 23:47 To: tinyos-help@Millennium.Berkeley.EDU Subject: [Tinyos-help] motelist Hi, I'm getting the following error when I type in the motelist command in cygwin. motelist : Command

Re: [Tinyos-help] nesdoc component graphs

2006-08-15 Thread Darren BISHOP
version of nesdoc that is used? If so, would you know where in the Python code the dot generation and rendering takes place? Darren Bishop David Gay wrote: On 8/13/06, Darren Bishop [EMAIL PROTECTED] wrote: Does anyone know how to produce component graphs standalone i.e. as gif/jpg/svg images

[Fwd: Re: [Tinyos-help] Parameterized Interfaces]

2006-08-15 Thread Darren BISHOP
{ components A, B; A - B.Interface[Interface_1_const]; } Now you have a symbol 'Interface_1_const' assigned the value of the unique id, you can reference at run time. -shane http://www.comet.columbia.edu/~shane On Mon, 14 Aug 2006, Darren Bishop

Re: [Tinyos-help] Re: Uses parameterized interfaces

2006-08-15 Thread Darren BISHOP
Try this: module A { uses IF as IFB; uses IF as IFC; } implementation { bool iLikeAMore; ... task void some_task() { if (iLikeAMore) IFA.some_command(); else IFB.some_command(); } } configuration A { } implementation { components A, B, C;

Re: [Tinyos-help] hai , can anybody get me a solution..............:)

2006-08-13 Thread Darren BISHOP
primalfear: DO YOU THINK I AM LYING? TinyOS is written in nesC so you must write your code in nesC - or else write you own Cpp2nesC preprocessor/converter, but lets face it, learning nesC would be quicker. No-one is going to tell you what you want to hear. If your situation is that urgent you

[Tinyos-help] Parameterized Interfaces

2006-08-13 Thread Darren Bishop
regards, Darren Bishop, MSc, BSc (Hons), MBCS ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Parameterized Interfaces

2006-08-13 Thread Darren Bishop
Shane, you are dy marvelous. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Monday 14 August 2006 03:24, Shane B. Eisenman wrote: hi Darren, i guess this isn't exactly what you were looking for, but you might be able to get the information you want by keeping track

[Tinyos-help] RE: how to program the MICA2

2006-08-12 Thread Darren Bishop
Bishop From: primalfear 69 [mailto:[EMAIL PROTECTED] Sent: 12 August 2006 06:14 To: Darren BISHOP Subject: Re: how to program the MICA2 hello darren. thanks for that but then it wud be really good if i get a bit more elaborated version of u r previous mail...:D

RE: [Tinyos-help] Passing Arguments at compile time

2006-08-12 Thread Darren Bishop
regards, --- Darren Bishop From: saadia khan [mailto:[EMAIL PROTECTED] Sent: 12 August 2006 08:04 To: tos help Subject: [Tinyos-help] Passing Arguments at compile time Hi all, I'm currently implementing a routing protocol in tinyos as a TOSSIM simulation. If want to set a node

Re: [Tinyos-help] Passing Arguments at compile time

2006-08-12 Thread Darren Bishop
I have explained how to set source and destination nodes. What you now need to do is use conditional branching in your makefile: ifdef SRC PFLAGS += -DSRC_NODE=$(SRC) else PFLAGS += -DSRC_NODE=0 endif Invoke make like so: prompt$ SRC=2 make pc -- Warm regards, Darren Bishop, MSc, BSc (Hons

Re: [Tinyos-help] set distance between motes in tinyviz

2006-08-05 Thread Darren Bishop
, hence why all nodes are isolated, given they are 10 apart. The buggyness is in the need to hit ENTER then click update when you change the scale; also be patient as I think responsiveness degrades as the network size increases. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS

Re: [Tinyos-help] set distance between motes in tinyviz

2006-08-05 Thread Darren Bishop
did not always hear the broadcast of one of its (upto) 4 neighbours; I thought being unit disc i.e. 0-loss-rate, that tehy would always hear their neighbours. I do not know what more advice to give this - maybe someone else can offer input -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS

Re: [Tinyos-help] motelist

2006-08-03 Thread Darren BISHOP
Please excuse my asking a really obvious question, but have you actually installed the FTDI drivers? Can you see the key mentioned via regedit? Best regards Darren Sudha Krishna wrote: div class=moz-text-flowed style=font-family: -moz-fixedHi, I am getting the following error when I

Re: [Tinyos-help] HowTo use Acknowledge

2006-08-01 Thread Darren BISHOP
Hi Ale, On telosb there is the CC2420Control interface which you can use to switch on acknowledgments; this is not synonymous to reliable communication, but it gives you a primitive to implement such. I am told it depends on the version of your hardware whether it is on by default. I do not

Re: Re: Re: [Tinyos-help] set distance between motes in tinyviz

2006-08-01 Thread Darren BISHOP
Hey Nilay, In TinyViz goto the 'Plugins' menu and enable the 'Radio model' plugin. Select the corresponding control panel (on the right) and choose the radio range e.g. 'Fixed radius (10.0)'. You can then scale this by setting the 'Distance scaling factor'; I believe you must use the

Re: [Tinyos-help] inject commands at runtime in tinyviz

2006-07-31 Thread Darren Bishop
a mote's ADC channel in TinyViz and program the mote to read and react to certain values. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Monday 31 July 2006 03:02, Nilay Chheda wrote: Hi, I am running my simulations on TOSSIM ( tinyviz ). Is there any way I can inject commands

Re: [Tinyos-help] Help request: How to write to Telosb/TmoeSky ?

2006-07-30 Thread Darren Bishop
as the destination, 0x7d as the group id, three 16-bit numbers (3, 1 15, 10), plus the crc calculation -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Sunday 30 July 2006 06:57, Michael Schippling wrote: Looks to me like your CommandMsg stuff is here, in lsb order: Pkt: 7e 42 06 01 08 14 ff

Re: [Tinyos-help] Help request: How to write to Telosb/TmoeSky ?

2006-07-30 Thread Darren Bishop
or serialsource.c for implementations of the crc algorithm. You maybe using a component/interface too low-level to benefit from the crc i.e. the check fails but you're working at a level where processing occurs regardless. Use GenericComm. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS

[Tinyos-help] Help request: How to write to Telosb/TmoeSky ?

2006-07-29 Thread Darren Bishop
byte order, and hence the ordering I use. Can someone please process these threee 16-bit integers and show me how it is done ? -- Warm regards, Darren Bishop ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https

[Tinyos-help] Help writing to telosb over UART in Python

2006-07-25 Thread Darren Bishop
flags (oflag) on the serial port maybe? Have I got the frame format wrong? Your help is appreciated. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https