[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] from_sixbit() ...

From: address@hidden
Subject: [gpsd-dev] from_sixbit() ...
Date: Sun, 15 Sep 2013 20:46:22 +0200


i have looked at all other from_sixbit() call's in driver_ais.c .

Can someone please check all from_sixbit() call's too.

Most calls use bitlen-<startpos> as length parameter.

I, at least my, understanding, it should be (bitlen-<startpos>)/6+1 ....

The second part of ais message 21 

            from_sixbit((unsigned char *)bits,
                        272, (bitlen - 272)/6,

If the call 

        from_sixbit((unsigned char *)bits,
                    43, 21, ais->;

is correct, ( I assume it is, see my previous mail), then the second call is 
not correct...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]