70609f1b03
added state command, nicer help
john302015-01-31 19:04:14 +01:00
e0f4c3609c
added hasSignal(), log signal loss and acquisition
john302015-01-31 19:03:31 +01:00
430d72daed
switched from Appl class to argp
john302015-01-31 18:32:30 +01:00
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
john302015-01-31 18:30:00 +01:00
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
john302015-01-31 18:30:00 +01:00
92e6178ef7
ebusctl: fix len of receive buffer.
Roland Jax2015-01-02 19:09:00 +01:00
c490dcd3da
TCPSocket: replaced read/write with recv/send to ignore SIGPIPE during sending; ebusctl: Dealing when receiving data corrected to detect the end of the message with double newline sign.
Roland Jax2015-01-02 18:57:30 +01:00
699ee88b5b
fixed bounds check for time types
john302014-12-31 09:59:54 +01:00
b717a0561b
fixed empty stored value for messages with value in master data
john302014-12-31 09:18:44 +01:00
2253060b8a
neither update last found timestamp nor empty last found value if decoding failed, added decode() for combined master/slave decoding
john302014-12-31 09:16:33 +01:00
a7d404ee75
use optional "-c class" for find and read instead of having class as non-option argument
john302014-12-31 08:30:41 +01:00
7976222b0a
adjusted to new structure
john302014-12-31 08:01:23 +01:00
be8ae316ed
renamed isSet to isWrite
john302014-12-31 07:42:41 +01:00
df85caf71f
ignore case in class and name
john302014-12-29 22:31:22 +01:00
98fb32cbfc
Merge branch 'master' of github.com:yuhu-/ebusd
john302014-12-29 21:56:53 +01:00
f6c036c000
fixed poll priority queue order
john302014-12-29 21:56:19 +01:00
da03406175
fixed: ebusctl crashed, if size of input buffer is reached.
Roland Jax2014-12-29 13:30:32 +01:00
5487580c02
interactive mode in ebusctl simplified; cosmetics in class Appl
Roland Jax2014-12-29 12:05:34 +01:00
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
john302014-12-28 17:34:24 +01:00
cdf5df9804
added more filtering options to MessageMap::findAll
john302014-12-28 17:31:57 +01:00
cd38162772
do not use exit() in Appl to avoid memory leaks
john302014-12-28 11:00:38 +01:00
e6a4b774dd
do not use exit() in Appl to avoid memory leaks
john302014-12-28 11:00:38 +01:00
db361dfd3e
fix for keeping "no signal" state, avoid unnecessary log calls for non-error levels, added logging of unknown update messages in event level
john302014-12-28 10:44:43 +01:00
f68e0d6763
only support a single LogSink in Logger, added hasSink() and setAreaMask() and setLevel() to Logger
john302014-12-28 10:40:44 +01:00
5fcfb27d29
fix counter for reload
john302014-12-28 10:36:47 +01:00
bf3680bbf4
use active message definitions for parsing other-initiated messages as well
john302014-12-28 09:03:57 +01:00
a376b14b4a
corrected timeout for an addressed slave to answer to a message, removed unused variable
john302014-12-27 18:11:54 +01:00
58b8ce3950
added find command, added short commands r/w/f/h, allow dquote around command arguments for empty strings and strings with spaces
john302014-12-27 16:15:48 +01:00
3e9bdee2ed
added bool completeMatch to MessageMap::findAll
john302014-12-27 16:13:51 +01:00
088d99d4bc
allow replacement value for PIN type
john302014-12-27 16:10:16 +01:00
121ad369e8
solved TODO and fixed issue with concurrent access to BusRequest, added support for determining signal timeout
john302014-12-27 13:37:42 +01:00
ff7caba5ca
fix for recv() when neither ppoll nor pselect are available
john302014-12-27 13:34:38 +01:00