john30
|
1378b4c1e4
|
even nicer logging
|
2014-12-13 17:52:54 +01:00 |
|
john30
|
1f116aada7
|
unified logging
|
2014-12-13 14:56:19 +01:00 |
|
john30
|
e4f9306dde
|
unified logging
|
2014-12-13 14:55:52 +01:00 |
|
john30
|
5d2b28f3db
|
fixed ostringstream formatting (again)
|
2014-12-13 14:42:47 +01:00 |
|
john30
|
45c739228c
|
corrected log area for update messages
|
2014-12-13 12:03:12 +01:00 |
|
john30
|
169c6a9460
|
switched to read/write instead of get/set and added force option to read (automatically picks up updated value if available), nicer response messages for BaseLoop, renamed area cyc to upd
|
2014-12-13 12:01:14 +01:00 |
|
john30
|
cda96e6e3b
|
extraced FileReader to separate .h and added support for quoted CSV
|
2014-12-13 11:07:18 +01:00 |
|
john30
|
6eab4f86d1
|
also collect participant addressed actively
|
2014-12-13 00:14:11 +01:00 |
|
john30
|
27a563ca1d
|
implemented scan, nicer logging
|
2014-12-13 00:02:14 +01:00 |
|
john30
|
3d89fef6ae
|
added scanning and collection of seen bus addresses
|
2014-12-13 00:01:31 +01:00 |
|
john30
|
95d9c5fd08
|
added static dataType_t instances for string/bcd/uch, optimized and added missing initialization of ostringstream in readSymbols(), added DataFieldSet::createIdentFields() for ident message
|
2014-12-13 00:00:21 +01:00 |
|
john30
|
67549fd787
|
added simple ctor, added override dstAddress to prepareMaster()
|
2014-12-12 23:58:18 +01:00 |
|
john30
|
3ba98c1fba
|
changed type definition to check first char for r/w, last char of type starting with r for priority digit, and last char of non r/w types (=update type) for "w" indicating update write
|
2014-12-11 22:45:13 +01:00 |
|
john30
|
83605cc24d
|
better naming, updated help
|
2014-12-10 23:12:09 +01:00 |
|
john30
|
0bd7df2ce1
|
switch ";" and "," but keep ";" for values shown in/parsed from UI, added todos, removed "p" for poll (use 1-9 instead), formatting
|
2014-12-10 23:11:34 +01:00 |
|
john30
|
d36b024876
|
implemented answering queries to ebusd, added missing repetition during bs_sendResAck when NAK was received, always log received data in trace level and reduced message length
|
2014-12-10 21:42:21 +01:00 |
|
john30
|
57dba2cba4
|
add "done" to result for successful BC+MM messages without other result
|
2014-12-10 21:32:40 +01:00 |
|
john30
|
ba2b404900
|
added prepareSlave for answering requests
|
2014-12-10 21:31:44 +01:00 |
|
john30
|
98a4be5f84
|
fixd dump to file with direct buffer, moved more complex method implementation from .h to .cpp file
|
2014-12-10 20:46:19 +01:00 |
|
john30
|
fa61067a0f
|
file mode
|
2014-12-07 19:05:04 +01:00 |
|
john30
|
33fbe411dc
|
Merge branch 'master' of git://github.com/yuhu-/ebusd
|
2014-12-07 18:09:16 +01:00 |
|
john30
|
665a9ee3b9
|
Merge branch 'master' of git://github.com/yuhu-/ebusd
Conflicts:
src/ebusctl/ebusctl.cpp
src/ebusd/Makefile.am
src/ebusd/baseloop.cpp
src/ebusd/baseloop.h
src/ebusd/bushandler.cpp
src/ebusd/bushandler.h
src/lib/ebus/message.cpp
src/lib/ebus/message.h
src/lib/ebus/port.cpp
src/lib/ebus/symbol.cpp
src/lib/ebus/symbol.h
src/lib/ebus/test/test_data.cpp
src/lib/ebus/test/test_message.cpp
|
2014-12-07 15:19:45 +01:00 |
|
john30
|
51bf3dcd4e
|
documentation
|
2014-12-07 14:59:13 +01:00 |
|
john30
|
41152a4031
|
file mode
|
2014-12-07 14:57:05 +01:00 |
|
john30
|
1a138dfe1c
|
added polling by priority
|
2014-12-07 14:49:44 +01:00 |
|
john30
|
a8c1343218
|
added polling by priority
|
2014-12-07 14:45:33 +01:00 |
|
john30
|
dc6f5a0980
|
removed misleading SymbolString copy constructor
|
2014-12-07 14:44:14 +01:00 |
|
john30
|
2663c0ca76
|
avoid copying SymbolString
|
2014-12-07 14:24:38 +01:00 |
|
john30
|
0a87e9d853
|
avoid copying SymbolString
|
2014-12-07 14:23:55 +01:00 |
|
john30
|
3599378364
|
removed getReceivedData()
|
2014-12-07 10:00:57 +01:00 |
|
john30
|
d33cede5ea
|
store last value in Message with update time
|
2014-12-07 10:00:26 +01:00 |
|
john30
|
4ffc6155a1
|
fixed escaping and crc
|
2014-12-07 09:43:49 +01:00 |
|
john30
|
8089dab4b4
|
solved todo
|
2014-12-06 23:50:31 +01:00 |
|
john30
|
f3f2e1a451
|
removed debug code
|
2014-12-06 23:49:00 +01:00 |
|
john30
|
8ef8418702
|
added cyc command
|
2014-12-06 23:43:04 +01:00 |
|
john30
|
5bbdcac5d4
|
store received data
|
2014-12-06 23:42:41 +01:00 |
|
john30
|
c0c1cf3966
|
allow passive messages to be found as well, added leadingSeparator to decode(), fixed default part for passive set
|
2014-12-06 23:41:14 +01:00 |
|
john30
|
97d4e40172
|
added set
|
2014-12-06 22:26:58 +01:00 |
|
john30
|
e173ba6ad5
|
removed commented stuff
|
2014-12-06 22:26:13 +01:00 |
|
john30
|
0325625a56
|
avoid cancelling request if part of the message is repeated
|
2014-12-06 22:01:12 +01:00 |
|
john30
|
c5c9c436dc
|
extended raw logging to also include sent symbols, added optionas for and implemented: send+lock retries, lock counter, bus acquisition+slave receive timeout, switched to directly receiving bytes instead of queuing them, only send SYN when send is complete, adjusted default timeouts to include 2*1,2% tolerance
|
2014-12-06 21:48:33 +01:00 |
|
john30
|
62fc5046e2
|
added optional direct buffer to write to (instead of queuing the data), extended raw logging to include sent symbols
|
2014-12-06 21:24:24 +01:00 |
|
john30
|
c4812bd16c
|
reduced DataField::read() and ::write() to a single SymbolString, adjusted BusHandler accordingly, fix for BusRequest::notify, added define for and corrected send timeout, added syn after failed send, fixed cleanup, reduced logging
|
2014-12-06 16:54:32 +01:00 |
|
john30
|
b0749c8662
|
fixes for get+hex
|
2014-12-06 16:54:14 +01:00 |
|
john30
|
f5a9f2b1d1
|
code style
|
2014-12-06 16:45:20 +01:00 |
|
john30
|
382da6215c
|
reduced DataField::read() and ::write() to a single SymbolString, adjusted message accordingly
|
2014-12-06 16:44:52 +01:00 |
|
john30
|
b831df5eca
|
corrected prepareMaster()
|
2014-12-06 15:33:46 +01:00 |
|
john30
|
1c63392869
|
unified output
|
2014-12-06 15:26:53 +01:00 |
|
john30
|
d71a9623e7
|
unified output
|
2014-12-06 15:26:33 +01:00 |
|
john30
|
fe66df7afa
|
added missing code, formatting
|
2014-12-06 15:23:23 +01:00 |
|
john30
|
482e849a1e
|
use result code
|
2014-12-06 15:22:41 +01:00 |
|
john30
|
2bd88f45db
|
fix for walking through added messages
|
2014-12-06 13:46:52 +01:00 |
|
john30
|
73b74f1602
|
implemented get
|
2014-12-06 13:02:16 +01:00 |
|
john30
|
38f0ddbe78
|
simplified message type detection
|
2014-12-06 12:47:48 +01:00 |
|
john30
|
0e1e724f62
|
reworked result codes, added new base type VTI (vaillant specific time), added support for replacement value for time types
|
2014-12-06 12:47:01 +01:00 |
|
john30
|
15249302fb
|
reworked result codes, added new base type VTI (vaillant specific time), added support for replacement value for time types
|
2014-12-06 12:46:15 +01:00 |
|
john30
|
9cea334407
|
better ==, added commented code for debug, added todo
|
2014-12-06 12:35:41 +01:00 |
|
john30
|
73d4d423d6
|
started implementing get&hex
|
2014-12-03 23:04:18 +01:00 |
|
john30
|
8b9d935cbf
|
started implementing get&hex
|
2014-12-03 23:03:20 +01:00 |
|
john30
|
09b2d969be
|
added SymbolString(SymbolString), optimized
|
2014-12-03 23:02:30 +01:00 |
|
john30
|
508eedbe51
|
added optional bool wait to remove() and next(), added remove(item)
|
2014-12-03 23:01:42 +01:00 |
|
john30
|
0cb6095fb5
|
added optional bool wait to remove() and next(), added remove(item)
|
2014-12-03 23:01:31 +01:00 |
|
john30
|
53a5b0b809
|
changed address option to hex, added answer option
|
2014-12-03 20:58:02 +01:00 |
|
john30
|
eff24a8b06
|
added hex type
|
2014-12-03 20:57:22 +01:00 |
|
john30
|
c9015eb4f4
|
fixed storage for messages by name only
|
2014-12-01 22:15:30 +01:00 |
|
john30
|
671aa54468
|
pass log function instead of Logger to avoid dependencies, started decodeMessage for get
|
2014-12-01 22:14:01 +01:00 |
|
john30
|
3b99ca0b4d
|
corrected #define
|
2014-11-30 20:25:12 +01:00 |
|
john30
|
3da2c42c0e
|
added getPollPriority()
|
2014-11-30 20:18:35 +01:00 |
|
john30
|
377c9c61c0
|
changed from m_isActive to m_isPassive, made defaults more flexible (every char besides r/w/p/0-9 can be used for defining messages to listen to - aka cyc), fix for defaults field list and duplicate message definitions, multiple message types now need to be separated by comma, optimized finding messages
|
2014-11-30 20:12:59 +01:00 |
|
john30
|
46fb6763bc
|
do not override name when referencing templates, added DataField::dump()
|
2014-11-30 20:05:35 +01:00 |
|
john30
|
7d46a58ba5
|
switched to using priority in getMasterNumber()
|
2014-11-30 20:03:58 +01:00 |
|
john30
|
31145bb057
|
added check for decode via loaded MessageMap
|
2014-11-30 20:02:16 +01:00 |
|
john30
|
4649d74fa4
|
removed commented code
|
2014-11-30 10:24:39 +01:00 |
|
john30
|
43b50875f9
|
added defaults, allow poll priority as number only, verbose print csv error position, splitted id into pbsb+id again, moved printErrorPos to data.h
|
2014-11-30 10:23:50 +01:00 |
|
john30
|
fb3574de8c
|
added defaults, added printErrorPos
|
2014-11-30 10:22:36 +01:00 |
|
john30
|
f94c981bdc
|
use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:17:59 +01:00 |
|
john30
|
0f2fb3c27e
|
use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:17:18 +01:00 |
|
john30
|
9affddf19b
|
use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:16:16 +01:00 |
|
john30
|
ab3508c187
|
start switching to BusHandler and MessageMap, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:15:06 +01:00 |
|
john30
|
d90dbe8507
|
introduced BusHandler for managing all possible message transfer types
|
2014-11-29 20:13:25 +01:00 |
|
john30
|
036036e626
|
use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:11:38 +01:00 |
|
john30
|
29f60af55c
|
use result_t, move raw logging and dumping to Port and avoid permanent open/close on ofstream
|
2014-11-29 20:10:57 +01:00 |
|
john30
|
bd4d36b27f
|
simplifed Thread and fixed some cleanup
|
2014-11-29 19:05:20 +01:00 |
|
john30
|
637800125c
|
changed default arg for push_back
|
2014-11-29 19:04:16 +01:00 |
|
john30
|
11d43843c0
|
renamed a method, pass some class instances as reference
|
2014-11-29 19:03:21 +01:00 |
|
john30
|
cfe7f99510
|
simplifed Thread and fixed some cleanup
|
2014-11-29 19:01:40 +01:00 |
|
john30
|
b3b19d199e
|
simplifed Thread and fixed some cleanup
|
2014-11-29 19:01:15 +01:00 |
|
john30
|
7783af84c9
|
replaced by BusHandler
|
2014-11-29 18:50:08 +01:00 |
|
john30
|
02a04f00e2
|
removed unused files
|
2014-11-23 20:53:40 +01:00 |
|
john30
|
eb8fed70a3
|
removed unused files
|
2014-11-23 20:52:10 +01:00 |
|
john30
|
8b3f72211e
|
added message.h/cpp
|
2014-11-23 20:26:51 +01:00 |
|
john30
|
1a1d02b418
|
fix for uninitialized member
|
2014-11-23 20:26:15 +01:00 |
|
john30
|
922217602b
|
added FileReader
|
2014-11-23 20:25:48 +01:00 |
|
john30
|
4141f8e091
|
more result codes
|
2014-11-23 20:23:43 +01:00 |
|
john30
|
59700b0084
|
added some real examples
|
2014-11-23 15:18:48 +01:00 |
|
john30
|
da6a5563a6
|
fix for prepare()
|
2014-11-23 15:18:30 +01:00 |
|
john30
|
0068a5f8f7
|
fix tests
|
2014-11-23 14:56:56 +01:00 |
|
john30
|
4d68d443e4
|
introduced DataFieldTemplates,a dded missing type HTI, added reading of "_types.csv"
|
2014-11-23 14:54:27 +01:00 |
|
john30
|
97f050fb16
|
introduced DataFieldTemplates,a dded missing type HTI, switched to UTF8 encoding
|
2014-11-23 14:53:22 +01:00 |
|
john30
|
9a5fb321a6
|
introduced DataFieldTemplates,a dded missing type HTI
|
2014-11-23 14:50:03 +01:00 |
|