]>
the.earth.li Git - mqtt-arp.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
claes [Sat, 10 Jun 2023 20:01:43 +0000 (22:01 +0200)]
Make the config file overridable
Jonathan McDowell [Sat, 12 Feb 2022 17:58:25 +0000 (17:58 +0000)]
Add missing debian/source/format indicating we're a native package
Jonathan McDowell [Wed, 9 Feb 2022 19:37:15 +0000 (19:37 +0000)]
Add initial Debian packaging
Basic packaging for Debian, including a systemd unit file.
Jonathan McDowell [Wed, 9 Feb 2022 18:33:35 +0000 (18:33 +0000)]
Allow CC/CFLAGS/LDFLAGS to be overriden in Makefile
Helpful when building a package.
Jonathan McDowell [Wed, 9 Feb 2022 18:31:41 +0000 (18:31 +0000)]
Add a basic install target to the Makefile
Helpful when building a package.
Jonathan McDowell [Wed, 23 Sep 2020 08:14:38 +0000 (09:14 +0100)]
Fix option parsing on some platforms (e.g. ARM)
getopt_long returns an int, not a char, and on some platforms we hit
issues with the sign extension as a result. Do it properly.
Fixes #2
Jonathan McDowell [Tue, 18 Sep 2018 19:19:15 +0000 (20:19 +0100)]
Add README.md
Jonathan McDowell [Sat, 15 Sep 2018 17:10:30 +0000 (18:10 +0100)]
Add a .gitignore to ignore build items / editor files
Jonathan McDowell [Fri, 14 Sep 2018 17:39:53 +0000 (18:39 +0100)]
Add basic config file parsing
Rather than requiring all the parameters on the command line read a
config file. The command line can still override all options.
Jonathan McDowell [Thu, 13 Sep 2018 17:38:18 +0000 (18:38 +0100)]
Fix setting of default options
mqtt_topic / location were never being set with their defaults.
Jonathan McDowell [Mon, 11 Jun 2018 20:36:15 +0000 (21:36 +0100)]
Silently drop RTM_DELNEIGH/RTM_GETNEIGH messages
Rather than printing that we don't understand these messages, silently
drop them.
Jonathan McDowell [Wed, 6 Jun 2018 17:30:56 +0000 (18:30 +0100)]
Fix alignment when parsing Netlink messages
The Netlink header should be treated as NLA_HDRLEN in length, and
NLA_ALIGN() used to deal with padding after attributes.
Jonathan McDowell [Wed, 30 May 2018 19:53:02 +0000 (20:53 +0100)]
Add support for clean shutdown via SIGTERM
Catch SIGTERM to allow ourselves to do an orderly shutdown. This isn't
useful in general operation (as a TERM will do all this cleanup anyway)
but allows for testing under valgrind to ensure no leaks or invalid
accesses.
Jonathan McDowell [Wed, 30 May 2018 19:41:33 +0000 (20:41 +0100)]
Add command line parameters for MQTT username + password
Jonathan McDowell [Wed, 30 May 2018 17:28:38 +0000 (18:28 +0100)]
Fix MAC address command line parsing
We weren't setting valid to true + incrementing our count when we saw
a MAC address on the command line.
Jonathan McDowell [Wed, 23 May 2018 21:46:54 +0000 (22:46 +0100)]
Add command line parsing of options
Rather than hard coding all of the relevant details allow them to be
specified on the command line. Refactor config into a single config
structure to help with this.
Jonathan McDowell [Wed, 23 May 2018 18:29:39 +0000 (19:29 +0100)]
Add a basic Makefile
Jonathan McDowell [Wed, 23 May 2018 07:10:09 +0000 (08:10 +0100)]
Initial commit