RoboidControl-cpp/UdpArduino.h

20 lines
414 B
C++

#pragma once
#include "Participant.h"
namespace Passer {
namespace RoboidControl {
class UdpArduino : public Participant {
public:
void Setup(int localPort, const char *remoteIpAddress, int remotePort);
void Receive();
bool Send(RemoteParticipant* remoteParticipant, int bufferSize);
bool Publish(IMessage *msg);
protected:
void GetBroadcastAddress();
};
} // namespace Control
} // namespace Passer