Commit 6bcf2de
Read sms in unsynchronized mode (#33)
* Update arduino-cli binary filename
The arduino-cli binary filename was recently changed, which broke CI builds:
mv: cannot stat ‘arduino-cli-*-linux64’: No such file or directory
* Enable SMS read in unsynch mode
* Fix typo
* Fix name change of binary
* Ensure initialization of sms data end index
* Handle sender number correctly
* Keep track of start of SMS AT response
* Clear buffer
* Clarify header comment
* Adjust _smsDataEndIndex to point at end of SMS
* Revert smscharset additions
* Rewrite to save memory
* Let the available() method advance to next sms as before
* Simplify by removing smsIndexStart
Co-authored-by: per1234 <[email protected]>1 parent 86b4d24 commit 6bcf2de
1 file changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
114 | 113 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
120 | 118 | | |
121 | 119 | | |
122 | 120 | | |
| |||
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | | - | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
210 | | - | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | | - | |
| 216 | + | |
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| |||
0 commit comments