olsrd.git
3 years agocfgparser: use superfasthash for the configuration checksum
Ferry Huberts [Tue, 10 Jan 2017 14:36:45 +0000 (15:36 +0100)]
cfgparser: use superfasthash for the configuration checksum

Saves space, by request of LEDE/OpenWRT

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agocfgparser: pull in openssl sha256 code to avoid linking to it
Ferry Huberts [Tue, 10 Jan 2017 11:10:19 +0000 (12:10 +0100)]
cfgparser: pull in openssl sha256 code to avoid linking to it

Obsoletes/removes the NOCONFIGCHECKSUM build option

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agocfgparser: use correct SHA256_DIGEST_LENGTH
Ferry Huberts [Tue, 10 Jan 2017 09:48:43 +0000 (10:48 +0100)]
cfgparser: use correct SHA256_DIGEST_LENGTH

Not SHA_DIGEST_LENGTH, which is for SHA1 checksums

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge pull request #14 from bittorf/master
Ferry Huberts [Tue, 10 Jan 2017 11:01:24 +0000 (12:01 +0100)]
Merge pull request #14 from bittorf/master

logging: show interface name during blocked socket error

3 years agologging: show interface name during blocked socket error 14/head
Bastian Bittorf [Tue, 10 Jan 2017 08:46:59 +0000 (09:46 +0100)]
logging: show interface name during blocked socket error

message was:
OLSR: sendto IPv4 Operation not permitted

message now:
OLSR: sendto IPv4 'Operation not permitted' on interface wlan1

(added also for the IPv6 case)

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
3 years agoMerge pull request #12 from booo/sighup-interval
Ferry Huberts [Mon, 9 Jan 2017 19:45:34 +0000 (20:45 +0100)]
Merge pull request #12 from booo/sighup-interval

nameservice: add new sighup-interval parameter

3 years agonameservice: add new sighup-interval parameter 12/head
Philipp Borgers [Mon, 9 Jan 2017 17:05:56 +0000 (18:05 +0100)]
nameservice: add new sighup-interval parameter

We add the 'sighup-interval' parameter to control the time interval
between sighups to the file specified by 'sighup-pid-file'.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
3 years agofiles: update configuration generation script
Ferry Huberts [Fri, 6 Jan 2017 11:59:04 +0000 (12:59 +0100)]
files: update configuration generation script

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agofiles: get rid of net-tools usage
Ferry Huberts [Fri, 6 Jan 2017 11:22:32 +0000 (12:22 +0100)]
files: get rid of net-tools usage

net-tools has been deprecated well over a decade now.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agomake: remove -Wmissing-include-dirs
Ferry Huberts [Wed, 4 Jan 2017 17:12:35 +0000 (18:12 +0100)]
make: remove -Wmissing-include-dirs

It's causing grief for LEDE/OpenWRT and doesn't seem that useful in the
first place.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agogui: clean-ups
Ferry Huberts [Wed, 4 Jan 2017 14:12:50 +0000 (15:12 +0100)]
gui: clean-ups

Especially the gui olsr_protocol.h file was REALLY out of sync.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agomake: strip CC
Thorsten Maerz [Sun, 18 Dec 2016 14:25:57 +0000 (15:25 +0100)]
make: strip CC

Windows can't handle CC with leading/trailing whitespace.
Fixes msys/mingw build on win32.

Signed-off-by: Thorsten Maerz <info@netztorte.de>
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agodoc: move pdf generation into new doc-pdf make target
Ferry Huberts [Wed, 4 Jan 2017 12:13:26 +0000 (13:13 +0100)]
doc: move pdf generation into new doc-pdf make target

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agodoc: fix warnings
Ferry Huberts [Wed, 4 Jan 2017 12:04:54 +0000 (13:04 +0100)]
doc: fix warnings

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agodoc: minor adjustment of the makefile
Ferry Huberts [Wed, 4 Jan 2017 12:09:01 +0000 (13:09 +0100)]
doc: minor adjustment of the makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agodoc: upgrade doxygen configuration
Ferry Huberts [Wed, 4 Jan 2017 12:08:49 +0000 (13:08 +0100)]
doc: upgrade doxygen configuration

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: update java dependency bundles
Ferry Huberts [Wed, 4 Jan 2017 10:08:29 +0000 (11:08 +0100)]
info: update java dependency bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agochangelog: add a note about the '/http' and '/plain' request prefixes
Ferry Huberts [Wed, 4 Jan 2017 09:52:16 +0000 (10:52 +0100)]
changelog: add a note about the '/http' and '/plain' request prefixes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: add request timeout configuration parameter
Ferry Huberts [Wed, 4 Jan 2017 08:09:51 +0000 (09:09 +0100)]
info: add request timeout configuration parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: add sanitation of the configuration
Ferry Huberts [Wed, 4 Jan 2017 07:45:33 +0000 (08:45 +0100)]
info: add sanitation of the configuration

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: release changed java OSGi bundles
Ferry Huberts [Tue, 3 Jan 2017 21:48:29 +0000 (22:48 +0100)]
info: release changed java OSGi bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: return 'REQUEST TIMEOUT' when receiving the request did not work
Ferry Huberts [Tue, 3 Jan 2017 10:59:44 +0000 (11:59 +0100)]
info: return 'REQUEST TIMEOUT' when receiving the request did not work

This effectively is the case when a user-operated telnet connection is
encountered - when the request is not present when the code tries to
receive it.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: do not block when receiving the request
Ferry Huberts [Tue, 3 Jan 2017 10:15:25 +0000 (11:15 +0100)]
info: do not block when receiving the request

Otherwise the whole of olsrd is blocked, since it's single-threaded.

Note: this will effectively disallow user-operated telnet connection, since
      the code will not wait for input and expects the request to be there
      once it tries to receive data.
      A normal telnet connection did not work before (v0.6.8.1 was checked)
      so no surprises here.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: allow a small delay between connection accept and request arrival
Ferry Huberts [Tue, 3 Jan 2017 10:31:39 +0000 (11:31 +0100)]
info: allow a small delay between connection accept and request arrival

To compensate for slow networks and far-away nodes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: fix drain_request to not block
Ferry Huberts [Tue, 3 Jan 2017 10:10:16 +0000 (11:10 +0100)]
info: fix drain_request to not block

Otherwise the whole of olsrd is blocked, since it's single-threaded

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: add a comment about the size of the receive buffer
Ferry Huberts [Tue, 3 Jan 2017 10:08:40 +0000 (11:08 +0100)]
info: add a comment about the size of the receive buffer

The maximum size really is a most the size of a single IP packet,
it is the assumption on which the code is designed. The request must
be in the first packet on the connection.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: move a comment
Ferry Huberts [Tue, 3 Jan 2017 10:06:44 +0000 (11:06 +0100)]
info: move a comment

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: fix levels of a few debug messages
Ferry Huberts [Tue, 3 Jan 2017 09:38:37 +0000 (10:38 +0100)]
info: fix levels of a few debug messages

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agojsoninfo: add cli arguments to the config object
Ferry Huberts [Mon, 2 Jan 2017 15:37:31 +0000 (16:37 +0100)]
jsoninfo: add cli arguments to the config object

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agojsoninfo: always output the configuration checksum
Ferry Huberts [Sun, 25 Dec 2016 12:44:00 +0000 (13:44 +0100)]
jsoninfo: always output the configuration checksum

So that the client knows when it has changed and thus when to
re-fetch the configuration related (startup) objects.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agomain: save argc and argv for later use
Ferry Huberts [Sun, 25 Dec 2016 13:30:49 +0000 (14:30 +0100)]
main: save argc and argv for later use

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoconf: calculate the checksum over the effective configuration
Ferry Huberts [Mon, 2 Jan 2017 14:14:47 +0000 (15:14 +0100)]
conf: calculate the checksum over the effective configuration

Can be disabled by compiling with 'NOCONFIGCHECKSUM=1'.

We can't simply checksum the olsr_cnf struct because it contains pointers
to other structs that would vary every time.
This is the simplest solution.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoconf: ensure the correct configuration file is stored in the configuration
Ferry Huberts [Sun, 25 Dec 2016 13:30:00 +0000 (14:30 +0100)]
conf: ensure the correct configuration file is stored in the configuration

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoconf: clear allocated default config before filling it.
Ferry Huberts [Sun, 25 Dec 2016 13:29:27 +0000 (14:29 +0100)]
conf: clear allocated default config before filling it.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: introduce command prefixes '/http' and '/plain'
Ferry Huberts [Mon, 2 Jan 2017 13:06:22 +0000 (14:06 +0100)]
info: introduce command prefixes '/http' and '/plain'

All info plugins support a number of request prefixes:
- /http : forces output WITH    http headers, temporarily overriding the
          configured "httpheaders" value.
- /plain: forces output WITHOUT http headers, temporarily overriding the
          configured "httpheaders" value.

These prefixes have to be at the start of the request string, can occur
only there, and can occur only once.

Note that this will NOT work when there is an internal error (only occurs
when the connection is not ready to be read, which is very unlikely).

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: sanitise the request right after it's been received
Ferry Huberts [Thu, 8 Dec 2016 09:30:30 +0000 (10:30 +0100)]
info: sanitise the request right after it's been received

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: read the request as early as possible
Ferry Huberts [Sat, 10 Dec 2016 17:05:27 +0000 (18:05 +0100)]
info: read the request as early as possible

So that the request is already known before (further) checking
pre-conditions. Will be used later.

Also check for too many requests in flight when replying with an
internal server error.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: fix a comment and add a comment
Ferry Huberts [Sat, 10 Dec 2016 17:00:24 +0000 (18:00 +0100)]
info: fix a comment and add a comment

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: be explicit about adding headers
Ferry Huberts [Wed, 7 Dec 2016 21:19:11 +0000 (22:19 +0100)]
info: be explicit about adding headers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: rename stripEOLs to stripTrailingWhitespace
Ferry Huberts [Thu, 8 Dec 2016 08:54:48 +0000 (09:54 +0100)]
info: rename stripEOLs to stripTrailingWhitespace

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: protect cutAtFirstEOL against invalid input and zero length
Ferry Huberts [Thu, 8 Dec 2016 07:49:27 +0000 (08:49 +0100)]
info: protect cutAtFirstEOL against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: protect stripTrailingSlashes against invalid input and zero length
Ferry Huberts [Thu, 8 Dec 2016 07:49:08 +0000 (08:49 +0100)]
info: protect stripTrailingSlashes against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: protect skipLeadingWhitespace against invalid input and zero length
Ferry Huberts [Wed, 7 Dec 2016 23:12:37 +0000 (00:12 +0100)]
info: protect skipLeadingWhitespace against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: protect skipMultipleSlashes against invalid input and zero length
Ferry Huberts [Thu, 8 Dec 2016 07:42:03 +0000 (08:42 +0100)]
info: protect skipMultipleSlashes against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: protect stripEOLs against invalid input and zero length
Ferry Huberts [Wed, 7 Dec 2016 23:12:16 +0000 (00:12 +0100)]
info: protect stripEOLs against invalid input and zero length

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: improve readability of the 'empty request' check
Ferry Huberts [Wed, 7 Dec 2016 21:24:35 +0000 (22:24 +0100)]
info: improve readability of the 'empty request' check

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: trival debug output fix
Ferry Huberts [Wed, 7 Dec 2016 21:20:50 +0000 (22:20 +0100)]
info: trival debug output fix

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: trivial comment fix
Ferry Huberts [Wed, 7 Dec 2016 21:16:26 +0000 (22:16 +0100)]
info: trivial comment fix

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: drain the request when there are too many requests in flight
Ferry Huberts [Wed, 7 Dec 2016 22:24:15 +0000 (23:24 +0100)]
info: drain the request when there are too many requests in flight

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: send everything on empty requests
Ferry Huberts [Thu, 8 Dec 2016 10:46:00 +0000 (11:46 +0100)]
info: send everything on empty requests

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: rework HTTP request detection and request sanitation
Ferry Huberts [Sat, 10 Dec 2016 16:53:28 +0000 (17:53 +0100)]
info: rework HTTP request detection and request sanitation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: ensure the request is initially empty
Ferry Huberts [Thu, 8 Dec 2016 10:34:40 +0000 (11:34 +0100)]
info: ensure the request is initially empty

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: java: upgrade gradle wrapper
Ferry Huberts [Tue, 3 Jan 2017 14:35:45 +0000 (15:35 +0100)]
info: java: upgrade gradle wrapper

The magical incantation is:
  gradle wrapper --gradle-version 3.2.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge branch 'release-0.9.5'
Ferry Huberts [Wed, 21 Dec 2016 22:35:39 +0000 (23:35 +0100)]
Merge branch 'release-0.9.5'

* release-0.9.5:
  main: blacklist UCLIBC for OLSR_HAVE_EXECINFO_H

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agomain: blacklist UCLIBC for OLSR_HAVE_EXECINFO_H
Ferry Huberts [Wed, 21 Dec 2016 22:24:02 +0000 (23:24 +0100)]
main: blacklist UCLIBC for OLSR_HAVE_EXECINFO_H

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge branch 'release-0.9.5'
Ferry Huberts [Wed, 21 Dec 2016 08:50:45 +0000 (09:50 +0100)]
Merge branch 'release-0.9.5'

* release-0.9.5:
  main: improve EXECINFO include handling a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agomain: improve EXECINFO include handling a bit
Ferry Huberts [Wed, 21 Dec 2016 08:38:05 +0000 (09:38 +0100)]
main: improve EXECINFO include handling a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge branch 'release-0.9.5'
Ferry Huberts [Tue, 6 Dec 2016 16:00:53 +0000 (17:00 +0100)]
Merge branch 'release-0.9.5'

* release-0.9.5:
  info: fix json Content-Type header
  txtinfo: do not use http headers by default

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: fix json Content-Type header
Ferry Huberts [Tue, 6 Dec 2016 15:43:16 +0000 (16:43 +0100)]
info: fix json Content-Type header

To comply with http://jsonapi.org/format/

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agotxtinfo: do not use http headers by default
Ferry Huberts [Tue, 6 Dec 2016 15:56:08 +0000 (16:56 +0100)]
txtinfo: do not use http headers by default

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge branch 'release-0.9.5'
Ferry Huberts [Mon, 5 Dec 2016 15:42:37 +0000 (16:42 +0100)]
Merge branch 'release-0.9.5'

* release-0.9.5:
  sgw: fix interface monitor for single-sgw mode

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agosgw: fix interface monitor for single-sgw mode
Ferry Huberts [Thu, 1 Dec 2016 17:08:14 +0000 (18:08 +0100)]
sgw: fix interface monitor for single-sgw mode

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agofix timing issues on systems where RAND_MAX is not INT32_MAX
Sebastian Wiedenroth [Mon, 24 Oct 2016 00:38:34 +0000 (00:38 +0000)]
fix timing issues on systems where RAND_MAX is not INT32_MAX

Signed-off-by: Sebastian Wiedenroth <wiedi@frubar.net>
3 years agomach: add wrapper for clock_gettime
Ferry Huberts [Wed, 30 Nov 2016 13:34:27 +0000 (14:34 +0100)]
mach: add wrapper for clock_gettime

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge branch 'release-0.9.5'
Ferry Huberts [Wed, 23 Nov 2016 16:54:37 +0000 (17:54 +0100)]
Merge branch 'release-0.9.5'

* release-0.9.5:
  release: adjust script to create multiple tar files
  changelog: adjust to put notes on top
  Update version after release of v0.9.5
  Release v0.9.5

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agorelease: adjust script to create multiple tar files
Ferry Huberts [Wed, 23 Nov 2016 16:36:31 +0000 (17:36 +0100)]
release: adjust script to create multiple tar files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agochangelog: adjust to put notes on top
Ferry Huberts [Wed, 23 Nov 2016 16:51:57 +0000 (17:51 +0100)]
changelog: adjust to put notes on top

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoUpdate version after release of v0.9.5
Henning Rogge [Tue, 22 Nov 2016 19:39:49 +0000 (20:39 +0100)]
Update version after release of v0.9.5

Signed-off-by: Henning Rogge <hrogge@gmail.com>
3 years agoRelease v0.9.5 v0.9.5
Henning Rogge [Tue, 22 Nov 2016 19:39:42 +0000 (20:39 +0100)]
Release v0.9.5

Signed-off-by: Henning Rogge <hrogge@gmail.com>
3 years agoUpdate version after branch of v0.9.5
Ferry Huberts [Mon, 21 Nov 2016 15:42:23 +0000 (16:42 +0100)]
Update version after branch of v0.9.5

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoBranch v0.9.5
Ferry Huberts [Mon, 21 Nov 2016 15:42:23 +0000 (16:42 +0100)]
Branch v0.9.5

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agorelease: fix the release script's git repository check
Ferry Huberts [Mon, 21 Nov 2016 15:41:14 +0000 (16:41 +0100)]
release: fix the release script's git repository check

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoohs_cmd: avoid compiler warning
Ferry Huberts [Mon, 24 Oct 2016 09:22:45 +0000 (11:22 +0200)]
ohs_cmd: avoid compiler warning

ohs_cmd.c:542:3: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoMerge pull request #2 from kakru/fix-shadow-error-in-pud
Ferry Huberts [Wed, 31 Aug 2016 13:10:29 +0000 (15:10 +0200)]
Merge pull request #2 from kakru/fix-shadow-error-in-pud

pud: fix of 'time' shadowing a global declaration

3 years agopud: fix of 'time' shadowing a global declaration (that causes a compilation error... 2/head
Karol Kruzelecki [Wed, 31 Aug 2016 12:27:28 +0000 (14:27 +0200)]
pud: fix of 'time' shadowing a global declaration (that causes a compilation error on older Ubuntu)

3 years agoinfo: release java OSGi bundles
Ferry Huberts [Wed, 10 Aug 2016 11:01:01 +0000 (13:01 +0200)]
info: release java OSGi bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agoinfo: integrate java OSGi bundles
Ferry Huberts [Wed, 10 Aug 2016 10:50:28 +0000 (12:50 +0200)]
info: integrate java OSGi bundles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: remove the instance of the nmea parser, no longer used
Ferry Huberts [Wed, 3 Aug 2016 05:40:49 +0000 (07:40 +0200)]
pud: remove the instance of the nmea parser, no longer used

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: fix extracting position information from gpsd
Ferry Huberts [Tue, 2 Aug 2016 13:47:59 +0000 (15:47 +0200)]
pud: fix extracting position information from gpsd

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: make sure to actually count inUse satellites (on older gpsd)
Ferry Huberts [Mon, 1 Aug 2016 10:27:52 +0000 (12:27 +0200)]
pud: make sure to actually count inUse satellites (on older gpsd)

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: update documentation
Ferry Huberts [Fri, 29 Jul 2016 11:39:18 +0000 (13:39 +0200)]
pud: update documentation

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: remove rx path
Ferry Huberts [Fri, 29 Jul 2016 08:37:28 +0000 (10:37 +0200)]
pud: remove rx path

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: hook up gpsd timer
Ferry Huberts [Fri, 29 Jul 2016 08:11:20 +0000 (10:11 +0200)]
pud: hook up gpsd timer

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: add gpsd functions
Ferry Huberts [Thu, 28 Jul 2016 19:51:44 +0000 (21:51 +0200)]
pud: add gpsd functions

This makes pud unsupported on android

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: use gpsd fetch timer
Ferry Huberts [Fri, 29 Jul 2016 07:56:54 +0000 (09:56 +0200)]
pud: use gpsd fetch timer

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: timers: add gpsd fetch timer functions
Ferry Huberts [Fri, 29 Jul 2016 07:53:09 +0000 (09:53 +0200)]
pud: timers: add gpsd fetch timer functions

The gps deamon needs to be read much faster than the update
time of 1 second in order to get a consistent set of gpsd data.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: add gpsd related configuration parameters
Ferry Huberts [Thu, 28 Jul 2016 21:10:53 +0000 (23:10 +0200)]
pud: add gpsd related configuration parameters

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: split a function
Ferry Huberts [Thu, 28 Jul 2016 17:57:48 +0000 (19:57 +0200)]
pud: split a function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: force a state change to moving when 'no info received' changes
Ferry Huberts [Thu, 28 Jul 2016 17:55:16 +0000 (19:55 +0200)]
pud: force a state change to moving when 'no info received' changes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: move to stationary on undetermined moving state
Ferry Huberts [Thu, 28 Jul 2016 17:24:27 +0000 (19:24 +0200)]
pud: move to stationary on undetermined moving state

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: minor layout fix
Ferry Huberts [Thu, 28 Jul 2016 17:21:16 +0000 (19:21 +0200)]
pud: minor layout fix

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: minor layout improvement
Ferry Huberts [Mon, 25 Jul 2016 08:17:20 +0000 (10:17 +0200)]
pud: minor layout improvement

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agojsoninfo: fix mistakes introduced in 0db233f
Ferry Huberts [Wed, 20 Jul 2016 13:29:47 +0000 (15:29 +0200)]
jsoninfo: fix mistakes introduced in 0db233f

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agohttpinfo: further adjustments for new nmealib
Ferry Huberts [Wed, 20 Jul 2016 13:02:56 +0000 (15:02 +0200)]
httpinfo: further adjustments for new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agohttpinfo: nmealib now sets year and month correctly
Ferry Huberts [Wed, 20 Jul 2016 11:47:20 +0000 (13:47 +0200)]
httpinfo: nmealib now sets year and month correctly

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agojsoninfo: further adjustments for new nmealib
Ferry Huberts [Wed, 20 Jul 2016 12:36:17 +0000 (14:36 +0200)]
jsoninfo: further adjustments for new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agojsoninfo: nmealib now sets year and month correctly
Ferry Huberts [Wed, 20 Jul 2016 11:47:10 +0000 (13:47 +0200)]
jsoninfo: nmealib now sets year and month correctly

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: further adjustments for new nmealib
Ferry Huberts [Wed, 20 Jul 2016 12:36:08 +0000 (14:36 +0200)]
pud: further adjustments for new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: nmealib now sets year and month correctly
Ferry Huberts [Wed, 20 Jul 2016 11:46:32 +0000 (13:46 +0200)]
pud: nmealib now sets year and month correctly

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
3 years agopud: nmealib: minor update
Ferry Huberts [Wed, 20 Jul 2016 10:47:11 +0000 (12:47 +0200)]
pud: nmealib: minor update

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>