Commit Graph
50 Commits
Author SHA1 Message Date
john30 a36174c02f added support for retrieving configuration files from config service URL and changed that to be the default, always store loaded files by relative path, changed FileReader to allow reading from stream as well 2018-04-04 10:08:46 +02:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 35767fb2e3 formatting 2017-11-12 17:36:02 +01:00
john30 89de7f8981 added option for disabling automatic update check, add scan mode to start log 2017-09-16 11:35:47 +02:00
john30 7b11a540b6 added conditional messages to find command with "-a" option and include condition prefix for CSV format
also allow passing scan messages with --checkconfig and --scanconfig (without --inject)
be more verbose on errors in configuration files
improved code style
2017-05-01 15:31:09 +02:00
john30 33ee8ae0ed mainloop: moved instruction execution to main loop, do not send intial scan when readonly, added "--inject" option, allow --readonly with --scanconfig[=none], store scans initiated by other participants, removed unused code 2017-04-29 15:13:05 +02:00
john30 e6b6e17db3 allow logging raw bytes via command line again 2017-04-23 12:08:35 +02:00
john30 586a21fc9f corrected type of preferLanguage argument 2017-04-22 14:42:22 +02:00
john30 50d1aee7d3 added support for multi language column selection in configuration files 2017-04-17 09:56:46 +02:00
john30 5633d3825d use data from message instead of passing through in loadScanConfigFile() 2017-03-05 12:56:42 +01:00
john30 18fc12499b introduced symbol_t, added SymbolString::dataAt() and ::isMaster(), renamed SymbolString::getDataStr() to getStr(), use size_t/ssize_t where appropriate, simplified by use of new SymbolString methods, corrected broadcast scan conversion, use override declaration 2017-03-04 14:01:20 +01:00
john30 cc59b32f0d clearly separate master/slave symbolstrings 2017-02-26 17:34:22 +01:00
john30 ca164185dc fix doxygen and put everything besides main function in namespace ebusd 2017-02-25 16:12:09 +01:00
john30 cb9b7fc3ac add support for individual log level per facility 2017-02-19 00:42:55 +01:00
john30 33128f221a add ACL for read/write/find/scan, add auth command, add -a and -s options to find command, include user and access level to info output, add user and secret arguments to HTTP port 2017-02-18 11:44:32 +01:00
john30 d3db9b94c0 avoid unnecessary includes, avoid unnecessary casts, better initialization, corrected readTemplates() return value on failure, separate options values 2017-02-05 12:10:00 +01:00
john30 bbc29bdb2f switched to absolute include dirs, formatting 2017-02-04 19:28:31 +01:00
john30 0771e8ee6b updated copyright year 2017-02-04 08:04:20 +01:00
john30 5bf2f124b3 code style 2017-01-14 19:00:47 +01:00
john30 ebcb260d5f use spaces instead of tab 2017-01-14 18:01:37 +01:00
john30 774e01e937 use own namespace 2017-01-14 16:41:54 +01:00
john30 b3bb2e08ac code style 2017-01-14 13:00:04 +01:00
john30 b3e8d16e19 compiler warnings 2016-12-10 10:29:46 +01:00
john30 cdbcb4664d added --lograwdatafile and --lograwdatasize options similar to --dumpfile/--dumpsize for logging received/sent bytes to a dedicated text file, extracted dump/raw file handling to a separate class, switched to an interface instead of a method for dumping/logging raw data, changed default dump file name to /tmp/ebusd_dump.bin, use "s_" for static variables, formatting 2016-12-04 17:21:47 +01:00
john30 ff0b3636c5 added optional initial active scan address to --scanconfig option (including full scan) and set default to sending broadcast ident message, check address argument for validity in scan command 2016-09-18 12:13:43 +02:00
john30 d5b07f5783 added support for UDP devices, added buffer for network devices, added option for sending an initial symbol after opening a network device, added option for setting transfer latency and use default 10 ms for network device, set TCP_NODELAY for TCP device socket, flush potentially buffered input on network device when connecting 2016-05-05 12:39:52 +02:00
john30 41bd113141 corrected comments, increase verbosity when probing particular scan config by command line, also reveal files loaded by instructions in "info" command 2016-04-30 16:54:45 +02:00
john30 546641d770 added "hex" command, added "--enablehex" commandline option (disabled by default), limit "write -h" to known messages only 2016-04-24 11:16:42 +02:00
john30 0981c15fbe changed ebusd default address to 0x31 2016-03-13 13:24:34 +01:00
john30 928fa61504 added option for changing PID file 2016-02-20 13:44:22 +01:00
john30 767cb9bc1f updated copyright year 2016-01-06 13:54:01 +01:00
john30 2e2cf204e2 increased default bus acquisition retries from 2 to 3 2015-12-27 22:24:11 +01:00
john30 82d00c2021 extended command line to allow checking a particular scan configuration 2015-12-05 12:01:17 +01:00
john30 5c07605ca2 corrected loading loading non-autoscan files in case of absent templates, added getTemplates() 2015-11-22 09:31:20 +01:00
john30 3aa41e322e fixed some memory issues 2015-11-08 12:45:40 +01:00
john30 41b6e91295 fix for reload with scanconfig 2015-11-08 10:54:32 +01:00
john30 97c52a4827 add filename to loaded scan config info 2015-11-07 18:33:04 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 80dc2bdd3c completed automatic configuration by scan and extended "info" command with seen addresses and scan state, let MainLoop run in separate thread 2015-11-01 23:01:38 +01:00
john30 bd1c991c77 reworked Queue, added TODO, corrected documentation, prepared execution of regular tasks in MainLoop 2015-10-31 16:22:13 +01:00
john30 93d1dfd240 started automatic config file loading after scan 2015-10-25 20:01:25 +01:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00
john30 357b730f31 added support for serving files via HTTP port 2015-05-10 10:23:14 +02:00
john30 7e98f485e1 added read-only mode, added optional HTTP JSON port 2015-05-01 08:38:08 +02:00
john30 5da560b79a less compiler warnings 2015-03-20 23:01:06 +01:00
john30 99b0e12943 initial support for AUTO-SYN generation 2015-03-14 10:50:02 +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 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 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