Skip to content

Commit

Permalink
legacy/uat2esnt: emit messages with a magic UAT timestamp
Browse files Browse the repository at this point in the history
(see also 22677f5 in adsbxchange/uat2esnt)
  • Loading branch information
mutability committed Dec 8, 2021
1 parent 3ef28af commit 56d4c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion legacy/uat2esnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,8 @@ static void checksum_and_send(uint8_t *frame, int len, uint32_t parity)
frame[len-2] = (rem & 0x00FF00) >> 8;
frame[len-1] = (rem & 0x0000FF);

fprintf(stdout, "*");
// Magic UAT timestamp (FF004D4C415500) and signal strength (00)
fprintf(stdout, "<FF004D4C415500");
for (j = 0; j < len; j++)
fprintf(stdout, "%02X", frame[j]);
fprintf(stdout, ";\n");
Expand Down

0 comments on commit 56d4c05

Please sign in to comment.