mirror of
https://github.com/BotChain-Robots/rpc.git
synced 2026-03-09 23:12:27 +01:00
Don't send sequence number so that we can hash and cache messages on board
This commit is contained in:
@@ -41,7 +41,7 @@ int MessagingInterface::send(uint8_t *buffer, const size_t size, const uint8_t d
|
|||||||
|
|
||||||
Flatbuffers::MPIMessageBuilder builder;
|
Flatbuffers::MPIMessageBuilder builder;
|
||||||
const auto [mpi_buffer, mpi_size] = builder.build_mpi_message(
|
const auto [mpi_buffer, mpi_size] = builder.build_mpi_message(
|
||||||
Messaging::MessageType_PTP, PC_MODULE_ID, destination, m_sequence_number++, durable, tag,
|
Messaging::MessageType_PTP, PC_MODULE_ID, destination, 0, durable, tag,
|
||||||
std::vector<uint8_t>(buffer, buffer + size));
|
std::vector<uint8_t>(buffer, buffer + size));
|
||||||
|
|
||||||
std::shared_lock lock(m_client_mutex);
|
std::shared_lock lock(m_client_mutex);
|
||||||
|
|||||||
Reference in New Issue
Block a user