This repository was archived by the owner on Nov 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig-example.inc.php
40 lines (36 loc) · 1.59 KB
/
config-example.inc.php
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
33
34
35
36
37
38
39
40
<?php
define('PHPMQTT_PATH', 'phpMQTT/phpMQTT.php');
// Network ID from BrandMeister.conf
define('NETWORK_ID', 2162);
// If USE_MULTIPLE_SERVICE_IDS is true, the APRS symbol of position
// reports depend on the used destination ARS/RRS ID, not the one set
// in SelfCare. For example, if you set your radio's ARS/RRS ID
// to the ID of LOCATION_SERVICE_ID9, you will have the symbol of a car.
// If you set your radio's ARS/RRS ID to the ID of LOCATION_SERVICE_ID7,
// you will have the symbol of a walking person.
//
// If USE_MULTIPLE_SERVICE_IDS is false, your APRS symbol will be set to
// the BM SelfCare symbol (you have to send the ARS/RRS data to
// LOCATION_SERVICE_ID0 in this case).
define('USE_MULTIPLE_SERVICE_IDS', true);
define('LOCATION_SERVICE_ID0', 5050);
define('LOCATION_SERVICE_ID1', 5051);
define('LOCATION_SERVICE_ID2', 5052);
define('LOCATION_SERVICE_ID3', 5053);
define('LOCATION_SERVICE_ID4', 5054);
define('LOCATION_SERVICE_ID5', 5055);
define('LOCATION_SERVICE_ID6', 5056);
define('LOCATION_SERVICE_ID7', 5057);
define('LOCATION_SERVICE_ID8', 5058);
define('LOCATION_SERVICE_ID9', 5059);
// User, passcode, server used for connecting to the APRS network.
define('APRS_CALLSIGN', 'HA2NON-15');
define('APRS_PASSCODE', 0);
define('APRS_SERVER', 'hun.aprs2.net');
define('APRS_SERVER_PORT', 14580);
// Tarantool credentials.
define('TNT_HOST', 'localhost');
define('TNT_PORT', 3301);
define('TNT_USER', 'api');
define('TNT_PASSWORD', ''); // You can get the password from /var/www/html/api/config.php
?>