Commit Graph

48 Commits

Author SHA1 Message Date
Steffen Gaisser d5dedce294 Relative Paths 2020-08-13 20:53:35 +02:00
Robin Müller 307c954007 fixed CommandMessageTypo
and integrated HasActionsIF interface changes
2020-07-16 12:49:53 +02:00
taheran ced61da357 Merge pull request 'Fixed spelling mistake in HealthHelper' (#121) from gaisser_fix_spelling_mistake_health into master 2020-07-14 11:24:14 +02:00
Steffen Gaisser 053b472157 Fixed spelling mistake in HealthHelper 2020-06-25 18:09:32 +02:00
Robin Müller cda3130b34 periodic reply map param is bool now 2020-06-19 01:05:51 +02:00
Robin Müller b412ef587a Merge remote-tracking branch 'upstream/master' into mueller_DeviceHandlerBase_AllRefactoring 2020-06-19 00:45:02 +02:00
Robin Müller 9c766c123d device command iter was uninitialized 2020-06-06 20:56:09 +02:00
Robin Müller e576ddaa86 Merge remote-tracking branch 'upstram/master' into mueller_localPoolNeat 2020-05-20 14:38:41 +02:00
Robin Müller df7be467eb nullptr replacements 2020-05-17 17:54:21 +02:00
Robin Müller 0bf8e97830 better error output for invalid passed cookie 2020-05-17 17:49:32 +02:00
Robin Müller 80c6eff8a6 added error output for passed nullptr cookie 2020-05-17 17:46:27 +02:00
Robin Müller deb8ce3744 merged upstream master 2020-05-17 15:53:29 +02:00
Robin Müller e8a1912fda Merge remote-tracking branch 'upstram/master' into mueller_DeviceHandlerBase_AllRefactoring 2020-05-17 15:50:40 +02:00
Robin Müller f4ad38f07f replyMap insertion improvements 2020-05-17 15:47:17 +02:00
Robin Müller fb0834ffe1 added cookie caching and deletion 2020-05-17 15:28:00 +02:00
Robin Müller b8e7b12a63 commented whole SWITCH IO BOARD block 2020-05-17 13:10:09 +02:00
Robin Müller 614deea323 last size_t replacements 2020-05-07 23:38:28 +02:00
Robin Müller c7856da81c size_t replacements 2020-05-04 17:07:00 +02:00
Robin Müller 2c6b446500 it is done :-)
However, commented outputs are not changed yet.
2020-04-23 19:13:18 +02:00
Robin Müller b78b3ac68a added performOperationHook() 2020-04-19 22:17:14 +02:00
Robin Müller 225e1b98a0 some bugfixes in cpp file to enable compilation 2020-04-19 22:10:02 +02:00
Robin Müller f4c925e671 Merge branch 'mueller_DeviceHandlerBase_API_change_CookieIF' into mueller_DeviceHandlerBase_AllRefactoring 2020-04-19 15:57:39 +02:00
Robin Müller 7f08bb3506 removed ioboardAddress, max reply Len 2020-04-19 15:54:28 +02:00
Robin Müller 36dbf6e1ce Merge branch 'mueller_DeviceHandlerBase_ctor_reduction' into mueller_DeviceHandlerBase_AllRefactoring 2020-04-19 15:51:58 +02:00
Robin Müller 1820ad14b7 API change introduced, using new device comIF
also changed child handler base.
2020-04-19 15:48:17 +02:00
Robin Müller c8983650f7 Merge branch 'mueller_DeviceHandlerBase_Changes' into mueller_newDeviceCommunicationIF 2020-04-19 15:36:42 +02:00
Robin Müller 520ed881bb wrong function call fixed 2020-04-19 15:16:44 +02:00
Robin Müller ce554c615c reduced massive ctor size
this was done by moving zero or nullptr initialization
into the header file
2020-04-19 15:15:33 +02:00
Robin Müller eacedf7ed6 DHB: replyLen in replyMap now
both maps are closer together now as well
2020-04-19 15:01:27 +02:00
Robin Müller 74b8c3eef4 new returnvalue DeviceComIF
explicitely setting receivedDataLen to 0 in readReceivedMessage() does
not trigger error anymore
2020-04-19 14:52:27 +02:00
Robin Müller 62644bdfc9 DeviceHandlerIF fixed some indentation error
still some unclarities about returnvalues
so I added a comment on what the returnvalues
in DHB and DH interface mean
2020-04-19 14:45:28 +02:00
Robin Müller 1ec1d057b8 renamed rmap to com (more generic) 2020-04-19 14:08:20 +02:00
Robin Müller 7126c19ee0 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 and existing adapted
to 80 column width.
I tried to reduce the number of included files and sorted them a bit
2020-04-19 14:03:47 +02:00
Robin Müller 574d6051ba new returnvalue for scanForReply
to ignore full packet
DeviceCommunicationIF sendMessage function takes const data pointer now
2020-04-19 13:41:43 +02:00
Robin Müller 0c0c8ec448 device handler base indentation 2020-04-19 13:29:50 +02:00
Robin Müller abe7239018 reset, splitting up merge request 2020-04-19 13:24:10 +02:00
Robin Müller ee23a7c0b5 fix 2020-04-06 14:02:33 +02:00
Ulrich Mohr f28886e970 Moved crc calculation into its own class, renamed function to show which
crc is calculated.
2020-04-06 13:22:42 +02:00
Robin Müller 511c0db8c7 Cookie -> CookieIF, DHB changes
According to changes agreed on 01.04.2020,
slight refactoring of DHB:
requestLen is set to 0 if no respective reply is enabled
2020-04-01 12:43:53 +02:00
Robin Müller ac4275ef05 some minor changes 2020-03-27 14:44:54 +01:00
Robin Müller bfb0234d41 more refactoring 2020-03-24 15:59:08 +01:00
Robin Müller 59812199fd new cookieIF 2020-03-23 19:16:01 +01:00
Robin Müller 029b2133e6 new adaptions for cookie + comIF changes
hook for performOp() added
2020-03-23 18:03:00 +01:00
Robin Müller e03aff3731 Device Handler Base Proposals
1. Interface functions moved closer to top (and functions which should
be implemented)
2. ioBoardAddress renamed to logicalAddress. getter FUnction added.
3. debug interface for easier debugging of device handlers
4. new documentation
5. new return value for scanForReply to ignore full packet
2020-02-03 22:34:15 +01:00
Steffen Gaisser cd7e47ccbb Updated FreeRTOS Osal
CommandingServiceBase is no longer a template
2019-08-28 14:50:24 +02:00
Steffen Gaisser fd782b20c0 Adding Code for Linux 2018-12-19 19:42:00 +01:00
Ulrich Mohr 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