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-12
Revision:
51:6bf268cd1a1b
Parent:
41:d60c9ced57ab

File content as of revision 51:6bf268cd1a1b:

#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