Commit Graph
100 Commits
Author SHA1 Message Date
john30 5ea70602d0 corrected address 2015-02-21 09:50:37 +01:00
john30 87663426db added "-c" to write 2015-02-19 22:53:24 +01:00
John 72bb2cb11b updated to 1.0.0 2015-02-18 09:40:07 +01:00
john30 82022890a5 Merge branch 'master' of https://github.com/john30/ebusd 2015-02-18 09:27:53 +01:00
john30 f4c5e7d0b6 corrected etc/default/ebusd, use current dir instead of fresh checkout 2015-02-18 09:26:36 +01:00
John 26398e103e corrected AC_CONFIG_AUX_DIR position 2015-02-18 09:06:11 +01:00
john30 c91ea5f40f calculate symbol rate and add current+max rate to state command, add shortcut "s" for state command 2015-02-15 19:40:32 +01:00
john30 7bead7fa7b made result_t an enum 2015-02-15 18:59:41 +01:00
john30 ff3fdf84a6 header 2015-02-15 18:59:30 +01:00
john30 c6bd44d2b9 header 2015-02-15 18:58:47 +01:00
john30 ca22e23e39 fix for previous commit 2015-02-15 18:50:59 +01:00
john30 d2d97c399b header 2015-02-15 18:50:43 +01:00
john30 2e92b15ec5 unexpected syn is now an error, simplified, log self-update requests specially 2015-02-15 18:36:14 +01:00
john30 1f422e0685 moved TODO to correct position 2015-02-15 18:16:31 +01:00
john30 995f55c926 added defaults 2015-02-15 14:21:02 +01:00
john30 d4627483b7 install to /usr/bin instead of /usr/sbin 2015-02-15 13:50:16 +01:00
john30 b3f3d0d725 nicer 2015-02-15 13:49:52 +01:00
john30 f1bc39205b nicer 2015-02-15 13:49:19 +01:00
john30 ceab2cdb73 nicer 2015-02-15 13:48:35 +01:00
john30 3874559247 added debian package helper scipt 2015-02-15 13:06:52 +01:00
john30 6138eb9f21 added version 2015-02-15 12:22:43 +01:00
john30 71d8727d2d solved some TODOs, check hex input and message length, simplified SymbolString ctors, fixed extra newline in scan result, no longer include write messages in default find command types, append command type to find result in verbose mode, add source and/or destination to update log when not set in the message definition, documentation 2015-02-15 12:20:06 +01:00
john30 2de793784e Merge branch 'master' of github.com:john30/ebusd 2015-02-14 15:20:58 +01:00
john30 6b5728bdd8 updated version to 1.0.0 2015-02-14 15:20:46 +01:00
John 4e42ba5ad2 prepare 1.0 beta 1 2015-02-14 15:13:06 +01:00
john30 7dea6590c1 use PACKAGE for config path 2015-02-14 14:42:45 +01:00
john30 2ca6be5f92 determine default log file location from localstatedir, determine default config directory from sysconfdir, moved sysconfdir default to autogen.sh, adjusted author and git location 2015-02-14 14:36:57 +01:00
john30 287bb859d0 unified result (start with "ERR:" on error, start with "usage:" on wrong number of args) 2015-02-14 14:32:39 +01:00
john30 0c0a137ef5 nicer error messages 2015-02-14 14:19:53 +01:00
john30 a16cb85bd0 comment 2015-02-14 14:19:22 +01:00
john30 8b8a25712c add define 2015-02-14 14:19:04 +01:00
john30 1e150844c3 use relative libs for dist, add missing files, add define for sysconfdir 2015-02-14 14:18:43 +01:00
john30 0e5e11e22b corrected 2015-02-14 14:17:12 +01:00
john30 15f79e4af2 Merge branch 'master' of github.com:john30/ebusd 2015-02-10 22:05:15 +01:00
john30 479434c8fe append to log file 2015-02-10 22:04:26 +01:00
john30 885e42d623 fixed help for find 2015-02-09 22:57:45 +01:00
John cabe15f34f Update README 2015-02-09 22:57:41 +01:00
john30 aa306d9131 reworked and optimized device handling and check network device address, log failed device open, avoid blocking threads with sleep(), optimized shutdown 2015-02-08 10:06:03 +01:00
john30 4404202609 set localstatedir to /var for default PID file location /var/run/ebusd.pid 2015-02-08 09:24:32 +01:00
john30 bc1fa51747 added WaitThread, removed unused detach() 2015-02-07 14:25:09 +01:00
john30 3133cfd2ad documentation 2015-02-07 11:40:09 +01:00
john30 be7a8e9828 updated copyright year 2015-02-01 13:12:29 +01:00
john30 095b12d517 nicer help 2015-02-01 13:07:11 +01:00
john30 e15c66919a nicer help 2015-02-01 13:06:42 +01:00
john30 0e8a669890 added command help, nicer implementation of quit and stop commands, nicer help 2015-02-01 13:04:15 +01:00
john30 5b373377a4 use constants for argp options, documentation, allow up to 25 masters, nicer help, better variable names 2015-02-01 13:01:35 +01:00
john30 b6ef8d747b documentation 2015-02-01 12:58:45 +01:00
john30 676a0e60c0 documentation 2015-02-01 12:58:30 +01:00
john30 a38cac7209 do not close stdout 2015-02-01 12:57:15 +01:00
john30 5d872e3bc6 added missing /run suffix to PID file path 2015-01-31 19:16:08 +01:00
john30 22b1138407 check for eof 2015-01-31 19:10:27 +01:00
john30 70609f1b03 added state command, nicer help 2015-01-31 19:04:14 +01:00
john30 e0f4c3609c added hasSignal(), log signal loss and acquisition 2015-01-31 19:03:31 +01:00
john30 430d72daed switched from Appl class to argp 2015-01-31 18:32:30 +01:00
john30 f00d49aa7b switched to argp, also allow "q" for quit, end on input shutdown, fix for checking stop and quit input, fix for checking ebusd answer 2015-01-31 18:32:01 +01:00
john30 fee4c2ab2c switched to argp 2015-01-31 18:31:13 +01:00
john30 a514e41cd8 switched to argp, also allow "q" for quit, end on input shutdown, fix for checking stop and quit input, fix for checking ebusd answer 2015-01-31 18:30:00 +01:00
john30 0d91dc1c44 dont reorder args 2015-01-31 18:21:17 +01:00
john30 5903204a4f formatting 2015-01-31 16:21:57 +01:00
john30 4a589681cc fix for checking quit message, also accept "q" as quit 2015-01-31 16:21:47 +01:00
john30 b39bbcba00 documentation 2015-01-31 16:04:24 +01:00
john30 bb36862823 corrected log help 2015-01-31 16:04:04 +01:00
john30 e007e85762 added PID file location to autoconf (i.e. use localstatedir/var), fixed empty PID file and permissions 2015-01-31 11:39:52 +01:00
john30 a8231fd5db removed unused files 2015-01-25 19:31:39 +01:00
john30 a7000b2342 removed outdated files 2015-01-25 19:29:23 +01:00
john30 dd6fc823e8 removed unused include 2015-01-25 19:15:46 +01:00
john30 8fb73a5f5d switched to new logging 2015-01-25 19:07:38 +01:00
john30 89349e7d21 reworked main loop, switched command line argument parsing to argp 2015-01-25 19:06:02 +01:00
john30 a721fe28dc reworked main loop, switched command line argument parsing to argp 2015-01-25 19:04:28 +01:00
john30 3b968afb41 added simple, fast, and efficient logging 2015-01-25 19:01:24 +01:00
john30 16c52e9a39 close socket as fast as possible if it was closed by the client 2015-01-25 18:50:12 +01:00
john30 0095c5d44d Merge branch 'master' of git://github.com/yuhu-/ebusd 2015-01-25 18:29:30 +01:00
john30 44957a6566 switched to autobrief 2015-01-18 12:40:54 +01:00
john30 fb99ac55a1 added listen stop 2015-01-18 12:23:16 +01:00
john30 1868e66c8b hide copy constructor, fixed skipped updates, nicer NetMessage notify/wait, nicer Connection cleanup, removed weird workaround with \r, documentation 2015-01-18 12:14:52 +01:00
john30 4b94a38c3c hide copy constructor 2015-01-18 12:08:58 +01:00
john30 50e24172b1 added lastChangeTime 2015-01-03 12:11:46 +01:00
john30 b04d5c2730 added common broadcast messages, removed outdated commands.csv 2015-01-01 13:39:53 +01:00
john30 d76d411b35 find reports anything by default 2015-01-01 11:55:20 +01:00
john30 bbd135398e fix for previous commit 2014-12-31 11:42:12 +01:00
john30 648588149d no longer read any file, added checks 2014-12-31 10:51:19 +01:00
john30 a865dfe322 return error when part or name was defined and part is last item 2014-12-31 10:47:22 +01:00
john30 3b13791c4d typo 2014-12-31 10:46:28 +01:00
john30 699ee88b5b fixed bounds check for time types 2014-12-31 09:59:54 +01:00
john30 b717a0561b fixed empty stored value for messages with value in master data 2014-12-31 09:18:44 +01:00
john30 2253060b8a neither update last found timestamp nor empty last found value if decoding failed, added decode() for combined master/slave decoding 2014-12-31 09:16:33 +01:00
john30 a7d404ee75 use optional "-c class" for find and read instead of having class as non-option argument 2014-12-31 08:30:41 +01:00
john30 7976222b0a adjusted to new structure 2014-12-31 08:01:23 +01:00
john30 be8ae316ed renamed isSet to isWrite 2014-12-31 07:42:41 +01:00
john30 df85caf71f ignore case in class and name 2014-12-29 22:31:22 +01:00
john30 98fb32cbfc Merge branch 'master' of github.com:yuhu-/ebusd 2014-12-29 21:56:53 +01:00
john30 f6c036c000 fixed poll priority queue order 2014-12-29 21:56:19 +01:00
john30 ec42fb5259 fix for multiple space delimiters in query, fix for checking invalid options, treat empty values as valid if last update time is fine, added verbose option and filtering options to find command 2014-12-28 17:34:24 +01:00
john30 cdf5df9804 added more filtering options to MessageMap::findAll 2014-12-28 17:31:57 +01:00
john30 cd38162772 do not use exit() in Appl to avoid memory leaks 2014-12-28 16:01:24 +01:00
john30 e6a4b774dd do not use exit() in Appl to avoid memory leaks 2014-12-28 11:00:38 +01:00
john30 db361dfd3e fix for keeping "no signal" state, avoid unnecessary log calls for non-error levels, added logging of unknown update messages in event level 2014-12-28 10:44:43 +01:00
john30 f68e0d6763 only support a single LogSink in Logger, added hasSink() and setAreaMask() and setLevel() to Logger 2014-12-28 10:40:44 +01:00
john30 5fcfb27d29 fix counter for reload 2014-12-28 10:36:47 +01:00
john30 6d1da2ed6f comment 2014-12-28 10:27:51 +01:00