Skip to content

Commit f0e5bfc

Browse files
Allow the modem to list multiple CIDs
1 parent de10446 commit f0e5bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GPRS.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ int GPRS::ready()
127127
_state = GPRS_STATE_IDLE;
128128
_status = ERROR;
129129
} else {
130-
if (_response.endsWith("1,1")) {
130+
if (_response.indexOf("1,1") >= 0) {
131131
_state = GPRS_STATE_IDLE;
132132
_status = GPRS_READY;
133133
ready = 1;

0 commit comments

Comments
 (0)