This website requires JavaScript.
Explore
Help
Sign In
mr
/
openwrt
Watch
2
Star
0
Fork
1
You've already forked openwrt
Code
Issues
7
Pull Requests
Releases
Wiki
Activity
910a9430a0
openwrt
/
package
/
utils
/
ugps
/
files
/
gps.config
4 lines
61 B
Plaintext
Raw
Normal View
History
Unescape
Escape
ugps: add a minimal gps daemon * set the system time/data * "ubus call gps info" will tell you lattitude, longitude, elevation, speed and bearing Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41929
2014-08-01 17:37:49 +08:00
config gps
option 'tty' 'ttyACM0'
ugps: fix typo Removing redundant spaces from the name of the option. Without fix: root@LEDE:~# opkg install ugps Installing ugps (2016-10-24-32a6b2b7-1) to root... Downloading http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mips_24kc/base/ugps_2016-10-24-32a6b2b7-1_mips_24kc.ipk Configuring ugps. uci: Parse error (invalid character in name field) at line 3, byte 23 uci: Parse error (invalid character in name field) at line 3, byte 23 sh: out of range root@LEDE:~# uci show gps uci: Parse error (invalid character in name field) at line 3, byte 23 With this fix: root@LEDE:~# uci show gps gps.@gps[0]=gps gps.@gps[0].tty='ttyACM0' gps.@gps[0].adjust_time='1' Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
2017-02-16 02:06:04 +08:00
option 'adjust_time' '1'
Reference in New Issue
Copy Permalink