Skip to content

Commit

Permalink
Transports/IridiumSBD: Added line termination after message sending, …
Browse files Browse the repository at this point in the history
…for 9523N modems.
  • Loading branch information
luis109 committed May 16, 2024
1 parent d0b8e80 commit c6e3601
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Transports/IridiumSBD/Driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit c6e3601

Please sign in to comment.