Skip to content

Commit

Permalink
DAN-1782: add connect to succesful response
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doe committed Mar 29, 2022
1 parent 62038d7 commit bd9e934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion at/at.go
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ func parseCmdID(cmdLine string) string {
// parseRxLine parses a received line and identifies the line type.
func parseRxLine(line string, cmdID string) rxl {
switch {
case line == "OK" || line == "SEND OK":
case line == "OK" || line == "SEND OK" || line == "CONNECT":
return rxlStatusOK
case strings.HasPrefix(line, "ERROR"),
strings.HasPrefix(line, "+CME ERROR:"),
Expand Down

0 comments on commit bd9e934

Please sign in to comment.