RoboidControl-cpp/UdpArduino.h
2025-02-19 17:54:55 +01:00

20 lines
375 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(IMessage *msg);
bool Publish(IMessage *msg);
protected:
void GetBroadcastAddress();
};
} // namespace Control
} // namespace Passer