Commit 3e87b1f
committed
Accept error messages like '+CME ERROR:58' without a space after ':'
My A6 GSM modem returns such error codes. This caused the library to
hang, waiting for a response indefinitely. After this change modem
initialization succeeds and it's possible to send SMS messages etc.
It could be also the cause of #24, the symptoms are very similar.1 parent 834c68b commit 3e87b1f
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments