opendroneid / opendroneid-core-c

Open Drone ID Core C Library
Apache License 2.0
178 stars 64 forks source link

opendrone-d.h MAX_TIMESTAMP incorrect #88

Closed ACSL-ChrisRaabe closed 8 months ago

ACSL-ChrisRaabe commented 8 months ago

F3411-22a Table 6: Location/Vector Message Timestamp: Time of applicability expressed in 1/10ths of seconds since the last hour relative to UTC time. 0-36000: 16 Bit UInt (LE)

opendroneid.h line 94:

define MAX_TIMESTAMP (60 * 60)

I believe this should be:

define MAX_TIMESTAMP (60 60 10)

ACSL-ChrisRaabe commented 8 months ago

Never mind. I see that this is not applied to the encoded value.