Commit Graph

90 Commits

Author SHA1 Message Date
eb362dcad2 some comment line break 2020-04-16 17:02:04 +02:00
33b834ad91 null replaced by nullptr 2020-04-16 10:43:50 +02:00
fc08754b98 some doc unclarities comment added 2020-04-15 23:28:45 +02:00
aaabbe8aef DHB fix 2020-04-06 13:59:57 +02:00
f28886e970 Moved crc calculation into its own class, renamed function to show which
crc is calculated.
2020-04-06 13:22:42 +02:00
80b1d28bc8 new dvice com IF return value 2020-04-05 00:23:29 +02:00
996dbc9e4b DHB/Cookie refactoring 2020-04-01 12:41:54 +02:00
5d071a1cf1 new device comIF return value in DHB
request receive message
2020-03-26 19:53:05 +01:00
093fef5d6f moved address_t typedef to cookieImoved address_t typedef to cookieIFF 2020-03-26 15:20:17 +01:00
163779622f DHB: replyLen in replyMap now 2020-03-25 02:08:35 +01:00
b2b6b8ee23 added initializeInterface for comIF/cookie 2020-03-24 15:33:18 +01:00
ea49d88c4b moved all return values to DH IF 2020-03-24 14:21:57 +01:00
b6bf9d7147 to avoid dynamic casting, introuced CookieIF 2020-03-23 19:09:42 +01:00
f7bd661e69 small fixes 2020-03-23 18:08:24 +01:00
fa058ee602 renamed rmap to com (more generic) 2020-03-23 18:05:39 +01:00
d3e2652078 replaced DHB sizes by size_t, rework
Cookie now passed to DHB, rework in progress
2020-03-23 17:58:23 +01:00
c50d9d90d6 replaced std::variant by two uint32 parameters 2020-03-23 13:14:23 +01:00
6579200f55 removed counter, will be implemented in childclass 2020-03-06 19:01:31 +01:00
68cda479d6 DHB: performOperation Hook + polling counter
polling counter to specify how often communication opertions are
performed, however this still needs to be changed..
2020-03-06 18:48:48 +01:00
dba26baee6 Restructured header file
Abstract functions are closer to the top
because they must be implemented and documentation
should be near the top.
Important virtual functions moved up too.
Additional documentation added
2020-01-20 23:00:23 +01:00
10c24e39a3 new returnvalue for scanForReply to ignore full packet 2019-11-29 19:56:05 +01:00
b8af3b5e3d debugInterface extended 2019-11-09 18:15:45 +01:00
537e2ceb18 Getter method for logicalAddress 2019-11-09 13:29:12 +01:00
ee765eafc7 ioBoardAddress renamed to logicalAddress 2019-11-09 13:17:54 +01:00
801bd4d7eb debug interface for dhb created.
This is useful to track states or values
in child handler. some documentation added.
New doxygen group for interfaced added.
2019-11-09 13:07:26 +01:00
bf7bc342ff Revert "documentation for DHB init function, ioBoard addres has default value 0 now, order in ctor changed (not used in source)"
This reverts commit c6e34cada6.
2019-11-05 19:30:02 +01:00
b594bc2a97 removed obsolete comment 2019-11-05 19:25:00 +01:00
cb919ada2a assuming that a default value of 0 for expectedReplies is needed, I introduced a new variable into DeviceCommandInfo, which stores another number of replies expected. this value is assigned in enableReplyInReplyMap. That way, the initial value of 0 remains the same (if it was needed), and is only set to another desired value if a write was sent 2019-11-04 01:55:40 +01:00
12f51575eb removed a flag by accident, fixed now 2019-11-04 00:53:05 +01:00
8eb1a5b13e proposal 1: expectedReplies parameter is set in insertInCommandAndReplyMap, default value stays one. overriding enableReplyInReplyMap is not necessary anymore.second proposal: the commander id is supplied in the interpretDeviceReply function, so we don't have to look for it in the DeviceCommandMap. was it removed at some point because it is listed in the documentation? 2019-11-04 00:47:46 +01:00
3887cb8ca1 removed wrong include in dhb 2019-10-29 18:22:34 +01:00
64f84d9d9f doc for dhb, serializeIF and SerializeAdapter 2019-10-27 03:21:38 +01:00
8f1517d276 additional comments on endianness (I hope this is correct) 2019-10-25 21:12:11 +02:00
c6e34cada6 documentation for DHB init function, ioBoard addres has default value 0 now, order in ctor changed (not used in source) 2019-10-22 17:15:29 +02:00
cbc8012198 ioBoardAddress protected instead of private to allow custom initialize 2019-10-22 00:06:11 +02:00
5e3b7c3625 explanation of cookie purpose added, device handler base indentation 2019-10-18 13:37:09 +02:00
cd7e47ccbb Updated FreeRTOS Osal
CommandingServiceBase is no longer a template
2019-08-28 14:50:24 +02:00
fd782b20c0 Adding Code for Linux 2018-12-19 19:42:00 +01:00
575f70ba03 updating code from Flying Laptop
This is the framework of Flying Laptop OBSW version A.13.0.
2018-07-12 16:29:32 +02:00
Bastian Baetz
1d22a6c97e Today's the day. Renamed platform to framework. 2016-06-15 23:48:49 +02:00