Commit Graph
496 Commits
Author SHA1 Message Date
john30 75eb227ade added test for set, better error messages 2014-11-22 08:44:24 +01:00
john30 80c42df040 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:34:18 +01:00
john30 25196e4852 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:33:11 +01:00
Roland Jax 6b19680b61 Add checks to configure.ac for pselect() and ppoll(). 2014-11-21 19:10:02 +01:00
Roland Jax 3ddd829dc7 Merge pull request #15 from john30/master
add parseInt(), isValidAddress()
2014-11-20 22:38:59 +01:00
john30 b3a96cc2c0 made parseInt public 2014-11-20 22:29:44 +01:00
john30 15cbb9bbd9 unified parsing of numeric values, documentation 2014-11-20 22:24:21 +01:00
john30 0283b0e121 added isValidAddress() 2014-11-20 22:06:27 +01:00
Roland Jax 8555526ec6 Merge pull request #14 from john30/master
documentation, max pos
2014-11-20 21:40:35 +01:00
john30 fa568f9568 documentation 2014-11-20 21:26:30 +01:00
john30 04f5ec49df added slave data tests and creation fail test 2014-11-20 21:10:26 +01:00
john30 7a2344d9db made maxPos a constant and corrected max pos check 2014-11-20 21:09:54 +01:00
Roland Jax 835c901da6 documentation for class BaseLoop added; most enum types adapted. 2014-11-20 18:43:07 +01:00
Roland Jax 737e8e6938 Merge pull request #13 from john30/master
check position
2014-11-20 10:25:44 +01:00
john30 1083ef24b8 again 2014-11-20 10:17:32 +01:00
john30 6d253af691 check maximum position 2014-11-20 10:15:53 +01:00
Roland Jax 12856bf0d2 Merge pull request #12 from john30/master
update to latest DataField
2014-11-20 10:02:12 +01:00
john30 46bbca5d86 file mode 2014-11-20 09:30:47 +01:00
john30 f80105b6ac Merge branch 'master' of git://github.com/yuhu-/ebusd
Conflicts:
	src/lib/ebus/data.cpp
	src/lib/ebus/data.h
	src/lib/ebus/test/test_data.cpp
2014-11-20 09:30:27 +01:00
john30 5f922f8970 added support for templates and sets of DataFields, simplified DataField creation, added missing bounds checks 2014-11-20 09:23:54 +01:00
Roland Jax 55e729ea32 XML path in class ConfigFile wiped out. 2014-11-20 08:19:33 +01:00
Roland Jax 2fe5b8cdc7 class BusCommand renamed to BusMessage. 2014-11-19 22:33:59 +01:00
Roland Jax 85c00c9cc7 files buscommand.x and dump.x moved from src/lib/ebus to src/ebusd. 2014-11-19 21:34:52 +01:00
Roland Jax a5605c40be namespace 'libebus' removed. 2014-11-19 19:44:04 +01:00
Roland Jax e2f6bbffb0 class LogInstance renamed to Logger; documentation for logging subsystem added. 2014-11-18 20:15:01 +01:00
Roland Jax 1415b143af documentation for class TCPSocket, TCPClient and TCPServer added. 2014-11-18 15:38:36 +01:00
Roland Jax 48fcf39d53 rudimental version of 'scan result' added. 2014-11-17 21:06:48 +01:00
Roland Jax b6cae7884a moving 'scan' functionality from ebusctl into ebusd continued. 2014-11-16 21:50:35 +01:00
john30 264ba1ca51 formatting 2014-11-16 11:07:46 +01:00
john30 73534d2b45 added getters 2014-11-16 10:52:45 +01:00
john30 f074ff35a4 added getters, compiler warnings 2014-11-16 10:52:19 +01:00
john30 63cde34e6a introduced type templates, added bit base types, added two-byte time, added precision, added test for any/min/max/replacement/signed min/signed max for all base types 2014-11-16 10:49:47 +01:00
Roland Jax baf60895ef class Connection, Network, Port: select() replaced by ppoll(). 2014-11-13 16:31:32 +01:00
Roland Jax 5e07f0152d needless includes directives (header files) removed. 2014-11-13 15:01:54 +01:00
Roland Jax b89a441f99 configure.ac: AC_CHECK_HEADERS added. 2014-11-13 14:18:37 +01:00
john30 72fcd8623d introduced NULL_VALUE define 2014-11-09 14:20:58 +01:00
john30 eb8a43b909 solved most TODOs, introduced reference types and chains, use result_t where possible, switched to divisor instead of factor, formatting, introduced VALUE_SEPARATOR for possible switch to real CSV (later), added value range check, small optimizations 2014-11-09 14:14:12 +01:00
john30 640a78761f introduced result_t, added RESULT_ERR_EOF 2014-11-09 14:13:25 +01:00
john30 68593558fe Merge branch 'master' of git://github.com/yuhu-/ebusd 2014-11-09 10:34:29 +01:00
Roland Jax e7577631da Commands::getEbusCommand reworked. 2014-11-08 21:01:12 +01:00
john30 f7cd19a0ed fix for == 2014-11-08 16:07:10 +01:00
Roland Jax 14d632683b Commands::getEbusCommand expanded for cycle messages to check 'QQ' byte too. 2014-11-08 12:15:31 +01:00
Roland Jax ca6c6c04bb daemon option --lockcounter added; m_busLocked replaced with m_lockCounter. 2014-11-08 11:37:44 +01:00
Roland Jax d53afc8701 class Bus removed. 2014-11-07 22:36:21 +01:00
Roland Jax 6b0f58b291 integration from bus into ebusloop continued. 2014-11-07 20:58:15 +01:00
Roland Jax 793c64d922 file struturce changed. 2014-11-06 16:08:11 +01:00