Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SMPC Multilateration SMPC Multilateration
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Masters Year Project
  • SMPC MultilaterationSMPC Multilateration
  • Wiki
  • Configuring

Configuring · Changes

Page history
wiki final authored Apr 12, 2023 by Daniel Chadwick's avatar Daniel Chadwick
Hide whitespace changes
Inline Side-by-side
Configuring.md
View page @ 440fdf6b
# Introduction
In this document, we'll explain the purpose and usage of each configuration file in the given system. These config files are used to store settings for different components, such as the receiver, MariaDB, SQLite, and the map. The api-key mentioned is for the airlab-co API, which provides access to various aviation data and services.
The option to chose between MariaDB and SQLite3, only one config should be configured. <span style="color:red">Warning, using SQLite3 will not allow you to use the map feature due to threading limits.</span>
# Receiver
```python
[receiver]
ip_address = 192.168.1.1 # IP address of the device receiving the data
port = 50001 # Port number to listen for incoming data
latitude = 53.0000 # Latitude of the receiver's location
longitude = -2.0000 # Longitude of the receiver's location
api_key = XXXX-XXXX-XXXX # API key for accessing the airlab-co API
secure_multiparty = true/false # Enable or disable secure multiparty communication (SMPC)
```
# MariaDB
```python
[mariadb]
host = 192.168.1.1 # IP address of the MariaDB server
username = username # Username for the MariaDB account
password = p@ssw0rd # Password for the MariaDB account
database = smpc # Name of the database to use
port = 3306 # Port number for the MariaDB server
```
# SQLite
# Map
\ No newline at end of file
```python
[sqlite]
file = aircraft.db # Filename for the SQLite database file
```
# Map
```python
[map]
port = 8080 # Port number for the map server
receiver_view_enabled = true/false # Enable or disable the receiver's view on the map
```
\ No newline at end of file
Clone repository
  • Command line
  • Configuring
  • Demos and Testing
  • Home