~sil2100/location-service/gps-arm64

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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
ubuntu-location-service(1) -- A location service aggregating position/velocity/heading updates and exporting them over dbus.
============================================================================================================================

## SYNOPSIS
`ubuntu-location-service` `--bus` <bus> `--provider` <provider> [`--provider` <provider>] [provider specific options] [logging options]

## DESCRIPTION
A location service aggregating position/velocity/heading updates and exporting them over dbus.

## OPTIONS
These options control which bus the service is exposed upon and which providers are instantiated:

  * `--bus`=<bus>:
  Specify the bus that the service should be exposed upon, valid values are "session" or "system".
  
  * `--provider`=<provider>:
  Specify the provider that should be instantiated and configured for this service instance.
  Valid values are: geoclue::Provider, gps::Provider and skyhook::Provider.
    
These options control the behavior of the geoclue provider:

  * `--geoclue::Provider::name`=<name>:
  The name of the provider on the bus.
  
  * `--geoclue::Provider::path`=<path>:
  The object path of the provider on the bus.
  
These options control the behavior of the Skyhook provider:

  * `--skyhook::Provider::username`=<username>:
  Username for authenicating with the Skyhook service.
  
  * `--skyhook::Provider::realm`=<realm>:
  Realm for authenticating with the Skyhook service.
  
  * `--skyhook::Provider::period`=<period>:
  Delay between updates in [ms].
  
These options control the logging behavior of the service:

  * `--logtostderr`=<boolean, default: false>:
  Log messages to stderr instead of logfiles, defaults to false.
  
  * `--stderrthreshold`=<threshold, default: 2>:
  Copy log messages at or above this level to stderr in addition to logfiles. The numbers of severity levels INFO, WARNING, ERROR, and FATAL are 0, 1, 2, and 3, respectively. Defa

  * `--minloglevel`=<level, default: 0>:
  Log messages at or above this level. Again, the numbers of severity levels INFO, WARNING, ERROR, and FATAL are 0, 1, 2, and 3, respectively.
  
  * `--log_dir`=<path, default: "">:
  If specified, logfiles are written into this directory instead of the default logging directory.

  * `--v`=<level, default: 0>:
  Show all VLOG(m) messages for m less or equal the value of this flag.

## EXAMPLES

Starting the service with a gps and a skyhook provider, exposing it on the system bus:
    $ /usr/bin/ubuntu-location-service/examples/service
        --bus system 
        --provider gps::Provider 
        --provider skyhook::Provider 
        --skyhook::Provider::username=a_registered_user_name 
        --skyhook::Provider::realm=a_registered_realm

A slightly more verbose instance:
    $ /usr/bin/ubuntu-location-service/examples/service      
        --bus system
        --provider gps::Provider 
        --provider skyhook::Provider 
        --skyhook::Provider::username=a_registered_user_name
        --skyhook::Provider::realm=a_registered_realm
        --logtostderr=true
        --v=5

## COPYRIGHT

Ubuntu Location Service is Copyright (C) 2013 Canonical Ltd.