1
0
forked from fsfw/fsfw

new returnvalue for scanForReply to ignore full packet

This commit is contained in:
2019-11-29 19:56:05 +01:00
parent 2039aa5665
commit 10c24e39a3
3 changed files with 15 additions and 7 deletions

View File

@ -62,7 +62,8 @@ public:
* @param cookie
* @param data
* @param len
* @return
* @return @c RETURN_OK for successfull send
* Everything else triggers sending failed event with returnvalue as parameter 1
*/
virtual ReturnValue_t sendMessage(Cookie *cookie,const uint8_t *data,
uint32_t len) = 0;
@ -78,7 +79,8 @@ public:
* @param cookie
* @param data
* @param len
* @return
* @return @c RETURN_OK for successfull receive
* Everything else triggers receiving failed with returnvalue as parameter 1
*/
virtual ReturnValue_t readReceivedMessage(Cookie *cookie, uint8_t **buffer,
uint32_t *size) = 0;