Commit Graph
693 Commits
Author SHA1 Message Date
john30 3aa41e322e fixed some memory issues 2015-11-08 12:45:40 +01:00
john30 ee912c9377 formatting 2015-11-08 12:43:56 +01:00
john30 e19173ff73 corrected deallocation of messages stored by key only 2015-11-08 12:12:17 +01:00
john30 555f06a5f5 documentation 2015-11-08 12:11:34 +01:00
john30 0b4cbf1cf6 better initialization 2015-11-08 12:11:05 +01:00
john30 41b6e91295 fix for reload with scanconfig 2015-11-08 10:54:32 +01:00
john30 592cf2c069 use individual scan message, also reset masterCount in clear(), fix for logging and info result, split load state into load init and done 2015-11-07 19:08:55 +01:00
john30 97c52a4827 add filename to loaded scan config info 2015-11-07 18:33:04 +01:00
john30 f4fd9ce42a add filename to loaded scan config info, clear scan state when reloading config files 2015-11-07 18:32:15 +01:00
john30 9a1681b3ac let ScanRequest notify BusHandler instead of directly manipulating BusHandler::m_scanResults, also use explicit scan request results for updating seen addresses, added BusHandler::clear() for clearing scan state, perform non-full scan only on seen addresses, added detailed scan info to "info" command 2015-11-07 18:31:21 +01:00
john30 f29219396b also calculate key for temporary message, keep initial leadingSeparator if it was passed true in decode() and decodeLastData(), use empty condition messagename for referencing scan result, added MessageMap::getScanMessage(), do not poll for scan message, store derived scan message by key only, removed unnecessary minIdLength determination 2015-11-07 18:24:59 +01:00
john30 d927fdf263 shorter ident field names 2015-11-07 18:19:57 +01:00
john30 d402325a16 notify starting request when receiving back own master address timed out 2015-11-07 15:22:12 +01:00
john30 040e10ff5f support MACH architecture 2015-11-07 14:52:20 +01:00
john30 9dbdeffe0c unified copyright notice 2015-11-07 14:47:13 +01:00
john30 6307049a0a compiler warning 2015-11-07 14:22:33 +01:00
john30 a4fce959b5 use parseInt, avoid strndup 2015-11-07 14:22:04 +01:00
john30 666964d76a only link rt if necessary 2015-11-07 12:09:55 +01:00
john30 0045d1cec4 extracted clock_gettime in order to support MACH architecture 2015-11-07 11:56:39 +01:00
john30 b4f89ab5dc support pselect again 2015-11-07 11:09:59 +01:00
john30 35d46b1b90 compiler warning 2015-11-07 11:09:26 +01:00
john30 e2cd80a4ad nicer output for printErrorPos() 2015-11-07 09:50:41 +01:00
john30 cc8d69d197 added constant 2015-11-07 09:50:15 +01:00
john30 686c50c0aa use filereader method for splitting, added check for dquote and field name definition without type 2015-11-07 09:17:16 +01:00
john30 5e7558acbe extracted splitting of fields into own method and fixed parsing dquote 2015-11-07 09:16:17 +01:00
john30 077ab86056 yield error when field name was specified but nothing else 2015-11-07 09:15:00 +01:00
john30 7b21cacd41 resolve conditions after reading scan config files 2015-11-01 23:18:06 +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 e69054e351 introduced different scan states, also log current master count when a new master was detected, extended "info" command with seen addresses and scan state, added scanAndWait() and getNextScanAddress() and setScanConfigLoaded() for scanning remaining seen slaves 2015-11-01 22:46:12 +01:00
john30 f913cb0aaa fix for extracting ident from filename 2015-11-01 22:39:10 +01:00
john30 75ff3d3c0b extracted helper method, prepared scan state 2015-10-31 17:42:04 +01:00
john30 79c924aa1e optimized 2015-10-31 16:24:08 +01:00
john30 5e9094a19b reworked Queue, added TODO, corrected documentation, prepared execution of regular tasks in MainLoop 2015-10-31 16:22:53 +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 944feb2a2e Merge branch 'master' of github.com:john30/ebusd 2015-10-31 09:52:24 +01:00
john30 3f397c933a return "done broadcast" after successful write of broadcast message 2015-10-31 06:53:06 +01:00
john30 93d1dfd240 started automatic config file loading after scan 2015-10-25 20:01:25 +01:00
john30 eefbce2592 return "empty" for queries without any result 2015-10-25 19:52:07 +01:00
john30 2ca0ed6495 adapted to static ident fields 2015-10-25 19:48:01 +01:00
john30 fe6c79296d add replacement value ff to date/time types having no replacement yet, made ident fields static 2015-10-25 19:45:42 +01:00
john30 6814cdf3a1 enhanced MessageMap to allow duplicates for full check, fix to avoid multiple identical derived messages 2015-10-25 19:44:16 +01:00
john30 cf6b30d753 fixed compiler warning 2015-10-24 09:06:43 +02:00
john30 a9d27ef2ba documentation 2015-10-18 15:18:57 +02:00
john30 c2c3462134 allow querying for first field in hasField(), support cloning message for conditions with specific destination address, support message seen check in condition, fix for parsing destination address in condition, more error messages 2015-10-18 12:11:12 +02:00
john30 f02eee616a allow querying for first field in hasField() 2015-10-18 12:08:28 +02:00
john30 d7f54f97f4 combine lastError 2015-10-18 12:07:52 +02:00
john30 345a700386 updated 2015-10-18 11:08:51 +02:00
john30 dc8bdcdaeb extracted method readConditions() 2015-10-18 11:08:23 +02:00
john30 5ac7ff3d6d allow subclasses to use m_lastError 2015-10-18 10:17:43 +02:00
john30 6199b34693 added replacement value for VTM 2015-10-18 10:17:05 +02:00