1
0
forked from fsfw/fsfw

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
This commit is contained in:
2020-04-19 14:45:28 +02:00
parent 1ec1d057b8
commit 62644bdfc9
3 changed files with 32 additions and 20 deletions

View File

@ -445,7 +445,13 @@ protected:
*/
static const uint8_t INTERFACE_ID = CLASS_ID::DEVICE_HANDLER_BASE;
/**
* These returnvalues can be returned from abstract functions
* to alter the behaviour of DHB.For error values, refer to
* DeviceHandlerIF.h returnvalues.
*/
static const ReturnValue_t INVALID_CHANNEL = MAKE_RETURN_CODE(4);
// Returnvalues for scanForReply()
static const ReturnValue_t APERIODIC_REPLY = MAKE_RETURN_CODE(5); //!< This is used to specify for replies from a device which are not replies to requests
static const ReturnValue_t IGNORE_REPLY_DATA = MAKE_RETURN_CODE(6); //!< Ignore parts of the received packet
static const ReturnValue_t IGNORE_FULL_PACKET = MAKE_RETURN_CODE(7); //!< Ignore full received packet