How about memcmp in string.h? This is standard C.

Janos

On Mon, Mar 2, 2009 at 11:13 AM, Jordi Pérez <[email protected]> wrote:
> Dear all,
>
> I have a Base Station which receives the same packet from three different
> motes. The packets must be the same, but maybe, one of them could have some
> errors. So, I want to make a task which compare bit to bit, or byte to byte,
> the three packet received to rebuild a new packet without errors.
>
> How could I do this task? I don't know how to compare bit to bit (or byte to
> byte) a received packet. Can you help me please?
>
> Thanks in advanced,
>
> Jordi
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

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

Reply via email to