10 using namespace Rebot;
13 :
RebotProtocol0(tcpCommunicator), _lastSendTime(std::chrono::steady_clock::
now()) {
32 std::vector<uint32_t> writeCommandPacket;
33 writeCommandPacket.push_back(MULTI_WORD_WRITE);
35 writeCommandPacket.push_back(registerInfo.
nWords);
36 for(
unsigned int i = 0; i < registerInfo.
nWords; ++i) {
37 writeCommandPacket.push_back(data[i]);
48 _tcpCommunicator->write(std::vector<uint32_t>({HELLO_TOKEN, MAGIC_WORD, CLIENT_PROTOCOL_VERSION}));