Skip to content

Commit

Permalink
slight documentation update, use :// in COT URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed Apr 6, 2022
1 parent d5285f4 commit cb50780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ are expected to be serialized XML COT::
import urllib
import pytak

cot_url = urllib.parse.urlparse('tcp:takserver.example.com:8087')
cot_url = urllib.parse.urlparse('tcp://takserver.example.com:8087')

async def main():
# Create TX & RX queues
Expand Down Expand Up @@ -154,7 +154,7 @@ TLS Support
TLS Support for connections to TAK destinations is configured with two
settings:

1) Specify 'tls:' in the CoT Destination URL, for example: 'tls:takserver.example.com:8089'
1) Specify 'tls://' in the CoT Destination URL, for example: 'tls://takserver.example.com:8089'
2) Specify the TLS Cert & Key paramaters in the environment.

Required TLS Environment:
Expand All @@ -173,7 +173,7 @@ For example, if you're using 'adsbcot' and want to send CoT to a TAK Server
listening for TLS connections on port 8089::

$ PYTAK_TLS_CLIENT_CERT=client.cert.pem PYTAK_TLS_CLIENT_KEY=client.key.pem \
adsbcot -D http://172.17.2.122:8080/data/aircraft.json -U tls:takserver.example.com:8089
adsbcot -D http://172.17.2.122:8080/data/aircraft.json -U tls://takserver.example.com:8089


FreeTAKServer Support
Expand Down

0 comments on commit cb50780

Please sign in to comment.