Commit Graph
782 Commits
Author SHA1 Message Date
john30 8ed1e4f151 fixed NaN in JSON (fixes #225) 2018-12-02 13:13:05 +01:00
john c467f2b245 add MessageMap::findAll changedSince argument to distinguish touched/changed for since/until range 2018-12-02 12:22:37 +01:00
john 23bab07ea0 Merge remote-tracking branch 'origin/master' into enhanced_device 2018-12-02 11:29:29 +01:00
john30 45b9bad57e missing include (fixes #212) 2018-10-21 14:42:00 +02:00
john30 18bd21f23f fix for bit combinations during write to SymbolString (fixes #202) 2018-10-03 11:00:31 +02:00
john30 6bd433af46 fix for bit combinations during write to SymbolString 2018-10-03 10:53:38 +02:00
john30 799f6307be corrected write testing and some test cases, added more tests for bit combinations 2018-10-03 10:51:57 +02:00
john ce4f500198 set baudrate to 115200 for enhanced proto over serial connection 2018-09-23 12:21:51 +02:00
john 8b04eb3d28 better documentation 2018-09-16 19:54:28 +02:00
john 7696cb822b allow enh: prefix for serial device as well 2018-09-16 16:32:04 +02:00
john30 13ee2a1fd7 notify sent master address on arbitration success/failure 2018-09-15 14:06:52 +02:00
john30 76013fbc27 moved buffering to common Device, completed support for enhanced proto 2018-09-15 12:50:40 +02:00
john30 d3120760bc added support for enhanced protocol 2018-05-13 20:26:39 +02:00
john30 12d5140605 removed unused test 2018-05-13 18:28:56 +02:00
john30 f3d12a321c moved arbitration logic to device 2018-05-13 18:18:31 +02:00
john30 18ba48e86f use type for predefined bus symbols 2018-05-13 18:18:04 +02:00
john30 1eb3518145 code style, documentation 2018-05-10 13:01:21 +02:00
john30 35afd9908c code style 2018-05-06 15:27:44 +02:00
john30 1c17f7c466 use nullptr instead of NULL 2018-05-06 14:54:52 +02:00
john30 dc12476bc1 fix for previous commit 2018-04-15 08:38:24 +02:00
john30 4013ecd14c close device on error 2018-04-15 08:37:34 +02:00
john30 10e0c96ac2 fix for potential duplicate free 2018-04-08 19:07:49 +02:00
john30 875c6488cb fixed call 2018-04-08 14:07:09 +02:00
john30 1955e4862f added decode/encode commands, use [DD]* instead of Dx in help 2018-04-08 13:48:54 +02:00
john30 bee1fc5b8a aligned tests with latest FileReader changes 2018-04-08 13:48:52 +02:00
john30 000d68f3c2 added "-def" option to read and write commands for using inline message definition (fixes #154), added support for replacing messages during load to FileReader and subclasses, added MessageMap::remove(), prepared decode/encode commands 2018-04-08 13:48:49 +02:00
john30 8ad3ad9c5b removed unnecessary check 2018-04-08 09:08:46 +02:00
john30 ca0f59e146 documentation 2018-04-08 09:08:26 +02:00
john30 f0763ce293 allow more than one fd to be set by ppoll for checking error 2018-04-08 09:07:43 +02:00
john30 8badc83b05 watch sockets for error as well in connect 2018-04-04 17:51:13 +02:00
john30 230abbb9fb added connect timeout, fixed non-closed sockets on connect error 2018-04-04 17:25:39 +02:00
john30 2a348c2087 aligned tests to latest changes 2018-04-04 15:49:48 +02:00
john30 bd5f800426 code style, missing initializers and imports 2018-04-04 15:48:26 +02:00
john30 a36174c02f added support for retrieving configuration files from config service URL and changed that to be the default, always store loaded files by relative path, changed FileReader to allow reading from stream as well 2018-04-04 10:08:46 +02:00
john30 a77b740720 extended request and get to optionally retrieve last-modified header, fix for potentially wrong content-length extraction 2018-04-04 09:57:38 +02:00
john30 f2f70d400a accept urls without trailing '/' 2018-02-04 16:18:10 +01:00
john30 c94da06975 made http client more flexible and support content-length response header 2018-02-03 23:27:02 +01:00
J0EK3RandGitHub 79fb47240e Update tcpsocket.h
added #include <sys/time.h> for Type timeval
2018-02-02 16:20:04 +01:00
john30 fa78ae73f0 updated copyright year 2018-01-28 15:17:33 +01:00
john30 d6668713d1 extracted http client 2018-01-28 15:12:59 +01:00
john30 b0e20b7c7c code style 2017-12-26 14:27:44 +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
Daniel Strigl dc20cfeb1b ! Fixed setsockopt call for timeout 2017-12-08 21:47: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 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 52c737233e compatibility to cmake < 3.0 (fixes #105) 2017-09-16 11:00:31 +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