Commit Graph
100 Commits
Author SHA1 Message Date
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
john30 bf3680bbf4 use active message definitions for parsing other-initiated messages as well 2014-12-28 09:03:57 +01:00
john30 a376b14b4a corrected timeout for an addressed slave to answer to a message, removed unused variable 2014-12-27 18:11:54 +01:00
john30 58b8ce3950 added find command, added short commands r/w/f/h, allow dquote around command arguments for empty strings and strings with spaces 2014-12-27 16:15:48 +01:00
john30 3e9bdee2ed added bool completeMatch to MessageMap::findAll 2014-12-27 16:13:51 +01:00
john30 088d99d4bc allow replacement value for PIN type 2014-12-27 16:10:16 +01:00
john30 5cf1aec6df fix for findAll() 2014-12-27 14:14:41 +01:00
john30 ffd7d3ff18 fixed dt_hex in printSettings() 2014-12-27 13:56:51 +01:00
john30 7f00d18373 nicer cleanup 2014-12-27 13:38:23 +01:00
john30 c8e72126c7 nicer cleanup 2014-12-27 13:38:05 +01:00
john30 121ad369e8 solved TODO and fixed issue with concurrent access to BusRequest, added support for determining signal timeout 2014-12-27 13:37:42 +01:00
john30 ff7caba5ca fix for recv() when neither ppoll nor pselect are available 2014-12-27 13:34:38 +01:00
john30 6ac101f79b variable initialization 2014-12-27 12:41:18 +01:00
john30 f659788e39 fixed precision for derived types, fixed memory leaks, optimized 2014-12-27 12:40:41 +01:00
john30 81ecb0b89d added RESULT_ERR_NO_SIGNAL 2014-12-27 12:36:12 +01:00
john30 259fb11051 fixed cleanup and memory leaks, cosmetics 2014-12-27 12:35:53 +01:00
john30 72eb26805a made run() protected 2014-12-27 12:33:45 +01:00
john30 8d835ed7a9 notify all waiting threads in add(), added waitRemove(), cosmetics 2014-12-27 12:33:10 +01:00
john30 ffb71a56d3 do not modify iterator content in DataField::create() 2014-12-26 20:38:06 +01:00
john30 5b560ea27c deny matching any class if class is explicitly requested 2014-12-26 20:03:21 +01:00
john30 7a394bc13b allow empty field list, allow templates to override each other 2014-12-26 19:45:31 +01:00
john30 e75aedcf2b removed replacement value from bit types
deny replacement value for BTI, HTI, HTM
added replacement value support to BDA and HDA
2014-12-26 19:30:51 +01:00
john30 d7a9d505b7 added support for using hex values in value list 2014-12-26 14:22:52 +01:00
john30 6a46e8cbdb added BCD:2 BCD:3 BCD:4 2014-12-26 13:57:28 +01:00
john30 44b76a27d6 HDA is now in hex instead of BCD 2014-12-26 13:27:15 +01:00
john30 3720cc89ab Merge branch 'master' of github.com:yuhu-/ebusd 2014-12-25 12:09:50 +01:00
john30 dd4127f57b removed unused buffering in port and count dumped bytes instead of using tellp(), small fix in wait for bus after lost arbitration 2014-12-25 12:09:27 +01:00
john30 5d02119d1e fixed previous commit 2014-12-21 09:48:57 +01:00
john30 1b718aefa4 Merge branch 'master' of github.com:yuhu-/ebusd 2014-12-21 09:46:07 +01:00
john30 cdcb2ec0b6 renamed cmd to name 2014-12-21 09:22:35 +01:00
john30 10c8c9165a renamed sub to field 2014-12-21 09:08:35 +01:00
john30 0282afc9b7 adjusted to changed template structure 2014-12-18 23:26:53 +01:00
john30 92b0f07fdf moved config file reading to ebusd.cpp, enhanced config checking mode 2014-12-18 23:21:10 +01:00
john30 985d1f4389 pass iterator to FileReader::addFromFile() in order to keep track of the erroneous column, added verbose mode to FileReader 2014-12-18 23:06:31 +01:00
john30 4b7ff1d97f directly forward messages to sinks until Thread is started 2014-12-18 23:05:11 +01:00
john30 e8b355b85e style 2014-12-18 22:04:46 +01:00
john30 d078044c36 initialize fields, allow missing pidfile 2014-12-18 22:04:23 +01:00
john30 cdf7fb6522 file mode 2014-12-18 21:15:31 +01:00
john30 6569f46e40 removed part column from templates 2014-12-18 21:07:38 +01:00
john30 11cec1d47b renamed _types to _templates 2014-12-18 21:00:10 +01:00
john30 c86655b964 merged 2014-12-15 20:28:41 +01:00
john30 970574ed50 Merge branch 'master' of https://github.com/yuhu-/ebusd
Conflicts:
	src/ebusd/baseloop.h
	src/lib/ebus/data.h
	src/lib/ebus/message.h
	src/lib/ebus/result.h
	src/lib/ebus/symbol.h
2014-12-15 20:26:58 +01:00
john30 8e068fa34e disable doc for tools, warn if params miss documentation, convert TODO tags to todo-list 2014-12-15 20:14:29 +01:00
john30 4e81fd842b fixed documentation 2014-12-15 20:13:20 +01:00
John 55be6ddfcc help older compilers find the template ctor
fix for issue #25
2014-12-15 20:01:50 +01:00
John 72486436ad help older compilers find the template ctor
fix for issue #25
2014-12-15 20:00:57 +01:00
John b13e597602 corrected typo 2014-12-15 09:52:58 +01:00
john30 2df7bc75b2 deny invalid destination address in write hex 2014-12-14 18:58:44 +01:00
john30 118a0ea7d4 completed individual scanning with definitions in "scan" class, nicer passing of received data to BusRequests 2014-12-14 18:58:15 +01:00
john30 3a55d7552c fix for new result code empty 2014-12-14 18:55:11 +01:00
john30 5670c05a9a added base type PIN, simplified ident fields 2014-12-14 18:54:49 +01:00
john30 6d8a82a524 allow blank destination address (e.g. for scans), added MessageMap::findAll() 2014-12-14 18:50:49 +01:00
john30 2af6e55505 added result code for invalid address 2014-12-14 18:09:16 +01:00
john30 848a043f8b force refresh if single field is requested 2014-12-14 12:45:21 +01:00