olsrd.git
7 years agomDNS: better debug support for filtered hosts feature
Saverio Proto [Mon, 13 Aug 2012 20:03:17 +0000 (22:03 +0200)]
mDNS: better debug support for filtered hosts feature

7 years agomDNS: trivial, removed TODO from code for something that was implemented
Saverio Proto [Mon, 13 Aug 2012 19:40:41 +0000 (21:40 +0200)]
mDNS: trivial, removed TODO from code for something that was implemented

7 years agomDNS: init ListOfFilteredHosts in the proper place and not at every received packet
Saverio Proto [Mon, 13 Aug 2012 19:27:39 +0000 (21:27 +0200)]
mDNS: init ListOfFilteredHosts in the proper place and not at every received packet

7 years agomDNS: Change version of mdns plugin to 1.0.1 after GSoC 2012 work by Alessandro Gnagni
Saverio Proto [Wed, 30 May 2012 17:18:45 +0000 (19:18 +0200)]
mDNS: Change version of mdns plugin to 1.0.1 after GSoC 2012 work by Alessandro Gnagni

7 years agomDNS: trivial debug print fix and code readibility improvement
Saverio Proto [Sun, 12 Aug 2012 12:35:42 +0000 (14:35 +0200)]
mDNS: trivial debug print fix and code readibility improvement

7 years agomDNS: BUGFIX, mDNS plugin, hello message of router election not sent if debug = 0
Alessandro [Sun, 12 Aug 2012 11:12:31 +0000 (13:12 +0200)]
mDNS: BUGFIX, mDNS plugin, hello message of router election not sent if debug = 0

7 years agomDNS: Update checksum field of the IPv4 Header after altering TTL
Saverio Proto [Sat, 28 Jul 2012 16:10:38 +0000 (18:10 +0200)]
mDNS: Update checksum field of the IPv4 Header after altering TTL

7 years agomDNS: Reworked logic of router Election. The election is now handled on interface...
Alessandro [Thu, 26 Jul 2012 14:03:07 +0000 (16:03 +0200)]
mDNS: Reworked logic of router Election. The election is now handled on interface basis, because the router could have one interface where it needs to be master and another interface where it needs to be disabled. There was a logical bug in the earlier implementation.

7 years agomDNS: Updated README file for mDNS plugin
Alessandro [Wed, 18 Jul 2012 09:47:39 +0000 (11:47 +0200)]
mDNS: Updated README file for mDNS plugin

7 years agomDNS: Implemented Host Filtering for ipv4 and ipv6, writing in the config file which...
Alessandro [Sat, 14 Jul 2012 14:56:45 +0000 (16:56 +0200)]
mDNS: Implemented Host Filtering for ipv4 and ipv6, writing in the config file which hosts to ignore. The mDNS packets from the ignored hosts will be ignored and not propagated in the network

7 years agomDNS: Fix most of the warnings from the compiler
Saverio Proto [Fri, 20 Jul 2012 12:35:25 +0000 (14:35 +0200)]
mDNS: Fix most of the warnings from the compiler

7 years agomDNS: Implemented router election mechansim to have only 1 active mDNS OLSR router...
Alessandro Gnagni [Wed, 13 Jun 2012 15:48:32 +0000 (17:48 +0200)]
mDNS: Implemented router election mechansim to have only 1 active mDNS OLSR router in 1 LAN

Implemented IPv4 and IPv6 socket that should
capture the router election signalling packets (hellos)

Hellos are sent out with a timer

A second time triggers the router to decide if he is master

7 years agomDNS: review of Alessandro Gnagni patch, inserted a config value to enable or disable...
Alessandro Gnagni [Tue, 5 Jun 2012 07:20:46 +0000 (09:20 +0200)]
mDNS: review of Alessandro Gnagni patch, inserted a config value to enable or disable TTL check and change, default is enabled.

7 years agomDNS: Upgrading the container_of.h that was backported from src/common in master
Saverio Proto [Thu, 10 May 2012 07:50:03 +0000 (09:50 +0200)]
mDNS: Upgrading the container_of.h that was backported from src/common in master

A newer version is present in master and this commit makes the upgrade

7 years agomDNS: Skeleton code for new host filter feature in mDNS plugin
Saverio Proto [Tue, 8 May 2012 13:42:17 +0000 (15:42 +0200)]
mDNS: Skeleton code for new host filter feature in mDNS plugin

Skeleton code of the new feature of mDNS to filter
out some hosts to prevent forwarding of services
we dont want to propagate in the mesh

In the configuration file we can write which IP address we want to discard
and do not propagate in the mDNS flooding.

For example if I have Apple AirPort at home, do not giving out any service
I dont want those mDNS packets travelling in the all mesh network.

7 years agomDNS: Fixing loops for mDNS packets when mDNS plugin is misconfigured
Alessandro Gnagni [Sat, 5 May 2012 21:41:20 +0000 (23:41 +0200)]
mDNS: Fixing loops for mDNS packets when mDNS plugin is misconfigured

If two mDNS plug-in enabled OLSR routers are attached to the same HNA network, then mDNS packets will loop back and forth between the two, also flooding the whole OLSR network. For the moment the temporary solution to this problem was to enable the plug-in on one router at a time on the same HNA. A real implemented here is  the following:

    usually mDNS packets have a TTL != 1, so:
    capture only mDNS packets with TTL != 1
    when decapsulating mDNS packets, set TTL = 1
    where TTL is the IP Time-to-live field or the IPv6 HopLimit field

 * Modified code to forward mdns packet from HNA into OLSRd network changing TTL/Hlim to 1
 * Now the mDns plugin discard all packet from HNA that have TTL/Hlim equals to 1

7 years agoPUD: nmealib: use fully qualified path to ldconfig
Ferry Huberts [Thu, 9 Aug 2012 20:16:40 +0000 (22:16 +0200)]
PUD: nmealib: use fully qualified path to ldconfig

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux: rework usage of defines w.r.t. IPv6 tunnel
Ferry Huberts [Wed, 8 Aug 2012 12:31:58 +0000 (14:31 +0200)]
linux: rework usage of defines w.r.t. IPv6 tunnel

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux: name is required to be non-null in olsr_os_cleanup_iptunnel
Ferry Huberts [Wed, 8 Aug 2012 12:05:52 +0000 (14:05 +0200)]
linux: name is required to be non-null in olsr_os_cleanup_iptunnel

Mainly to get rid of TUNNEL_ENDPOINT_IF and TUNNEL_ENDPOINT_IF6
usage here.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agolinux: consolidate os_ip4_tunnel and os_ip6_tunnel
Ferry Huberts [Wed, 8 Aug 2012 12:25:17 +0000 (14:25 +0200)]
linux: consolidate os_ip4_tunnel and os_ip6_tunnel

the code was almost the same, so merge the functions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx
Ferry Huberts [Thu, 26 Jul 2012 14:15:21 +0000 (16:15 +0200)]
pud: add SmartGatewayWeightExitLink and SmartGatewayWeightEtx

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add exit link weighing
Ferry Huberts [Fri, 3 Aug 2012 09:16:41 +0000 (11:16 +0200)]
gateway: add exit link weighing

Only performed when the weighing factors are set

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: calculate with uint64_t i.s.o. olsr_linkcost
Ferry Huberts [Wed, 1 Aug 2012 10:30:41 +0000 (12:30 +0200)]
gateway: calculate with uint64_t i.s.o. olsr_linkcost

The next change needs larger numbers

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agocfg: add SmartGateway weighing parameters
Ferry Huberts [Fri, 3 Aug 2012 09:12:22 +0000 (11:12 +0200)]
cfg: add SmartGateway weighing parameters

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: cfg: mark BMF interface as non-persistent
Ferry Huberts [Fri, 3 Aug 2012 17:57:46 +0000 (19:57 +0200)]
pud: cfg: mark BMF interface as non-persistent

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agobmf: allow marking the BMF network interface as non-persistent
Ferry Huberts [Fri, 3 Aug 2012 17:53:30 +0000 (19:53 +0200)]
bmf: allow marking the BMF network interface as non-persistent

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agotc_set.c duplicate_set.c: small bug-fix - case ipv6 - ipwidth 30-->39
harald [Wed, 1 Aug 2012 15:29:25 +0000 (17:29 +0200)]
tc_set.c duplicate_set.c: small bug-fix - case ipv6 - ipwidth 30-->39

7 years agogateway: rename a variable
Ferry Huberts [Mon, 30 Jul 2012 13:07:08 +0000 (15:07 +0200)]
gateway: rename a variable

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: make smart gateway threshold parameter work properly.
Ferry Huberts [Mon, 30 Jul 2012 13:04:09 +0000 (15:04 +0200)]
gateway: make smart gateway threshold parameter work properly.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add helper function gw_default_calc_threshold
Ferry Huberts [Mon, 30 Jul 2012 11:07:52 +0000 (13:07 +0200)]
gateway: add helper function gw_default_calc_threshold

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: improve gw_default_update_handler a bit
Ferry Huberts [Mon, 30 Jul 2012 09:19:32 +0000 (11:19 +0200)]
gateway: improve gw_default_update_handler a bit

protect against a null pointer deref

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: update logic of gw_default_delete_handler
Ferry Huberts [Fri, 27 Jul 2012 10:24:56 +0000 (12:24 +0200)]
gateway: update logic of gw_default_delete_handler

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agojsoninfo: fix crash in /interfaces when olsrd is using a net interface that is not up
Hans-Christoph Steiner [Tue, 31 Jul 2012 17:42:35 +0000 (13:42 -0400)]
jsoninfo: fix crash in /interfaces when olsrd is using a net interface that is not up

7 years agopud: ignore zero bandwidth/uni-directional link gateways
Ferry Huberts [Wed, 25 Jul 2012 19:18:24 +0000 (21:18 +0200)]
pud: ignore zero bandwidth/uni-directional link gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: fix deserialisation of 0 in deserialize_gw_speed
Ferry Huberts [Wed, 25 Jul 2012 19:17:35 +0000 (21:17 +0200)]
gateway: fix deserialisation of 0 in deserialize_gw_speed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: ignore zero bandwidth and uni-directional links
Ferry Huberts [Wed, 25 Jul 2012 16:30:09 +0000 (18:30 +0200)]
gateway: ignore zero bandwidth and uni-directional links

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: ignore unreachable gateways
Ferry Huberts [Wed, 25 Jul 2012 16:28:16 +0000 (18:28 +0200)]
gateway: ignore unreachable gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: reset bandwidth to zero when no link speed is advertised
Ferry Huberts [Tue, 24 Jul 2012 15:42:58 +0000 (17:42 +0200)]
gateway: reset bandwidth to zero when no link speed is advertised

in olsr_update_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: minor simplification to olsr_set_inet_gateway
Ferry Huberts [Tue, 24 Jul 2012 15:33:57 +0000 (17:33 +0200)]
gateway: minor simplification to olsr_set_inet_gateway

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: minor simplification to olsr_delete_gateway_entry
Ferry Huberts [Tue, 24 Jul 2012 15:33:11 +0000 (17:33 +0200)]
gateway: minor simplification to olsr_delete_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: remove an unused variable in olsr_update_gateway_entry
Ferry Huberts [Tue, 24 Jul 2012 15:32:39 +0000 (17:32 +0200)]
gateway: remove an unused variable in olsr_update_gateway_entry

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: minor simplification to olsr_trigger_gatewayloss_check
Ferry Huberts [Tue, 24 Jul 2012 15:32:17 +0000 (17:32 +0200)]
gateway: minor simplification to olsr_trigger_gatewayloss_check

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add some asserts on gw_handler
Ferry Huberts [Tue, 24 Jul 2012 15:30:24 +0000 (17:30 +0200)]
gateway: add some asserts on gw_handler

7 years agogateway: initialise all variables in olsr_init_gateways
Ferry Huberts [Tue, 24 Jul 2012 15:29:28 +0000 (17:29 +0200)]
gateway: initialise all variables in olsr_init_gateways

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add and update lots of comments
Ferry Huberts [Tue, 24 Jul 2012 15:28:52 +0000 (17:28 +0200)]
gateway: add and update lots of comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: introduce OLSR_IP_ADDR_2_HNA_PTR helper
Ferry Huberts [Tue, 24 Jul 2012 15:26:08 +0000 (17:26 +0200)]
gateway: introduce OLSR_IP_ADDR_2_HNA_PTR helper

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: simplify and inline olsr_find_gateway_entry
Ferry Huberts [Thu, 19 Jul 2012 15:00:32 +0000 (17:00 +0200)]
gateway: simplify and inline olsr_find_gateway_entry

node2gateway already takes care of NULL

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: simplify deserialize_gw_speed
Ferry Huberts [Wed, 18 Jul 2012 16:40:51 +0000 (18:40 +0200)]
gateway: simplify deserialize_gw_speed

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: remove some unused code in refresh_smartgw_netmask
Ferry Huberts [Wed, 18 Jul 2012 16:40:31 +0000 (18:40 +0200)]
gateway: remove some unused code in refresh_smartgw_netmask

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: reorder functions
Ferry Huberts [Wed, 18 Jul 2012 13:53:19 +0000 (15:53 +0200)]
gateway: reorder functions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add some comments
Ferry Huberts [Wed, 18 Jul 2012 13:28:46 +0000 (15:28 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: make olsr_find_gateway_entry static
Ferry Huberts [Wed, 18 Jul 2012 08:42:41 +0000 (10:42 +0200)]
gateway: make olsr_find_gateway_entry static

it is only used in gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: make olsr_trigger_inetgw_selection
Ferry Huberts [Wed, 18 Jul 2012 08:40:18 +0000 (10:40 +0200)]
gateway: make olsr_trigger_inetgw_selection

it is only used in gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: make refresh_smartgw_netmask static
Ferry Huberts [Wed, 18 Jul 2012 08:38:47 +0000 (10:38 +0200)]
gateway: make refresh_smartgw_netmask static

it is only used with gateway.c

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: let init and cleanup functions take the name as parameter
Ferry Huberts [Thu, 21 Jun 2012 13:25:48 +0000 (15:25 +0200)]
gateway: let init and cleanup functions take the name as parameter

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: minor simplification
Ferry Huberts [Tue, 17 Jul 2012 13:36:20 +0000 (15:36 +0200)]
gateway: minor simplification

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add some comments
Ferry Huberts [Tue, 17 Jul 2012 13:35:35 +0000 (15:35 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: add some comments
Ferry Huberts [Tue, 17 Jul 2012 11:04:02 +0000 (13:04 +0200)]
gateway: add some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: fixup includes
Ferry Huberts [Tue, 17 Jul 2012 11:03:49 +0000 (13:03 +0200)]
gateway: fixup includes

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: split variable declarations
Ferry Huberts [Tue, 17 Jul 2012 11:01:50 +0000 (13:01 +0200)]
gateway: split variable declarations

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: use the same 'ifdef linux' and the header and source file
Ferry Huberts [Tue, 17 Jul 2012 11:01:23 +0000 (13:01 +0200)]
gateway: use the same 'ifdef linux' and the header and source file

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: remove an unused include
Ferry Huberts [Tue, 17 Jul 2012 11:01:00 +0000 (13:01 +0200)]
gateway: remove an unused include

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: make olsr_gw_default_lookup_gateway function static
Ferry Huberts [Tue, 17 Jul 2012 10:55:22 +0000 (12:55 +0200)]
gateway: make olsr_gw_default_lookup_gateway function static

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: shift up the #ifdef linux
Ferry Huberts [Tue, 17 Jul 2012 10:50:14 +0000 (12:50 +0200)]
gateway: shift up the #ifdef linux

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: initialise variables in the declaration order
Ferry Huberts [Tue, 17 Jul 2012 10:50:34 +0000 (12:50 +0200)]
gateway: initialise variables in the declaration order

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: reorder functions
Ferry Huberts [Thu, 31 May 2012 12:37:22 +0000 (14:37 +0200)]
gateway: reorder functions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agobugfix: set_nameservice_float() writes a float, not a double.
Lars Kruse [Tue, 24 Jul 2012 14:31:05 +0000 (16:31 +0200)]
bugfix: set_nameservice_float() writes a float, not a double.

as reported in http://olsr.org/bugs/view.php?id=33 I noticed that the timeout
parameter of the namespace plugin is _almost_ ignored.
The simple cause is a type mismatch (double/float).

Attached you find the trivial patch that solves the problem for me.

7 years agoandroid: port linux make 'prefix' work
Ferry Huberts [Tue, 24 Jul 2012 13:51:53 +0000 (15:51 +0200)]
android: port linux make 'prefix' work

So that
  make NDK_BASE="<some path>/android-ndk-r8" \
       OS="android" \
       DESTDIR="$(pwd)/dist" \
       DEBUG=0 \
       OPTIMIZE="-O2" \
       build_all install_all
works again

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: statically link nmealib if PUD_NMEALIB_STATICALLY_LINKED is defined
Ferry Huberts [Fri, 20 Jul 2012 08:31:50 +0000 (10:31 +0200)]
pud: statically link nmealib if PUD_NMEALIB_STATICALLY_LINKED is defined

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: nmealib: also build a static library
Ferry Huberts [Fri, 20 Jul 2012 07:59:40 +0000 (09:59 +0200)]
pud: nmealib: also build a static library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agoandroid: update comment describing build command line for correctness
Hans-Christoph Steiner [Thu, 19 Jul 2012 20:36:53 +0000 (16:36 -0400)]
android: update comment describing build command line for correctness

7 years agoman: fix a minor issue in the man page
Ferry Huberts [Thu, 19 Jul 2012 20:17:20 +0000 (22:17 +0200)]
man: fix a minor issue in the man page

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: only advertise linkspeed when the link is bi-directional
Ferry Huberts [Wed, 18 Jul 2012 16:28:48 +0000 (18:28 +0200)]
gateway: only advertise linkspeed when the link is bi-directional

Uni-directional links produce all kinds of funky network behaviour.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: fix serialize_gw_speed
Ferry Huberts [Thu, 19 Jul 2012 07:46:48 +0000 (09:46 +0200)]
gateway: fix serialize_gw_speed

Values over 320000000 would serialize to 0, which is not correct,
since they should be clipped to the maximum value of the
serialization range.

v2: unchanged, sent with another patch

v3: values 100000000 and 200000000 would result in an exponent of 8,
    which is out-of-range for the exponent.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: nmealib: increase the number of satellites
Ferry Huberts [Thu, 19 Jul 2012 07:34:06 +0000 (09:34 +0200)]
pud: nmealib: increase the number of satellites

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agogateway: fix lazy gateway selection
Ferry Huberts [Tue, 17 Jul 2012 13:38:56 +0000 (15:38 +0200)]
gateway: fix lazy gateway selection

Only an increase in the number of gateway nodes was seen as a network
in flux. A decrease in the number of gateway nodes was not taken into
account.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agomain: fix a typo
Ferry Huberts [Wed, 18 Jul 2012 08:37:36 +0000 (10:37 +0200)]
main: fix a typo

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: position: also show satellite information when available
Ferry Huberts [Mon, 16 Jul 2012 15:25:05 +0000 (17:25 +0200)]
httpinfo: position: also show satellite information when available

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: make sure to put track, mtrack and magvar in the cumulative
Ferry Huberts [Mon, 16 Jul 2012 16:00:40 +0000 (18:00 +0200)]
pud: posavg: make sure to put track, mtrack and magvar in the cumulative

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: don't add an angle if it is not present
Ferry Huberts [Mon, 16 Jul 2012 15:59:51 +0000 (17:59 +0200)]
pud: posavg: don't add an angle if it is not present

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: minor simplification
Ferry Huberts [Mon, 16 Jul 2012 15:56:39 +0000 (17:56 +0200)]
pud: posavg: minor simplification

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: posavg: fix typo in calculateAngle
Ferry Huberts [Mon, 16 Jul 2012 15:55:57 +0000 (17:55 +0200)]
pud: posavg: fix typo in calculateAngle

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: include nmealib v1.0.1
Ferry Huberts [Mon, 16 Jul 2012 13:41:44 +0000 (15:41 +0200)]
pud: include nmealib v1.0.1

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: fix angle averaging
Ferry Huberts [Mon, 16 Jul 2012 09:14:47 +0000 (11:14 +0200)]
pud: fix angle averaging

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: switch to syslog logging on successful loading of plugin
Ferry Huberts [Mon, 16 Jul 2012 10:32:07 +0000 (12:32 +0200)]
pud: switch to syslog logging on successful loading of plugin

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: allow logging to syslog
Ferry Huberts [Mon, 16 Jul 2012 09:44:52 +0000 (11:44 +0200)]
pud: allow logging to syslog

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: simplify pudError a bit
Ferry Huberts [Mon, 16 Jul 2012 09:43:11 +0000 (11:43 +0200)]
pud: simplify pudError a bit

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: hook up the nmea library error callback
Ferry Huberts [Mon, 16 Jul 2012 09:25:47 +0000 (11:25 +0200)]
pud: hook up the nmea library error callback

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: minor simplification to receiver
Ferry Huberts [Mon, 16 Jul 2012 08:57:04 +0000 (10:57 +0200)]
pud: minor simplification to receiver

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: upgrade doxygen configuration files
Ferry Huberts [Mon, 16 Jul 2012 08:04:18 +0000 (10:04 +0200)]
pud: upgrade doxygen configuration files

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: it's 'Magnetic Variation', not 'Magnetic Variance'
Ferry Huberts [Mon, 16 Jul 2012 07:23:47 +0000 (09:23 +0200)]
pud: it's 'Magnetic Variation', not 'Magnetic Variance'

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: fix some comments
Ferry Huberts [Mon, 16 Jul 2012 08:04:44 +0000 (10:04 +0200)]
pud: fix some comments

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: adjust to new nmealib
Ferry Huberts [Sat, 14 Jul 2012 11:21:37 +0000 (13:21 +0200)]
pud: adjust to new nmealib

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: include nmealib v1.0.0
Ferry Huberts [Fri, 13 Jul 2012 16:14:22 +0000 (18:14 +0200)]
pud: include nmealib v1.0.0

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: remove inlining from wireformat library
Ferry Huberts [Sat, 14 Jul 2012 11:57:00 +0000 (13:57 +0200)]
pud: remove inlining from wireformat library

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agopud: minor simplification in posAvg
Ferry Huberts [Sat, 14 Jul 2012 09:59:40 +0000 (11:59 +0200)]
pud: minor simplification in posAvg

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: update includes for pud
Ferry Huberts [Sat, 14 Jul 2012 09:50:44 +0000 (11:50 +0200)]
httpinfo: update includes for pud

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: update pud signal descriptions
Ferry Huberts [Sat, 14 Jul 2012 09:46:30 +0000 (11:46 +0200)]
httpinfo: update pud signal descriptions

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: minor simplification in pud body function
Ferry Huberts [Sat, 14 Jul 2012 09:43:39 +0000 (11:43 +0200)]
httpinfo: minor simplification in pud body function

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
7 years agohttpinfo: decrease pud nodeId buffer size
Ferry Huberts [Sat, 14 Jul 2012 09:42:38 +0000 (11:42 +0200)]
httpinfo: decrease pud nodeId buffer size

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