You have to use threads.  Take a look at the apps (and their READMEs)
in apps/tosthreads as well as TEP 134.  A tutorial will be coming out
soon that explains better how to use all of the new tosthreads
features.  For now, these are the only resources.

Kevin

On Wed, Sep 10, 2008 at 4:02 AM, Antonio <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I want to read some sensor value with Blocking readings.
>
> I'm using T-mote Sky Telosb and I would like to read Internal Temperature
> and Voltage value.
>
> To do this I'm taking a look at "tosthreads" files, in the
> "tinyos-2.x/tos/lib/tosthreads/" folder. Here I found these files:
>
>
>
> BlockingHamamatsuS10871TsrC.nc, BlockingHamamatsuS1087ParC.nc,
> BlockingSensirionSht11C.nc, BlockingSensirionSht11ReaderImplP.nc,
> BlockingSensirionSht11ReaderP.nc, CHamamatsuS10871TsrC.nc,
> CHamamatsuS10871TsrP.nc, CHamamatsuS1087ParC.nc, CHamamatsuS1087ParP.nc,
> CSensirionSht11C.nc, CSensirionSht11P.nc,
>
>
>
> But I don't know if they are what I'm looking for and I can't find
> explanations about these files.
>
> Someone can help me? How can I use them?
>
>
>
> One more question: Can I do Blocking Readings with these files (or other
> files) calling them from a normal nesC file? Or I have to use Threads to use
> that?
>
>
>
> Thanks in advance.
>
> Regards,
>
> Antonio Guerrieri
>
>
> ----
> Email.it, the professional e-mail, gratis per te:clicca qui
>
> Sponsor:
> Grande concorso Whiskas "Tigrotti Felici". Partecipa e vinci due mesi di
> fornitura Whiskas per il tuo gatto e altri fantastici premi per te!
> Clicca qui
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



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

Reply via email to