modm API documentation
|
#include <modm/communication/xpcc/postman/postman.hpp>
Public Types | |
enum | DeliverInfo { OK = 0, ERROR, NO_COMPONENT, NO_ACTION, WRONG_ACTION_PARAMETER, NO_EVENT, WRONG_EVENT_PARAMETER, NOT_IMPLEMENTED_YET_ERROR } |
Public Member Functions | |
virtual DeliverInfo | deliverPacket (const Header &header, const modm::SmartPointer &payload) = 0 |
virtual bool | isComponentAvailable (uint8_t component) const = 0 |
Check if a component is available on this board. More... | |
|
pure virtual |
Check if a component is available on this board.
component | Id of the component |
true
if the postman is available to delivier messages to the given component, false
otherwise. Implemented in FakePostman.