Commit Graph
100 Commits
Author SHA1 Message Date
john30 9800464f79 added contributed libebus datatypes 2016-10-16 09:44:51 +02:00
john30 62ea2f3213 allow passing arguments to read command wiht -R "args" 2016-10-15 17:51:11 +02:00
john30 16822ae94c round non-exact values for truncated time types instead of invalid argument, formatting 2016-10-15 17:48:48 +02:00
john30 0c0ea8e967 corrected dumping of value lists 2016-10-08 19:50:07 +02:00
john30 bb19e57bea split verbosity into 3 levels for read and find, allow inline rename for template references, added "indexed" request parameter for JSON, formatted 2016-10-08 19:38:20 +02:00
john30 0b42490573 avoid unprintable characters for StringDataType and escape special chars for JSON, formattting 2016-10-08 16:52:42 +02:00
john30 6311149731 fixed parsing of inline conditions (numeric ranges and single numeric values) 2016-10-08 11:06:22 +02:00
john30 a0cf5c8bb2 added MIN datatype 2016-10-03 19:21:14 +02:00
john30 863d651868 prepared for combined date/time types, corrected DAY type and added tests for it 2016-10-03 19:06:02 +02:00
john30 e116cadf3f added isNumeric() to DataType and use this instead of checking typeid(NumberDataType), added isMaster argument to readSymbols() and writeSymbols() 2016-10-03 15:22:19 +02:00
john30 639e4e7858 require polling for scanconfig 2016-10-02 15:17:02 +02:00
john30 bc2a9ea657 formatting 2016-10-02 15:09:58 +02:00
john30 e8a0b755f5 fix for previous commit (weird poll contrinue error messages) 2016-10-02 15:09:43 +02:00
john30 c99ee9916f better arguments check 2016-10-02 14:47:45 +02:00
john30 e408c948ec updated to current changes 2016-09-18 12:39:05 +02:00
john30 39f0ee13d3 only use cached data if no input is necessary in read command 2016-09-18 12:38:04 +02: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 50b74b491b allow scan for FE, only store scan data if non-empty 2016-09-18 12:10:24 +02:00
john30 a6dd03033a added hex option to find command 2016-09-17 16:34:03 +02:00
john30 012ff3d9af fix for storing own prepared master data, set m_lastUpdateTime only if reasonable data was seen 2016-09-17 16:33:28 +02:00
john30 d7d667b189 allow definition of port to connect to 2016-09-17 16:20:55 +02:00
john30 cc336bb1a0 set keepalive on net device 2016-09-17 16:19:59 +02:00
john30 e7d3fac7aa formatting 2016-09-17 16:19:36 +02:00
john30 acae7c3133 solved todos, removed commented code 2016-08-27 13:47:01 +02:00
john30 6f5a670b98 removed unused variable 2016-08-27 12:46:33 +02:00
john30 422b8d64bf Merge branch 'master' of github.com:john30/ebusd 2016-07-24 10:50:31 +02:00
john30 3fcbc660a7 scan later 2016-06-26 17:24:58 +02:00
john30 876a82cd18 corrected http port, add ebusd log 2016-06-26 17:17:41 +02:00
john30 259f4bcd19 Merge branch 'master' of github.com:john30/ebusd 2016-06-26 17:11:58 +02:00
john30 0716fde70f more checks 2016-06-26 17:11:47 +02:00
john30 1f72c1f2d4 check arguments 2016-06-26 17:00:49 +02:00
john30 dc4dcdea8d fix for dump 2016-06-26 16:35:38 +02:00
john30 49d23e09bb php5 2016-06-26 16:30:49 +02:00
john30 3e552bf42c require php 2016-06-26 16:24:43 +02:00
john30 da441c32cd mode 2016-06-26 16:11:53 +02:00
john30 a450613337 Merge branch 'master' of github.com:john30/ebusd 2016-06-26 16:11:06 +02:00
john30 3ab44116e9 test coverage 2016-06-26 16:10:46 +02:00
john30 ae84214711 fixed cleanup 2016-06-26 12:27:29 +02:00
john30 9aa113a1b5 added DataTypeList 2016-06-26 11:18:03 +02:00
john30 af575a5857 more ignored 2016-06-25 07:16:48 +02:00
john30 51cc47584f comment 2016-06-25 07:16:29 +02:00
john30 7825e17251 added helper method 2016-06-25 07:16:14 +02:00
john30 dde37855e3 more verbose output 2016-06-25 06:35:57 +02:00
john30 db456abb29 reworked data types 2016-06-25 06:35:07 +02:00
john30 086dea5060 added separate log files 2016-05-28 15:40:33 +02:00
john30 73e21be50a added support for running multiple ebusd instances by adjusting /etc/default/ebusd 2016-05-28 10:33:06 +02:00
john30 34f8276198 more ignores 2016-05-27 14:58:17 +02:00
john30 c70a19e32f manually exec gcov 2016-05-27 12:42:31 +02:00
john30 f30166b484 hopefully final codecov+travis-ci adjustment 2016-05-27 11:37:04 +02:00
john30 9cfc723e6a testing 2016-05-27 11:25:06 +02:00
john30 a1d92a45e4 testing 2016-05-27 11:18:11 +02:00
john30 da966ae3c2 test gcov 2016-05-27 10:56:37 +02:00
john30 d39237c90c codecov pip 2016-05-27 10:52:29 +02:00
john30 f76a523399 another test 2016-05-27 10:48:05 +02:00
john30 6df4d30308 testing 2016-05-27 10:31:18 +02:00
john30 6ce36802ce enable coverage and run tests 2016-05-27 10:07:09 +02:00
john30 d0a011a9c7 moved common flags to configure, added --enable-coverage build option 2016-05-27 10:06:46 +02:00
john30 d0a3363ba9 moved common flags to configure, added test target 2016-05-27 10:00:09 +02:00
john30 13469142fb include overall state in exit code 2016-05-27 09:55:29 +02:00
John e26b3624e5 added build status 2016-05-27 08:25:07 +02:00
john30 681e988570 fix serial close 2016-05-22 10:46:37 +02:00
john30 cca08c322c added codecov 2016-05-21 16:43:00 +02:00
john30 8a6ebd7f71 made valid 2016-05-21 16:27:11 +02:00
John 7f2de86a6a updates 2016-05-21 16:20:37 +02:00
John 6b208e484a added codecov.yml 2016-05-21 16:16:48 +02:00
john30 47d6110496 start autogen and dont start tests 2016-05-21 16:11:58 +02:00
john30 2a80c28410 added Travis CI 2016-05-21 16:03:55 +02:00
john30 6e998909cf fix for getline usage with newer compilers 2016-05-21 10:03:25 +02:00
john30 13cf5b2d23 fix for BCD in JSON 2016-05-15 17:38:32 +02:00
john30 a1a2eca85f Merge branch 'master' of github.com:john30/ebusd 2016-05-15 17:19:33 +02:00
john30 8864ce55b8 fix for getline usage with newer compilers 2016-05-15 17:18:57 +02:00
john30 f873c2ee39 fix for extra separator char when dumping CSV 2016-05-14 16:51:32 +02:00
john30 42ad067570 updated md5sum 2016-05-05 11:42:19 +00:00
john30 28b50d2322 updated version 2016-05-05 13:04:09 +02:00
john30 dde70e8c43 updated version 2016-05-05 13:00:01 +02:00
john30 d150971571 updated version to 2.1 2016-05-05 12:56:29 +02:00
john30 ee608778f1 updated, added UDP device hint 2016-05-05 12:55:55 +02:00
john30 afa82be319 updated 2016-05-05 12:43:00 +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 516bbe0edf fix for recognizing seen addresses in answer mode 2016-05-01 17:17:02 +02:00
john30 c2cee5a96b added support for individual scan, simplified "log" command 2016-04-30 16:55:56 +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 4089923bd9 moved list of loaded files from BusHandler to MessageMap, include ebusd in "info" command and fixed missing master 1 and reveal address conflict with ebusd 2016-04-30 16:52:28 +02:00
john30 042f6655d1 added callback function to store files loaded by instructions to MessageMap::executeInstructions and Instruction::execute, moved list of loaded files from BusHandler to MessageMap 2016-04-30 16:50:02 +02:00
john30 7e64157bca corrected master number calculation 2016-04-30 16:24:27 +02:00
john30 650b68b9a2 added getLogFacilities() and getLogLevel(), do not manipulate input string in setLog* methods 2016-04-30 16:23:55 +02:00
john30 7af79dd461 help format 2016-04-24 12:47:34 +02:00
john30 3b6f385037 updated, spelling 2016-04-24 11:29:07 +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 be4bbaaf67 automatically start grabbing all messages, add circuit+message name to grab result if known 2016-04-24 11:13:25 +02:00
john30 d1e4a838b9 added message direction selectors to MessageMap::find(SymbolString) 2016-04-24 11:12:00 +02:00
john30 186afca37d updated 2016-04-23 12:02:42 +02:00
john30 fab8752a01 fix for dumpconfig 2016-04-23 11:50:22 +02:00
john30 5ccdb7654f added helper method extractDefaultsFromFilename() and support extracting default circuit name from file name 2016-04-10 13:03:58 +02:00
john30 5f5fbca959 fix for traversing instructions 2016-04-10 12:17:40 +02:00
john30 cff5dd2952 include instruction log in error message 2016-03-26 11:06:41 +01:00
john30 d203f8c285 initialize m_lastError, missing separator in LoadInstruction::execute 2016-03-26 11:06:12 +01:00
john30 5dcc76314f increased default receive timeout to 25ms 2016-03-26 10:53:26 +01:00
john30 513a89b0e6 updated to new conditions, started dynamic switching of pipes 2016-03-20 20:04:59 +01:00
john30 5b54666f39 added support for pseudo global circuit, started dynamic switching of pipes, nicer format evaluation 2016-03-20 20:04:09 +01:00