Skip to content

Commit

Permalink
Merge branch 'hotfix/v0.6.5-alpha'
Browse files Browse the repository at this point in the history
  • Loading branch information
frdteknikelektro committed Jun 13, 2017
2 parents dc05510 + c3e8471 commit e06c64d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions DTE.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,7 @@ bool DTE::ATResponseContain(const __FlashStringHelper *expected, unsigned long t

bool DTE::ATResponseOk(unsigned long timeout) {
ATResponse(timeout);
if (!isResponseEqual(F("OK")) && !isResponseEqual(F("OK\r"))) return false;
if (available()) clearReceivedBuffer();
setFlowControlStatusDce(false);
return true;
return isResponseOk();
}

bool DTE::isResponseEqual(const char expected[]) {
Expand All @@ -451,7 +448,7 @@ bool DTE::isResponseContain(const __FlashStringHelper *expected) {
}

bool DTE::isResponseOk(void) {
if (!isResponseEqual(F("OK"))) return false;
if (!isResponseEqual(F("OK")) && !isResponseEqual(F("OK\r"))) return false;
if (available()) clearReceivedBuffer();
setFlowControlStatusDce(false);
return true;
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"type": "git",
"url": "https://github.com/Atnic/GSM-library.git"
},
"version": "0.6.4-alpha",
"version": "0.6.5-alpha",
"license": "MIT",
"frameworks": ["arduino"],
"platforms": ["atmelavr"]
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=GSM Library
version=0.6.4-alpha
version=0.6.5-alpha
author=Farid Inawan
maintainer=Farid Inawan <[email protected]>
sentence=Library for GSM module
Expand Down

0 comments on commit e06c64d

Please sign in to comment.