Hi,

Thanks for the advice, with the inclusion of your file and adding micaz to the 
lines:

#elif defined(PLATFORM_MICA2) || defined(PLATFORM_MICAZ)

where appropriate to vu\tos\lib\OrderCorrectADC\HPLADCC.nc I've managed to 
compile and run SoundRecorder on my MicaZ.

Unfortunately, I can't find the java program PrintBigMsgs (or Txt2Wav) in the 
tools/java/isis/nest directory as specified. Have they been removed from the 
contrib. directory or moved somewhere else?

Also, generally speaking what is the best (i.e. easiest) way to save packet 
data to file. Programmes such as oscilloscope work fine for their own message 
formats, but are not particularly easy to edit.

Also:
What governs the sampling rate of getContinuousData()? And can I control this?
What are the size limits to the buffer (I've tried changing to e.g. 9000 and it 
compiles ok, but doesn't run). >> To what resolution could I sample and for how 
long?

Cheers,

Mike

-----Original Message-----
From: Janos Sallai [mailto:[EMAIL PROTECTED]
Sent: 05 May 2006 18:07
To: Michael Collett
Subject: RE: [Tinyos-help] Mica2 to MicaZ app conversion


Mike,

I haven't tried running SoundRecorder or AcousticLocalization on the
micaz. 

SoundRecorder does compile for micaz if you drop the file I'm attaching
into contrib/vu/tos/platform/micaz. I haven't done actual recordings,
though.

Regarding AcousticLocalization: it uses a customized timer which was
needed 3 years ago, because the timer in the official release had some
issues. The problem is that the CC2420 driver conflicts with the custom
timer implementation. If you need to get it work, you may want to port
contrib/vu/lib/AcousticRanging so that it uses the standard TinyOS
timer.

Janos

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Michael Collett
Sent: Friday, May 05, 2006 10:12 AM
To: [email protected]
Subject: [Tinyos-help] Mica2 to MicaZ app conversion

Hi,

How easy is it to convert library apps designed for Mica2s to work on
MicaZs? And what would I have to change? Specifically, it would be
really useful if I could get SoundRecorder and AcousticLocalisation from
the Vanderbilt library to work on my MicaZs.

Cheers,

Mike

p.s. Thanks for the previous advice on the Listen tool and the MicaZ.
The source of the problem was I was trying to use the pre-installed base
Mote which came with my developer kit (which I wrongly assumed to be
using TOSBase, rookie mistake). Reinstallation with the correct program
solved the problem.

-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel
p

-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to