connect and disconnect functions public

This commit is contained in:
Robin Müller 2020-01-02 14:01:21 +01:00
parent 831a01e79e
commit e2f07cbcd1

View File

@ -45,6 +45,8 @@ public:
*/ */
virtual MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel = 0); virtual MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel = 0);
void registerCommConnect();
void registerCommDisconnect();
protected: protected:
MessageQueueIF* TmTcReceptionQueue; //!< Used to send and receive TMTC messages. TmTcMessage is used to transport messages between tasks. MessageQueueIF* TmTcReceptionQueue; //!< Used to send and receive TMTC messages. TmTcMessage is used to transport messages between tasks.
StorageManagerIF* tcStore; StorageManagerIF* tcStore;
@ -110,9 +112,6 @@ protected:
*/ */
void printData(uint8_t * data, uint32_t dataLen); void printData(uint8_t * data, uint32_t dataLen);
void registerCommConnect();
void registerCommDisconnect();
private: private:
static const uint8_t TMTC_RECEPTION_QUEUE_DEPTH = 20; static const uint8_t TMTC_RECEPTION_QUEUE_DEPTH = 20;
static const uint8_t MAX_STORED_DATA_SENT_PER_CYCLE = 10; static const uint8_t MAX_STORED_DATA_SENT_PER_CYCLE = 10;