[Tinyos-help] Antitheft compile warnings on new platform
Philip Levis
pal at cs.stanford.edu
Sat Jul 28 20:02:23 PDT 2007
On Jul 28, 2007, at 8:37 PM, Todd Roper wrote:
> Hello,
>
>
>
> I am showing some warnings when compiling the “Root” element of the
> Antitheft app. (see below)
>
>
>
> All the warnings(warning: comparison is always false due to limited
> range of data type) point to a line like the following:
>
> if (qe->client < CLIENT_COUNT) ….
>
>
>
> Is this something that can (or should) be ignored? I do not get
> the error on the “Nodes” element make (after modifications for this
> platform).
>
>
Hm. You should ignore it. It occurs because the root node does not
send packets with collection, merely forwards them. Therefore, the
CLIENT_COUNT is zero (there are no sending clients).
Phil
More information about the Tinyos-help
mailing list