mirror of
https://github.com/alexhopeoconnor/firmware.git
synced 2026-10-16 00:21:35 +10:00
Update src/modules/AtakPluginModule.h
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -3,9 +3,12 @@
|
||||
#include "concurrency/OSThread.h"
|
||||
|
||||
/**
|
||||
* ATAK Plugin V2 module - passthrough for zstd dictionary-compressed CoT payloads.
|
||||
* All compression/decompression is handled by the apps (Android, iOS, ATAK plugin).
|
||||
* Firmware simply forwards opaque bytes on the ATAK_PLUGIN_V2 port.
|
||||
* ATAK Plugin V2 module - passthrough for ATAK_PLUGIN_V2 payloads.
|
||||
* The wire format includes a leading flags byte followed by opaque payload bytes.
|
||||
* Depending on the flags, the payload may be zstd dictionary-compressed or raw/uncompressed protobuf.
|
||||
* Compression/decompression and payload interpretation are handled by the apps
|
||||
* (Android, iOS, ATAK plugin); firmware forwards the bytes unchanged on the
|
||||
* ATAK_PLUGIN_V2 port.
|
||||
*/
|
||||
class AtakPluginModule : public SinglePortModule, private concurrency::OSThread
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user