Skip to content

cot-mesh-adapters - #3

Merged
DjGreenKrk merged 6 commits into
mainfrom
cot-mesh-adapters
Apr 17, 2026
Merged

cot-mesh-adapters#3
DjGreenKrk merged 6 commits into
mainfrom
cot-mesh-adapters

Conversation

@DjGreenKrk

@DjGreenKrk DjGreenKrk commented Apr 15, 2026

Copy link
Copy Markdown
Owner
  1. poprawiona systematyka plików i katalogów
  2. dodany plik SECURITY.md
  3. dodany plik .python-version
  4. dodany plik .github/dependabot.yml
  5. poprawione pliki README.md i .gitignore
  6. dodana poprawiona implementacja adapterów, parserów i generatorów dla APRS, CoT i Mesh
  7. dodane testy dla adapterów CoT-Mesh

2. dodany plik SECURITY.md
3. dodany plik .python-version
4. dodany plik .github/dependabot.yml
5. poprawione pliki README.md i .gitignore
6. dodana poprawiona implementacja adapterów, parserów i generatorów dla APRS, CoT i Mesh
7. dodane testy dla adapterów CoT-Mesh
@DjGreenKrk
DjGreenKrk marked this pull request as draft April 15, 2026 22:15
@DjGreenKrk DjGreenKrk self-assigned this Apr 15, 2026
@DjGreenKrk DjGreenKrk changed the title 1. poprawiona systematyka plików i katalogów Pierwsza zmiana Apr 15, 2026
…p model.py as the single runtime event language.

Changes:
- unified RX entrypoints so each protocol now uses a single parser module
- unified TX entrypoints so each protocol now uses a single encoder module
- removed legacy transitional files:
  - aprs/generator.py
  - cot/cot_parser.py
  - cot/cot_encoder.py
  - mesh/decoder.py
  - mesh/mesh_decoder.py
  - mesh/mesh_encoder.py
  - aprs/decoder.py
  - sartrack/decoder.py
  - cot/decoder.py
- updated imports across adapters, tests and package exports
- verified TX paths do not build outbound payloads from raw RX data
- removed raw propagation from TX-side event clones where it was unnecessary
- improved docstrings/comments around model, state, parser and GUI layers
- unified operator-facing event naming in GUI/state store
- updated README to match the current repository structure and event pipeline

Architecture after this change:
- model.py is the single runtime language for router/adapters
- canonical.py remains a normalization helper for parser/encoder layers
- parser.py handles RX normalization
- encoder.py handles TX shaping
- adapter.py handles transport/session logic

Validation:
- unittest suite passes (24 tests)
- py_compile checks pass
…omości i pozycje w obu kierunkach, a także mapować symbole CoT TAK na symbole APRS. Nadal muszę przetestować adapter w różnych scenariuszach i upewnić się, że jest stabilny i niezawodny, ale jestem zadowolony z postępów, które poczyniłem do tej pory.
@DjGreenKrk DjGreenKrk changed the title Pierwsza zmiana cot-mesh-adapters Apr 16, 2026
This was linked to issues Apr 16, 2026
- add primary Meshtastic adapter flow based on TAK protobuf packets
- support TCP connection lifecycle, reconnect backoff and heartbeat handling
- encode core PositionEvent / MessageEvent into MeshTAK payloads
- decode inbound Meshtastic packets back into core events
- add meshtasticd simulator compatibility by unwrapping SIMULATOR_APP into embedded ATAK_PLUGIN
- add echo suppression and duplicate protection for bridge-originated packets
- improve mesh logging and reduce library log spam while keeping bridge-level diagnostics
- expose mesh adapter runtime config through config.py and GUI controls
@DjGreenKrk
DjGreenKrk marked this pull request as ready for review April 17, 2026 02:35

@DjGreenKrk DjGreenKrk left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing this PR as an initial integration step.

Router <-> TAK is not fully finished yet, but the first working path is now in place:

  • basic CoT/TAK connectivity works
  • the router can already pass core events into TAK-side transport
  • inbound/outbound behavior is partially verified

There is still follow-up work to do around message handling, richer event mapping and final hardening, but the bridge is no longer just a stub and can continue in the next PRs.

@DjGreenKrk
DjGreenKrk merged commit c32b09f into main Apr 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mesh] Add Meshtastic adapter [CoT] Add TAK adapter

1 participant