From 07ac3a02089f30de0ce669d7a5d2b2f04a1ad687 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Wed, 7 Feb 2024 12:50:33 -0600 Subject: [PATCH] Track speed and course --- meshtastic/atak.options | 3 ++- meshtastic/atak.proto | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/meshtastic/atak.options b/meshtastic/atak.options index fbfbc6e..1f0f7e6 100644 --- a/meshtastic/atak.options +++ b/meshtastic/atak.options @@ -1,3 +1,4 @@ *Contact.callsign max_size:120 -*Status.battery int_size:8 \ No newline at end of file +*Status.battery int_size:8 +*PLI.course int_size:16 \ No newline at end of file diff --git a/meshtastic/atak.proto b/meshtastic/atak.proto index 6d3edca..669205a 100644 --- a/meshtastic/atak.proto +++ b/meshtastic/atak.proto @@ -211,7 +211,12 @@ message PLI { sfixed32 longitude_i = 2; /* - * Altitude + * Speed */ - int32 altitude = 3; + uint32 speed = 3; + + /* + * Course in degrees + */ + uint32 course = 4; }