olsrd.git
8 years agoPUD: remove rx sockets from OLSR when closing interfaces
Ferry Huberts [Wed, 28 Sep 2011 09:16:21 +0000 (11:16 +0200)]
PUD: remove rx sockets from OLSR when closing interfaces

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: move setupNodeInfoForOlsr into gpsConversion
Ferry Huberts [Thu, 4 Aug 2011 15:02:47 +0000 (17:02 +0200)]
PUD: move setupNodeInfoForOlsr into gpsConversion

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add nodeIdType parameter to setupNodeInfoForOlsr
Ferry Huberts [Thu, 4 Aug 2011 14:21:11 +0000 (16:21 +0200)]
PUD: add nodeIdType parameter to setupNodeInfoForOlsr

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: rename some function parameters
Ferry Huberts [Thu, 4 Aug 2011 14:11:38 +0000 (16:11 +0200)]
PUD: rename some function parameters

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add an assert
Ferry Huberts [Thu, 4 Aug 2011 12:39:13 +0000 (14:39 +0200)]
PUD: add an assert

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: remove some unneeded error reports
Ferry Huberts [Thu, 4 Aug 2011 13:24:25 +0000 (15:24 +0200)]
PUD: remove some unneeded error reports

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getNodeIdPointers function
Ferry Huberts [Thu, 4 Aug 2011 13:24:12 +0000 (15:24 +0200)]
PUD: add getNodeIdPointers function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: update 2 error reports
Ferry Huberts [Thu, 4 Aug 2011 11:30:39 +0000 (13:30 +0200)]
PUD: update 2 error reports

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getOlsrSockAddrAndPort helper function
Ferry Huberts [Thu, 4 Aug 2011 11:30:11 +0000 (12:30 +0100)]
PUD: add getOlsrSockAddrAndPort helper function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getOlsrSockaddrPort helper function
Ferry Huberts [Thu, 4 Aug 2011 11:29:34 +0000 (12:29 +0100)]
PUD: add getOlsrSockaddrPort helper function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getOlsrMessagePayload function
Ferry Huberts [Thu, 4 Aug 2011 11:23:05 +0000 (12:23 +0100)]
PUD: add getOlsrMessagePayload function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getOlsrMessageSize function
Ferry Huberts [Thu, 4 Aug 2011 11:17:00 +0000 (13:17 +0200)]
PUD: add getOlsrMessageSize function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getOlsrMessageOriginator function
Ferry Huberts [Thu, 4 Aug 2011 11:16:02 +0000 (13:16 +0200)]
PUD: add getOlsrMessageOriginator function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add some comments
Ferry Huberts [Thu, 4 Aug 2011 11:10:39 +0000 (13:10 +0200)]
PUD: add some comments

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: move (un)likely macros into compiler.h
Ferry Huberts [Thu, 4 Aug 2011 11:56:41 +0000 (13:56 +0200)]
PUD: move (un)likely macros into compiler.h

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fix a comment
Ferry Huberts [Thu, 4 Aug 2011 08:55:38 +0000 (10:55 +0200)]
PUD: fix a comment

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: add getNodeIdType function
Ferry Huberts [Thu, 18 Aug 2011 13:10:50 +0000 (15:10 +0200)]
PUD: add getNodeIdType function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: split getNodeInfoFromOlsr
Ferry Huberts [Thu, 4 Aug 2011 11:54:03 +0000 (13:54 +0200)]
PUD: split getNodeInfoFromOlsr

into getNodeTypeStringFromOlsr and getNodeIdStringFromOlsr

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: push olsrMessagePayload determination down into getNodeInfoFromOlsr
Ferry Huberts [Wed, 3 Aug 2011 14:18:23 +0000 (16:18 +0200)]
PUD: push olsrMessagePayload determination down into getNodeInfoFromOlsr

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: push olsrMessagePayload determination down into gpsFromOlsr
Ferry Huberts [Wed, 3 Aug 2011 14:13:10 +0000 (16:13 +0200)]
PUD: push olsrMessagePayload determination down into gpsFromOlsr

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: move PUD_OLSR_MSG_TYPE into gpsConversion
Ferry Huberts [Wed, 3 Aug 2011 11:33:53 +0000 (13:33 +0200)]
PUD: move PUD_OLSR_MSG_TYPE into gpsConversion

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: make getNodeInfoFromOlsr a bit more flexible
Ferry Huberts [Tue, 2 Aug 2011 15:08:41 +0000 (17:08 +0200)]
PUD: make getNodeInfoFromOlsr a bit more flexible

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: update doc makefiles
Ferry Huberts [Fri, 5 Aug 2011 12:07:37 +0000 (14:07 +0200)]
PUD: update doc makefiles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: make git version optional
Ferry Huberts [Fri, 5 Aug 2011 12:01:40 +0000 (14:01 +0200)]
PUD: make git version optional

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: remove git version from makefiles
Ferry Huberts [Fri, 5 Aug 2011 11:51:26 +0000 (13:51 +0200)]
PUD: remove git version from makefiles

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: remove unneeded links to library
Ferry Huberts [Thu, 18 Aug 2011 12:06:31 +0000 (14:06 +0200)]
PUD: remove unneeded links to library

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Thu, 18 Aug 2011 11:54:41 +0000 (13:54 +0200)]
Merge branch 'stable' into pud

* stable:
  Linux: correctly set plugin library soname

8 years agoLinux: correctly set plugin library soname
Ferry Huberts [Thu, 18 Aug 2011 11:52:28 +0000 (13:52 +0200)]
Linux: correctly set plugin library soname

By convention, non-core libraries should start with the 'lib'
prefix on Linux systems. Currently this is not the case for the
olsrd plugin libraries.

Since renaming the libraries would break all configurations,
the soname of an olsrd plugin library is now correctly set
with the 'lib' prefix so that an 'ldconfig -l <library>' will
create the correct link.

This patch fixes the issue for Linux only, other platforms
are not touched since I don't have those platforms available.

To completely fix the issue, PLUGIN_FULLNAME must be set as:
  PLUGIN_FULLNAME ?= lib$(PLUGIN_NAME).so.$(PLUGIN_VER)
Doing this will rename all olsrd plugin libraries.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: further improve Makefile
Ferry Huberts [Wed, 17 Aug 2011 11:30:35 +0000 (13:30 +0200)]
PUD: further improve Makefile

strip the installed library, not the built library

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: improve makefile
Ferry Huberts [Fri, 5 Aug 2011 14:56:40 +0000 (16:56 +0200)]
PUD: improve makefile

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
8 years agoPUD: add eclipse project files
Ferry Huberts [Mon, 15 Aug 2011 08:12:39 +0000 (10:12 +0200)]
PUD: add eclipse project files

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: increase the dedup depth
Ferry Huberts [Wed, 17 Aug 2011 08:36:55 +0000 (10:36 +0200)]
PUD: increase the dedup depth

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Thu, 11 Aug 2011 12:18:11 +0000 (14:18 +0200)]
Merge branch 'stable' into pud

* stable: (23 commits)
  build: do not print full commandlines
  Makefile: sort plugins
  Makefile: add uninstall targets
  mini: add uninstall target
  p2pd: add uninstall target
  p2pd: add to Makefile
  watchdog: add uninstall target
  txtinfo: add uninstall target
  tas: add uninstall target
  secure: add uninstall target
  quagga: add uninstall target
  pgraph: add uninstall target
  nameservice: add uninstall target
  mdns: add uninstall target
  httpinfo: add uninstall target
  dyn_gw_plain: add uninstall target
  dyn_gw: add uninstall target
  dot_draw: add uninstall target
  bmf: add uninstall target
  arprefresh: add uninstall target
  ...

8 years agoPUD: add uninstall target
Ferry Huberts [Tue, 26 Jul 2011 07:51:27 +0000 (09:51 +0200)]
PUD: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fix comment in example config file
Ferry Huberts [Thu, 11 Aug 2011 11:16:49 +0000 (13:16 +0200)]
PUD: fix comment in example config file

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agobuild: do not print full commandlines
Ferry Huberts [Tue, 26 Jul 2011 15:08:26 +0000 (17:08 +0200)]
build: do not print full commandlines

Make the build less verbose, just print [CC] when compiling
and [LD] when linking.

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMakefile: sort plugins
Ferry Huberts [Mon, 25 Jul 2011 14:26:42 +0000 (16:26 +0200)]
Makefile: sort plugins

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMakefile: add uninstall targets
Ferry Huberts [Mon, 25 Jul 2011 14:21:48 +0000 (16:21 +0200)]
Makefile: add uninstall targets

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agomini: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:21:18 +0000 (16:21 +0200)]
mini: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:20:23 +0000 (16:20 +0200)]
p2pd: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agop2pd: add to Makefile
Ferry Huberts [Mon, 25 Jul 2011 14:19:55 +0000 (16:19 +0200)]
p2pd: add to Makefile

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agowatchdog: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:56 +0000 (16:17 +0200)]
watchdog: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agotxtinfo: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:38 +0000 (16:17 +0200)]
txtinfo: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agotas: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:25 +0000 (16:17 +0200)]
tas: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agosecure: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:17:14 +0000 (16:17 +0200)]
secure: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoquagga: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:16:59 +0000 (16:16 +0200)]
quagga: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agopgraph: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:16:36 +0000 (16:16 +0200)]
pgraph: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agonameservice: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:56 +0000 (16:15 +0200)]
nameservice: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agomdns: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:23 +0000 (16:15 +0200)]
mdns: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agohttpinfo: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:15:08 +0000 (16:15 +0200)]
httpinfo: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agodyn_gw_plain: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:43 +0000 (16:14 +0200)]
dyn_gw_plain: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agodyn_gw: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:25 +0000 (16:14 +0200)]
dyn_gw: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agodot_draw: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:14:10 +0000 (16:14 +0200)]
dot_draw: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agobmf: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:13:51 +0000 (16:13 +0200)]
bmf: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoarprefresh: add uninstall target
Ferry Huberts [Mon, 25 Jul 2011 14:13:24 +0000 (16:13 +0200)]
arprefresh: add uninstall target

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMakefiles: define UNINSTALL_LIB macro
Ferry Huberts [Mon, 25 Jul 2011 14:09:24 +0000 (16:09 +0200)]
Makefiles: define UNINSTALL_LIB macro

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agofree rt_entry when deleting route
Markus Kittenberger [Wed, 10 Aug 2011 17:20:42 +0000 (17:20 +0000)]
free rt_entry when deleting route

8 years agoUpdated CHANGELOG with note about fixes for byte ordering.
Rusty Haddock [Fri, 5 Aug 2011 23:11:12 +0000 (18:11 -0500)]
Updated CHANGELOG with note about fixes for byte ordering.
Modified LoadPlugin configuration line in README_SECURE to use
use .so.0.6 instead of .so.0.5.  Again, to correspond with
my byte ordering fixes.

8 years agoPUD: fix build when PUD_DUMP_GPS_PACKETS_TX_OLSR is defined
Ferry Huberts [Tue, 2 Aug 2011 09:37:28 +0000 (11:37 +0200)]
PUD: fix build when PUD_DUMP_GPS_PACKETS_TX_OLSR is defined

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fix compilation without debug
Ferry Huberts [Tue, 26 Jul 2011 13:23:56 +0000 (15:23 +0200)]
PUD: fix compilation without debug

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoMerge branch 'stable' into pud
Ferry Huberts [Mon, 25 Jul 2011 12:40:22 +0000 (14:40 +0200)]
Merge branch 'stable' into pud

* stable:
  Remove 'destination == gateway' routes workaround - should be fixed with new Quagga patch
  Update Quagga 0.99.x patch to version 0.99.18
  Bumped library version to 0.6 because of the serious differences. This means that your 'olsrd.conf' files will need to be modified as well to (ab)use the new library.
  Removed the code that I changed & commented out per request from Henning.
  Adjustments made to ensure data going out is converted to network byte ordering.  Also, to ensure incoming data is converted before it is used and before checksums are calculated as well. 06/06/2011 - Rusty Haddock AE5AE -- for the HSMM-MESH project.
  Makefile.inc: remove duplicate -Wpointer-arith
  add /2hop command to txtinfo

8 years agoPUD: introduce TimedTxInterface
Ferry Huberts [Mon, 18 Jul 2011 11:53:34 +0000 (13:53 +0200)]
PUD: introduce TimedTxInterface

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: move nodeId validation into configuration
Ferry Huberts [Thu, 21 Jul 2011 10:05:40 +0000 (12:05 +0200)]
PUD: move nodeId validation into configuration

And move the nodeId number cache in there as well

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: use nmea_time_now
Ferry Huberts [Wed, 20 Jul 2011 11:30:45 +0000 (13:30 +0200)]
PUD: use nmea_time_now

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: nmeaTools functions are now part of nmealib
Ferry Huberts [Wed, 20 Jul 2011 11:20:48 +0000 (12:20 +0100)]
PUD: nmeaTools functions are now part of nmealib

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: remove PUD_HWADDR_SIZE, just use IFHWADDRLEN
Ferry Huberts [Thu, 21 Jul 2011 09:59:28 +0000 (10:59 +0100)]
PUD: remove PUD_HWADDR_SIZE, just use IFHWADDRLEN

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: fix nodeIdPreTransmitHook for MAC address usage
Ferry Huberts [Thu, 21 Jul 2011 09:53:50 +0000 (11:53 +0200)]
PUD: fix nodeIdPreTransmitHook for MAC address usage

It did not copy the correct number of bytes

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: move OLSR tx timer into timers.{c,h}
Ferry Huberts [Thu, 14 Jul 2011 13:03:00 +0000 (15:03 +0200)]
PUD: move OLSR tx timer into timers.{c,h}

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: debug: only dump packet when sent successfully
Ferry Huberts [Mon, 18 Jul 2011 11:10:18 +0000 (13:10 +0200)]
PUD: debug: only dump packet when sent successfully

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: only do a single loopback
Ferry Huberts [Mon, 18 Jul 2011 11:09:07 +0000 (13:09 +0200)]
PUD: only do a single loopback

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: only use transmitGpsInformation while mutex is locked
Ferry Huberts [Mon, 18 Jul 2011 07:56:46 +0000 (09:56 +0200)]
PUD: only use transmitGpsInformation while mutex is locked

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
8 years agoPUD: minor comment fix
Ferry Huberts [Thu, 14 Jul 2011 13:21:51 +0000 (15:21 +0200)]
PUD: minor comment fix

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoRemove 'destination == gateway' routes workaround - should be fixed with new Quagga...
Vasilis Tsiligiannis [Wed, 13 Jul 2011 18:19:39 +0000 (21:19 +0300)]
Remove 'destination == gateway' routes workaround - should be fixed with new Quagga patch

9 years agoUpdate Quagga 0.99.x patch to version 0.99.18
Vasilis Tsiligiannis [Wed, 13 Jul 2011 18:17:20 +0000 (21:17 +0300)]
Update Quagga 0.99.x patch to version 0.99.18

9 years agoPUD: rename receive_timer to olsr_tx_timer
Ferry Huberts [Wed, 13 Jul 2011 10:47:49 +0000 (12:47 +0200)]
PUD: rename receive_timer to olsr_tx_timer

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: introduce getNodeIdAsNumber
Ferry Huberts [Tue, 12 Jul 2011 11:39:39 +0000 (13:39 +0200)]
PUD: introduce getNodeIdAsNumber

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: move PUD_PLUGIN_INTERFACE_VERSION into pudOlsrdPlugin
Ferry Huberts [Tue, 12 Jul 2011 10:02:05 +0000 (12:02 +0200)]
PUD: move PUD_PLUGIN_INTERFACE_VERSION into pudOlsrdPlugin

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: clean up includes
Ferry Huberts [Tue, 12 Jul 2011 10:01:32 +0000 (12:01 +0200)]
PUD: clean up includes

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: introduce wireFormat.c
Ferry Huberts [Wed, 6 Jul 2011 07:18:38 +0000 (09:18 +0200)]
PUD: introduce wireFormat.c

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: make all variables static
Ferry Huberts [Wed, 6 Jul 2011 11:56:50 +0000 (13:56 +0200)]
PUD: make all variables static

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: de-anonymise some structs
Ferry Huberts [Wed, 6 Jul 2011 07:14:57 +0000 (09:14 +0200)]
PUD: de-anonymise some structs

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: improve reset of movement result in detemineMoving
Ferry Huberts [Wed, 6 Jul 2011 08:18:09 +0000 (10:18 +0200)]
PUD: improve reset of movement result in detemineMoving

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: move NodeIdType into wireFormat
Ferry Huberts [Wed, 6 Jul 2011 07:17:52 +0000 (09:17 +0200)]
PUD: move NodeIdType into wireFormat

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: move nodeIdPreTransmitHook into receiver
Ferry Huberts [Wed, 6 Jul 2011 07:15:30 +0000 (09:15 +0200)]
PUD: move nodeIdPreTransmitHook into receiver

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: move PUD_TX_SENTENCE_VERSION into gpsConversion
Ferry Huberts [Wed, 6 Jul 2011 07:17:06 +0000 (09:17 +0200)]
PUD: move PUD_TX_SENTENCE_VERSION into gpsConversion

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: restart timer on an 'extra' (external) position update
Ferry Huberts [Mon, 4 Jul 2011 07:49:50 +0000 (09:49 +0200)]
PUD: restart timer on an 'extra' (external) position update

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: also do an immediate transmit when we updated the position
Ferry Huberts [Thu, 30 Jun 2011 15:58:31 +0000 (17:58 +0200)]
PUD: also do an immediate transmit when we updated the position

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: always update transmit position when new position is better
Ferry Huberts [Thu, 30 Jun 2011 15:22:50 +0000 (17:22 +0200)]
PUD: always update transmit position when new position is better

better : new position with DOPs is fully inside transmit position
         with DOPs

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: rework detemineMoving function
Ferry Huberts [Thu, 30 Jun 2011 15:20:25 +0000 (17:20 +0200)]
PUD: rework detemineMoving function

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoBumped library version to 0.6 because of the serious differences.
Rusty Haddock [Sat, 2 Jul 2011 20:37:07 +0000 (15:37 -0500)]
Bumped library version to 0.6 because of the serious differences.
This means that your 'olsrd.conf' files will need to be modified
as well to (ab)use the new library.

9 years agoRemoved the code that I changed & commented out per request from Henning.
Rusty Haddock [Sat, 2 Jul 2011 19:01:23 +0000 (14:01 -0500)]
Removed the code that I changed & commented out per request from Henning.

9 years agoAdjustments made to ensure data going out is converted to network
Rusty Haddock [Fri, 1 Jul 2011 21:35:26 +0000 (16:35 -0500)]
Adjustments made to ensure data going out is converted to network
byte ordering.  Also, to ensure incoming data is converted before
it is used and before checksums are calculated as well.
06/06/2011 - Rusty Haddock AE5AE -- for the HSMM-MESH project.

9 years agoMakefile.inc: remove duplicate -Wpointer-arith
Ferry Huberts [Thu, 30 Jun 2011 15:44:00 +0000 (17:44 +0200)]
Makefile.inc: remove duplicate -Wpointer-arith

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: de-anonymise some structs
Ferry Huberts [Thu, 30 Jun 2011 14:32:12 +0000 (16:32 +0200)]
PUD: de-anonymise some structs

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: update a function comment
Ferry Huberts [Tue, 28 Jun 2011 13:44:08 +0000 (15:44 +0200)]
PUD: update a function comment

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: introduce positionValid
Ferry Huberts [Tue, 28 Jun 2011 13:43:55 +0000 (15:43 +0200)]
PUD: introduce positionValid

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: clear distinction between internal and external state
Ferry Huberts [Tue, 28 Jun 2011 11:23:53 +0000 (13:23 +0200)]
PUD: clear distinction between internal and external state

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: push invalid determination down into txToAllOlsrInterfaces
Ferry Huberts [Tue, 28 Jun 2011 11:24:34 +0000 (13:24 +0200)]
PUD: push invalid determination down into txToAllOlsrInterfaces

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: get rid of INIT state, just start in MOVING
Ferry Huberts [Tue, 28 Jun 2011 10:40:53 +0000 (12:40 +0200)]
PUD: get rid of INIT state, just start in MOVING

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>
9 years agoPUD: store a PositionUpdateEntry in TransmitGpsInformation
Ferry Huberts [Tue, 28 Jun 2011 10:24:41 +0000 (12:24 +0200)]
PUD: store a PositionUpdateEntry in TransmitGpsInformation

Instead of bare nmeaINFO

Signed-off-by: Ferry Huberts <f.huberts@mindef.nl>