Skip to content

Commit

Permalink
Merge pull request #418 from mleair/master
Browse files Browse the repository at this point in the history
Allow spaces after AT command
  • Loading branch information
tschak909 authored Dec 22, 2020
2 parents 00db062 + dc5263c commit 796138d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sio/modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,8 @@ void sioModem::at_handle_dial()
port = "23"; // Telnet default
}

util_string_trim(host); // allow spaces or no spaces after AT command

Debug_printf("DIALING: %s\n", host.c_str());

if (host == "5551234") // Fake it for BobTerm
Expand Down

0 comments on commit 796138d

Please sign in to comment.