]> www.average.org Git - loctrkd.git/blob - debian/gps303.conf
Rename gps303proto to zx303proto
[loctrkd.git] / debian / gps303.conf
1 [collector]
2 # configure your gps terminal with this SMS:
3 # "server#<your_server_ip_or_fqdn>#4303#"
4 port = 4303
5 publishurl = ipc:///var/lib/gps303/collected
6 listenurl = ipc:///var/lib/gps303/responses
7 # comma-separated list of tracker protocols to accept
8 protocols = zx303proto
9
10 [wsgateway]
11 port = 5049
12 htmlfile = /var/lib/gps303/index.html
13
14 [storage]
15 dbfn = /var/lib/gps303/trkloc.sqlite
16
17 [lookaside]
18 # "opencellid" and "googlemaps" can be here. Both require an access token,
19 # though googlemaps is only online, while opencellid backend looks up a
20 # local database, that can be updated once a week or once a month.
21 backend = opencellid
22
23 [opencellid]
24 dbfn = /var/lib/opencellid/opencellid.sqlite
25 # for testing: run `python -m http.server --directory <your_dir>` and use this:
26 # downloadurl = http://localhost:8000/<your_mcc>.csv.gz
27 # then the next two statements will be ignored
28 downloadtoken = /var/lib/opencellid/opencellid.token
29 downloadmcc = 262
30
31 [termconfig]
32 statusIntervalMinutes = 25
33 uploadIntervalSeconds = 0x0300
34 binarySwitch = 0b00110001
35 alarms =
36  0
37  0
38  0
39 dndTimeSwitch = 0
40 dndTimes =
41  0
42  0
43  0
44 gpsTimeSwitch = 0
45 gpsTimeStart = 0
46 gpsTimeStop = 0
47 phoneNumbers =
48  ""
49  ""
50  ""