Commit Graph
100 Commits
Author SHA1 Message Date
john30 ce9f443dde removed default argument values from DataFiel::create, documentation 2015-03-12 23:20:35 +01:00
john30 b838f40a51 added override destination address option to read command (e.g. for manual scan), support write messages without any value 2015-03-12 22:13:05 +01:00
john30 cf17b7a93a set minimum lock count to 3 as required by spec 2015-03-12 22:04:28 +01:00
john30 9fcda22ee5 removed unnecessary check 2015-03-12 22:03:30 +01:00
john30 10c7981219 fir for previous commit, nicer comments 2015-03-08 14:28:28 +01:00
john30 86e308c68f compiler warning 2015-03-08 14:10:16 +01:00
john30 3794ffede4 updated 2015-03-08 14:09:13 +01:00
john30 d1b0eadba9 optimized 2015-03-08 14:04:20 +01:00
john30 6257327aaf extended Message::create to allow specifying multiple destinations (class is then suffixed with .0, .1 etc.) 2015-03-08 14:04:03 +01:00
john30 491b107635 pass address type instead of address to Message::create 2015-03-08 14:02:33 +01:00
john30 2faab3f3b4 fixed previous commit 2015-03-07 16:25:40 +01:00
john30 291c4b939e removed tests 2015-03-07 15:59:55 +01:00
john30 4275d64488 updated 2015-03-07 15:55:33 +01:00
john30 90b25e0dd1 ignore age for pure passive messages in read 2015-03-07 15:42:38 +01:00
john30 353404e5b0 added parameter to default skip last symbol in SymbolString::getDataStr (removes CRC from logging and hex result) 2015-03-07 15:36:17 +01:00
john30 97561ff87d shortened manufacturer names 2015-03-07 14:47:24 +01:00
john30 0e6fcb60b1 log and count new masters, added master count to state command 2015-03-07 14:31:34 +01:00
john30 6740a6376b solved todo: cache symbols instead of decoded values, use cache for verbose and field-selective read as well, include names and comments in verbose find 2015-03-07 14:07:58 +01:00
john30 e81ac863ad print loaded message count in single log entry 2015-03-07 14:04:22 +01:00
john30 e43e6f2db8 documentation 2015-03-07 13:08:40 +01:00
john30 0dafd4d18f added != operator to SymbolString 2015-03-07 13:07:02 +01:00
john30 2dec01535b Merge branch 'master' of github.com:john30/ebusd 2015-03-07 12:13:11 +01:00
john30 8511dad3dc added automatic detection of number of masters and enabled by default, fixed check of master address during scan 2015-03-07 12:09:04 +01:00
john30 ee415e0ea3 added automatic detection of number of masters and enabled by default, fixed check of master address during scan 2015-03-07 12:07:29 +01:00
john30 9bf17b86c6 added getMasterAddress() and isSlaveMaster() 2015-03-07 12:04:24 +01:00
john30 ed3ef3f5e4 added support for reciprocal divisor, corrected divisor for derived number types (was combined with base datatype divisor instead of actual field divisor) 2015-03-07 11:48:08 +01:00
john30 382f7e175d fix for non-default unsigned char 2015-02-25 21:59:13 +01:00
john30 f4f2bbe2a6 Merge branch 'master' of github.com:john30/ebusd 2015-02-23 23:37:07 +01:00
john30 453ffd2477 corrected dump for divider 2015-02-23 23:36:56 +01:00
John fb7767b1d3 updated to current changes 2015-02-22 17:12:39 +01:00
john30 d50b3b6cb2 added FIELD.N to 'read' command for retrieving N'th FIELD, fixed getMasterNumber(), check maximum NN in message, use more constants, check all type conversions, added --nodevicecheck to ebusfeed help 2015-02-22 13:57:37 +01:00
john30 564a602eaf only dump messages if loading was successful 2015-02-21 18:58:29 +01:00
john30 a0d0092082 better command help 2015-02-21 18:58:10 +01:00
john30 79a5f09c78 added commandline option "--dumpconfig" for dumping resulting message definitions to stdout, added options for limiting to PB and dumping message definitions in "find" command, nicer "help" command output 2015-02-21 16:22:27 +01:00
john30 e484bf57b9 added helper for dumping messages, corrected line number printing 2015-02-21 16:19:02 +01:00
john30 2786e44d73 simplified 2015-02-21 13:19:05 +01:00
john30 41cd38ab75 changed code style 2015-02-21 13:18:36 +01:00
john30 0bfc63c13a nicer 2015-02-21 09:51:03 +01:00
john30 a577d7f14e changed order 2015-02-21 09:50:48 +01:00
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