snstac / aryaos

AryaOS: An Operating System for Modern Situational Awareness.
https://aryaos.rtfd.io/
Apache License 2.0
37 stars 8 forks source link

ADSBCOT to TAKServer - DEFAULT_TAK_PROTO setting #46

Open c-sh0 opened 7 months ago

c-sh0 commented 7 months ago

AirTAK with TAKServer Version: 5.0-RELEASE

Configuring adsbcot to send the data directly to TAKserver port 8089 was just not working. Changing from TLS to a TCP configuration made no difference. It turns out that it has something to do with the DEFAULT_TAK_PROTO setting in pytak/constants.py.. After editing the file and changing it's value to 0, both TCP and TLS configurations began working as expected.

Based on the comment, it looks like this should be set to 0 rather than 1 ?

# TAK Protocol to use for CoT output, one of: 0 (XML, default), 1 (Mesh/Stream).
DEFAULT_TAK_PROTO: str = "1"

Setting the value in /boot/airtak-config.txt had no effect.

Thanks