I'ma using tinyos 2.1 with telosb and I'am trying to understand why some times
my nodes receive data not correctly.So I have tried to use the option safe that
is make telosb safe and I have received some errors .I have correct those
errors and then I have obtain this error : How to solve this ?
I am trying to understand why my program sometimes block using the option safe
.I use tinyos 2.1 with telosb .Why is an error the follow code ?
void dimImmagine(uint8_t*buf1)
{
440
Giorgio,
I believe I know what the problem is.
When you type make safe, it attempts to catch any possibly unsafe
operations. Mostly this is concerned with memory access and going
outside of bounds on an array, etc.
In your example, the operation is not safe. If for example you did this:
Thank you very much :very usefull .
Giorgio
- Messaggio Originale -
Da: Paul Johnson oewyn...@gmail.com
Data: Mercoledi', Novembre 25, 2009 4:46 pm
Oggetto: Re: [Tinyos-help] safe error
A: giorgio giorgio.gala...@unimi.it
Cc: tinyos-help@millennium.berkeley.edu
Giorgio,
I believe I