X-Git-Url: http://www.average.org/gitweb/?a=blobdiff_plain;f=debian%2Fgps303.conf;h=8bfff8e140f28faa3b271475585a116fb6cc39e4;hb=ba54a11f5710a714ae4df0c5d878229872386eb6;hp=2ee044bb7afee117665787dfa2de42986364ced7;hpb=80e795c08def3466884223357798cd1aff265212;p=loctrkd.git diff --git a/debian/gps303.conf b/debian/gps303.conf index 2ee044b..8bfff8e 100644 --- a/debian/gps303.conf +++ b/debian/gps303.conf @@ -1,16 +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 [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