-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.py
executable file
·32 lines (24 loc) · 953 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/python3
# (c) Bluemark Innovations BV
# MIT license
# settings file
import random
#MQTT broker settings
broker = 'myserver'
port = 8883
topic = "#"
# generate client ID with pub prefix randomly
client_id = f'mqtt-subscriber-{random.randint(0, 100)}'
#optional user/password for connecting to the MQTT broker, uncomment if used.
#username = 'myuser'
#password = 'mypassword'
#file containing full SSL chain, uncomment when MQTT broker uses encrypted messages [preferred]
#client_pem = "./certs/client.pem"
# save the detected Remote ID signals to a CSV file in the log_path folder
# uncomment to enable logging
# log_path = './logs'
#set to False to disable printing messages on the console
#print_messages = True
#Export data to Virtual Radar Server or FlightAirMap that support sources with SBS BaseStation output
#sbs_server_ip_address = "0.0.0.0" # Standard loopback interface address (localhost)
#sbs_server_port = 30003 # port