summaryrefslogtreecommitdiffstats
path: root/conf.d/project/etc/sig-geoloc.json
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/project/etc/sig-geoloc.json')
-rw-r--r--conf.d/project/etc/sig-geoloc.json12
1 files changed, 3 insertions, 9 deletions
diff --git a/conf.d/project/etc/sig-geoloc.json b/conf.d/project/etc/sig-geoloc.json
index 0922b18..d3040b8 100644
--- a/conf.d/project/etc/sig-geoloc.json
+++ b/conf.d/project/etc/sig-geoloc.json
@@ -7,8 +7,7 @@
"unit": "degree",
"frequency": 1,
"onReceived": {
- "uri": "plugin://gps-callbacks",
- "function": "getLatitude"
+ "action": "plugin://gps-callbacks#getLatitude"
}
},
{
@@ -17,11 +16,7 @@
"unit": "degree",
"frequency": 1,
"onReceived": {
- "uri": "plugin://gps-callbacks",
- "function": "getSignal",
- "args": {
- "what": "longitude"
- }
+ "action": "plugin://gps-callbacks#getLongitude"
}
},
{
@@ -40,8 +35,7 @@
"unit": "degree",
"frequency": 1,
"onReceived": {
- "uri": "plugin://gps-callbacks",
- "function": "getHeading"
+ "action": "plugin://gps-callbacks#getHeading"
}
},
{