Commit Graph
61 Commits
Author SHA1 Message Date
John 672dae22e7 fix previous commit 2023-01-06 12:14:44 +01:00
John 8e612b9e0e add option to exit non-zero on non-success response from ebusd (fixes #782) 2023-01-06 12:08:17 +01:00
John 309ed1f885 tolerate missing POLLRDHUP definition 2022-09-24 18:34:01 +02:00
John 320782c298 allow one more read from socket after input is closed (fix #555) 2022-03-12 13:03:22 +01:00
John 5ec5c3daa4 fix no longer needed removal 2022-02-07 23:05:31 +01:00
John e3dfe32350 start SSL 2022-02-07 22:34:43 +01:00
John 0135dc9100 update year 2022-02-06 13:37:08 +01:00
John c900e49431 always check error even if something can be read, flush stdout 2021-11-13 15:52:27 +01:00
John 30c5a578c9 check error after reading 2021-11-13 15:20:41 +01:00
John 2f40129b99 stop on error conditions 2021-11-13 14:58:54 +01:00
John dd1a051511 don't check hangup too early 2021-11-13 13:49:53 +01:00
John bf811f60a1 fix previous commit 2021-11-13 13:23:04 +01:00
John 4b9beb3949 detect remote hangup 2021-11-13 13:08:04 +01:00
John c5d853b3f7 default timeout to 60 2021-11-13 13:07:34 +01:00
John 3af8ede096 updated copyright year 2021-01-16 08:32:09 +01:00
John 8bd35646d3 formatting 2021-01-10 15:12:59 +01:00
john30 f15279815e fix for use with xargs 2019-11-24 12:15:00 +01:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 343a67f06a added timeout and exit code (fixes #122) 2018-04-04 17:56:29 +02:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01: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 ca164185dc fix doxygen and put everything besides main function in namespace ebusd 2017-02-25 16:12:09 +01:00
john30 bbc29bdb2f switched to absolute include dirs, formatting 2017-02-04 19:28:31 +01:00
john30 937e0ed9e5 fixed compiler warnings 2017-01-28 09:32:07 +01:00
john30 f1c5c0ab28 updated copyright year 2017-01-15 11:10:08 +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 54a6c0f673 code style 2017-01-14 15:02:10 +01:00
john30 b3bb2e08ac code style 2017-01-14 13:00:04 +01:00
john30 71117b40b6 formatting 2016-12-11 16:29:56 +01:00
john30 9f1d7ee331 fix for checking closing input (similar to 4eb1803, see pull request #15) 2016-02-27 12:25:54 +01:00
john30 767cb9bc1f updated copyright year 2016-01-06 13:54:01 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 b4f89ab5dc support pselect again 2015-11-07 11:09:59 +01:00
john30 79c924aa1e optimized 2015-10-31 16:24:08 +01:00
john30 b8b52efde4 fix for numeric parsing of empty string 2015-06-04 13:01:47 +02:00
john30 7aa153848e updated author address 2015-05-14 10:47:51 +02:00
john30 8c9be6074e fixed missing newline 2015-05-04 21:48:43 +02:00
john30 5da560b79a less compiler warnings 2015-03-20 23:01:06 +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 41cd38ab75 changed code style 2015-02-21 13:18:36 +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 e15c66919a nicer help 2015-02-01 13:06:42 +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
Roland Jax c09f98eb8a double new line from help removed; ebusctl: polling timeout increased. 2015-01-05 15:55:48 +01:00
Roland Jax 2ef04903e9 ebusctl improved for 'listen' command 2015-01-04 22:13:42 +01:00
Roland Jax 4e9b207767 ebusctl: receiving reimplemented 2015-01-03 12:43:09 +01:00
Roland Jax 92e6178ef7 ebusctl: fix len of receive buffer. 2015-01-02 19:09:00 +01:00
Roland Jax 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. 2015-01-02 18:57:30 +01:00