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

2006-07-25 Thread Darren Bishop
as anyone achieved writing to a (telosb?) mote in C or Python? Have I set the wrong output 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] Help request: How to write to Telosb/TmoeSky ?

2006-07-29 Thread Darren Bishop
re LSB 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

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

2006-07-30 Thread Darren Bishop
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:

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

2006-07-30 Thread Darren Bishop
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), MBC

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

2006-07-30 Thread Darren Bishop
one mote, it is safe enough to just use the broadcast address, in which the mote will process the packet. Clearly packets that come off the radio or the serial port obviously go through the same processing. Thanks again. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Sunday 30

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

2006-07-31 Thread Darren Bishop
some light. -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS On Monday 31 July 2006 03:01, Nilay Chheda wrote: > Hi, > I am usiing tinyviz for my simulations. i need to set distance between the > motes in tinyviz ("directed graph" plugin) so that motes do not send > mess

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

2006-07-31 Thread Darren Bishop
#x27;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 comman

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 reciproc

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: Hi, I am getting the following error when I execute the "motelist" command: error, could not open key H

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 On

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

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

2006-08-12 Thread Darren Bishop
,   --- Darren 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

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

2006-08-12 Thread Darren Bishop
  Best 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 simulatio

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

[Tinyos-help] nesdoc component graphs

2006-08-13 Thread Darren Bishop
Does anyone know how to produce component graphs standalone i.e. as gif/jpg/svg images and also does anyone know how to change the style of them? -- Warm regards, Darren Bishop, MSc, BSc (Hons), MBCS ___ Tinyos-help mailing list Tinyos-help

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
e value? -- Warm 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 ke

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 : Co

Re: [Tinyos-help] nesdoc component graphs

2006-08-15 Thread Darren BISHOP
is it the same 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.

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

2006-08-15 Thread Darren BISHOP
Hey all, Just occurred to me that you can include the following command to any parameterized interface: command uint8_t .getid[uint8_t id]() { return id; } Best regards, Darren Original Message Shane, you are dy marvelous. -- Warm regards, Darren Bishop, MSc

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;

[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 TOS

[Tinyos-help] TOSSIM-CC2420

2006-08-18 Thread Darren BISHOP
Hi all, Is there any community feedback on TOSSIM-CC2420? Is there a description of how to use TestPC2420? When I compile with make pc sim,telos, I see a lots of warnings - is this normal? Darren ___ Tinyos-help mailing list Tinyos-help@Millenni

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren BISHOP
anual', 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,

[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 B

[Tinyos-help] Re: Debbuging Interface

2006-08-18 Thread Darren Bishop
e, don't hesitate 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? >

RE: [Tinyos-help] Serial Forwarder Problem

2006-08-25 Thread Darren Bishop
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,