From c6e36017e24769704be20cfa546cfe9ed3f38085 Mon Sep 17 00:00:00 2001 From: Luis Venancio Date: Thu, 16 May 2024 11:50:27 +0100 Subject: [PATCH] Transports/IridiumSBD: Added line termination after message sending, for 9523N modems. --- src/Transports/IridiumSBD/Driver.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Transports/IridiumSBD/Driver.hpp b/src/Transports/IridiumSBD/Driver.hpp index b8f20bcd2f..00a040eb4c 100644 --- a/src/Transports/IridiumSBD/Driver.hpp +++ b/src/Transports/IridiumSBD/Driver.hpp @@ -488,6 +488,12 @@ namespace Transports uint8_t csum[2] = {0}; computeChecksum(data, data_size, csum); sendRaw(csum, sizeof(csum)); + + if (m_use_9523) + { + uint8_t* term = (uint8_t*)getLineTermOut().c_str(); + sendRaw(term, getLineTermOut().size()); + } // Read response. std::string line = readLine();