diff --git a/include/mav/Network.h b/include/mav/Network.h index 90b5fa6..5988b42 100644 --- a/include/mav/Network.h +++ b/include/mav/Network.h @@ -405,6 +405,10 @@ namespace mav { _heartbeat_message = std::nullopt; } + void injectMessage(Message &message) { + _sendMessage(message, {}); + } + void stop() { _interface.close(); _should_terminate.store(true);