F3411-22a defines the UAS ID Types to have the following data types:
Serial Numbers as ASCII string
CAA Assigned ID as ASCII string
UTM Assigned ID as UUIDv4 (encoded as bytes)
Specific Session ID as bytes
This PR fixes an issue (documented in #124) where the use of ODID_COPY_STR (specifically the strncpy function within it) was incorrectly truncating UAS IDs (specifically ID Types 3 and 4) on the first occurrence of a 0 or null byte.
F3411-22a defines the UAS ID Types to have the following data types:
This PR fixes an issue (documented in #124) where the use of
ODID_COPY_STR
(specifically thestrncpy
function within it) was incorrectly truncating UAS IDs (specifically ID Types 3 and 4) on the first occurrence of a 0 or null byte.