NerfUS mobile node that manages a target for the Nerf gun firing range

Dependencies:   LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager

Fork of NerfUS by NerfUS

TESTS/mocks/MockXbeeTransmitter.hpp

Committer:
Maxime Dupuis
Date:
2017-04-09
Revision:
41:d60c9ced57ab
Parent:
37:8fc7845ae95b

File content as of revision 41:d60c9ced57ab:

#ifndef MOCK_XBEE_TRANSMITTER_HPP
#define MOCK_XBEE_TRANSMITTER_HPP

#include "XbeeTransmitterInterface.hpp"

class MockXbeeTransmitter : public XbeeTransmitterInterface
{
    public:
        MOCK_METHOD2(transmit, void(const std::vector<uint8_t>& bytes, int address[8]));
        MOCK_METHOD3(transmit, void(uint8_t bytes[4], int length, int address[8]));
};

#endif