3a129d3fb3ed58064aaa41717d21f9ab2c776fd1
[profile/ivi/automotive-message-broker.git] / plugins / gpsnmea / README
1 gps nmea plugin
2
3 This plugin uses NMEA-compatible devices to provide location information to AMB.
4
5 To enable the GPS NMEA plugin, run cmake and enable the gpsnmea_plugin option:
6
7 cmake -Dgpsnmea_plugin=On ..
8
9 To use the Database plugin, add the following to the "sources" array in /etc/ambd/config:
10
11 {
12         "name" : "gpsnmea",
13         "path" : "/usr/lib/automotive-message-broker/gpsnmea.so",
14         "device" : "/dev/ttyUSB0",
15         "bluetoothAdapter" : "00:00:00:00:00:00"
16 }
17
18 Configuration Key Definitions:
19
20 "name"
21 name of plugin.  This key is not used by the plugin at this moment.
22
23 "path"
24 path to plugin on the filesystem.
25
26 "device"
27 gps device.  This must be a serial device.  It can also be a bluetooth address.
28
29 Default: none
30
31 "bluetoothAdapter"
32 bluetooth adapter to use.  This is only used if "device" is also a bluetooth device.
33 If left blank, the system default adapter will be used.
34
35 Default: none
36
37 AMB Properties:
38
39 GpsTime
40 Timestamp in seconds from epoc UTC parsed from the NMEA output.
41
42 Type: double
43 Access: readonly