X-Git-Url: http://www.average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=88bf74a8ebb2d2e4ae6ec9cbdd3076631cd8be3b;hb=c3bc6d5bbdc0d0bf10e338c6e3bad1a519d5afa0;hp=d77b58aab50dfcf23240e9957c91007ec8af9896;hpb=3cfd06a9124bc710153520bc7f623c71051b2fb9;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index d77b58a..88bf74a 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,20 +1,32 @@ [collector] +# configure your gps terminal with this SMS: +# "server##4303#" port = 4303 publishurl = ipc:///var/lib/gps303/collected listenurl = ipc:///var/lib/gps303/responses +# comma-separated list of tracker protocols to accept +protocols = gps303proto [wsgateway] port = 5049 htmlfile = /var/lib/gps303/index.html [storage] -dbfn = /var/lib/gps303/gps303.sqlite +dbfn = /var/lib/gps303/trkloc.sqlite [lookaside] -publishurl = ipc:///var/lib/gps303/locevt +# "opencellid" and "googlemaps" can be here. Both require an access token, +# though googlemaps is only online, while opencellid backend looks up a +# local database, that can be updated once a week or once a month. +backend = opencellid [opencellid] dbfn = /var/lib/opencellid/opencellid.sqlite +# for testing: run `python -m http.server --directory ` and use this: +# downloadurl = http://localhost:8000/.csv.gz +# then the next two statements will be ignored +downloadtoken = /var/lib/opencellid/opencellid.token +downloadmcc = 262 [termconfig] statusIntervalMinutes = 25