Commit Graph
1544 Commits
Author SHA1 Message Date
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00
john30 472c25fb0c avoid too much load when not connected, give up connection on wrong parameters, log errno if initial connection fails and continue trying to connect every 15 seconds (fixes #130) 2018-01-28 11:41:16 +01:00
J0EK3R 85f55fc584 try reconnect even on initial no connection established 2018-01-27 16:21:44 +01:00
J0EK3R 9b0bee152f =reconnect a previous established MQTT-connection 2018-01-27 14:52:03 +01:00
john30 b0e20b7c7c code style 2017-12-26 14:27:44 +01:00
john30 d610f4ca43 check null in signal handler 2017-12-26 14:15:35 +01:00
john30 c680e87bde corrected using fieldIndex in Message::decodeLastData(bool, ...), corrected finding field in DataFieldSet::read() with index and without name, added optional partType and fieldName to DataField::getCount() 2017-12-26 13:56:26 +01:00
john30 1da2611964 check scanconfig argument parse result 2017-12-17 16:08:46 +01:00
john30 ab5c350d24 corrected wrong initial scan loag message 2017-12-17 10:04:52 +01:00
john30 6bba2d6a02 mark scan as finished only if loading failed or the request timed out 2017-12-17 10:04:01 +01:00
Daniel Strigl dc20cfeb1b ! Fixed setsockopt call for timeout 2017-12-08 21:47:04 +01:00
john30 d7400a4155 fix for address check for -s/-d in read and write command (was never interpreted as destination address), allow master addresses for -d in write command 2017-12-04 09:08:56 +01:00
john30 4c1aefbd6d corrected unit for arbitration delay measurement 2017-11-19 18:26:56 +01:00
john30 551d7e5417 added arbitration delay measurement 2017-11-19 14:14:18 +01:00
john30 2210140e4f Merge remote-tracking branch 'origin/master' 2017-11-19 12:19:59 +01:00
john30 d51b08f082 fix for dumping bytes and raw data not initially enabled when requested (fixes #126), compiler warnings 2017-11-19 12:19:04 +01:00
john30 a87ea4a6d8 file mode 2017-11-19 11:59:33 +01:00
john30 b18d7f38bb wait some time for initial garbage in tcp mode and fixed dumping garbage, use FIONREAD instead of MSG_PEEK for cygwin (fixes #132) 2017-11-19 11:58:31 +01:00
john30 0c16712c5f fix for repeated wait in Queue::remove, better variable naming 2017-11-19 11:50:42 +01:00
john30 7b22ecb606 corrected recvResCrc 2017-11-12 21:17:11 +01:00
john30 dd50389643 measure and log min/max send-receive latency and add to info command and json output 2017-11-12 17:37:30 +01:00
john30 35767fb2e3 formatting 2017-11-12 17:36:02 +01:00
john30 77d2a805b1 fix for input string suddenly vanishing on certain compiler versions (at least gcc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609) 2017-10-21 12:03:57 +02:00
john30 46078f8c88 fix for wrong dump of value list and constant fields (fixes #112) 2017-10-15 19:14:54 +02:00
john30 2adbe24875 fix for missing default topic (issue #12) 2017-10-14 12:03:00 +02:00
john30 89de7f8981 added option for disabling automatic update check, add scan mode to start log 2017-09-16 11:35:47 +02:00
john30 52c737233e compatibility to cmake < 3.0 (fixes #105) 2017-09-16 11:00:31 +02:00
john30 fb545f886b fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 11:06:28 +02:00
john30 f6aeaae2cc fix for dumping chained messages, load and dump everything (unconditionally) when checking/dumping configuration 2017-09-09 10:04:56 +02:00
john30 45f7f8a753 formatting 2017-08-29 22:56:34 +02:00
john30 46f60e821c fixed testing 2017-08-27 16:46:41 +02:00
john30 125cbcd661 use own reentrant mutex implementation 2017-08-27 14:58:23 +02:00
john30 f41e316c84 check mqtt version before adding handler 2017-08-27 14:21:02 +02:00
john30 2828ba6c77 more logging 2017-08-27 14:18:37 +02:00
john30 d217a82a0a style 2017-08-27 09:43:54 +02:00
john30 ca7c8bd4fa fix for potential access to no longer existing Message instances in DataHandler, validate MQTT topic during argument parsing, extended DataHandler registration to allow registering multiple instances at once, only create MqttHandler if active 2017-08-27 09:40:43 +02:00
john30 6be124f52e fixed compiler warnings 2017-08-22 07:46:01 +02:00
john30 259f9b76ef corrected hiding of ignored fields, added --mqttjson for having JSON formatted output 2017-07-02 10:41:49 +02:00
john30 6505494b93 corrected unique JSON keys in executeGet() 2017-07-02 10:30:52 +02:00
john30 41eaa3ad4b simplified executeGet() 2017-07-02 10:11:23 +02:00
john30 31f3c2f5b3 formatting 2017-07-02 10:10:55 +02:00
john30 b8a4e5e032 added DataField::getCount(), exclude name wrap when fieldIndex is used in SingleDataField::read(), corrected json indent 2017-07-02 10:09:47 +02:00
john30 77b018b500 fixed weird flushing (#95) 2017-06-24 07:00:44 +02:00
john30 e451e96a90 enhanced JSON interface to retrieve definition and raw messages, fixed for JSON strings with quotes 2017-06-05 18:16:13 +02:00
john30 7a569e274a also revert result back to timeout when decoding the scan result failed 2017-06-03 14:07:44 +02:00
john30 fbbb088ded added --mqttretain 2017-06-03 13:38:54 +02:00
john30 26b89936a8 also keep underscore in id 2017-06-03 12:54:08 +02:00
john30 be33defbfb only retain global/version and global/running 2017-06-03 12:44:59 +02:00
john30 23d930d653 fix for mqtt topic including field 2017-06-03 12:17:18 +02:00
john30 6f5f94238d formatting 2017-06-03 12:16:15 +02:00