#protocols #deserialize #cot #cursor-on-target

cot-proto

Cursor on Target (CoT) protocol (de)serialization / parsing

8 releases

0.3.7 Nov 13, 2024
0.3.6 Nov 13, 2024

#1137 in Network programming

Download history 403/week @ 2024-11-04 285/week @ 2024-11-11 22/week @ 2024-11-18 15/week @ 2024-11-25 58/week @ 2024-12-02 32/week @ 2024-12-09

136 downloads per month

Apache-2.0

31KB
661 lines

Build Status Latest Version Documentation

Cursor on Target (COT) Protocol

This library aims to provide a simple way to produce (serialize) and consume (deserialize) Cursor on Target (CoT) messages from the Rust programming language.

API docs are available at docs.rs/cot_proto.

Some example usage can be found at cot-send-example.git.

Initial goals:

  • Support for base CoT schema.
  • Basic Rust structs for CoT messages, with serde support.
  • Types for interoperating with TAK / ATAK, e.g. placing a marker on the map.

TODOs

  • Add more typed schemas for common detail contents (sub-schemas)

References

The following sources were used to help develop this library:

  1. Michael J. Kristan et al. November 2009 Cursor on Target (CoT) Message Router User's Guide.
  2. Mitre Corporation, via CoTreceiver. Captured Nov 2024. CoT Schema Definitions (XSD)
  3. Android Tactical Assualt Kit (ATAK) CIV. Captured Nov 2024. takcot/examples

Dependencies

~2.7–3.5MB
~65K SLoC