mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 13:17:08 -04:00
32 lines
640 B
C++
32 lines
640 B
C++
/*
|
|
* @file CommunicationMuxChannel.hpp
|
|
* @author Mateusz Piesta (mateusz.piesta@mudita.com)
|
|
* @date 28.06.19
|
|
* @brief
|
|
* @copyright Copyright (C) 2019 mudita.com
|
|
* @details
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PUREPHONE_COMMUNICATIONMUXCHANNEL_HPP
|
|
#define PUREPHONE_COMMUNICATIONMUXCHANNEL_HPP
|
|
|
|
#include "MuxChannel.hpp"
|
|
|
|
class CommunicationMuxChannel : public MuxChannel {
|
|
public:
|
|
|
|
CommunicationMuxChannel(MuxDaemon* mux);
|
|
~CommunicationMuxChannel();
|
|
|
|
|
|
|
|
int ParseInputData(uint8_t* data, size_t size) override final;
|
|
|
|
ssize_t SendCommand(const char* cmd,uint32_t timeout = 1000);
|
|
};
|
|
|
|
|
|
#endif //PUREPHONE_COMMUNICATIONMUXCHANNEL_HPP
|