RoboidControl-cpp/Arduino/Participant.h
Pascal Serrarens 814df25aba First steps
2025-02-21 17:59:50 +01:00

22 lines
487 B
C++

#pragma once
#include "../Participant.h"
namespace Passer {
namespace RoboidControl {
namespace Arduino {
class Participant : public RoboidControl::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 Arduino
} // namespace RoboidControl
} // namespace Passer