We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6cba3c commit de10446Copy full SHA for de10446
src/NB_SMS.cpp
@@ -394,7 +394,7 @@ int NB_SMS::peek()
394
return *_ptrUTF8;
395
}
396
if (_smsDataIndex < (signed)_incomingBuffer.length() && _smsDataIndex <= _smsDataEndIndex) {
397
- char c = _incomingBuffer[_smsDataIndex++];
+ char c = _incomingBuffer[_smsDataIndex+1];
398
if (_charset == SMS_CHARSET_GSM
399
&& (c >= 0x80 || c <= 0x24 || (c&0x1F) == 0 || (c&0x1F) >= 0x1B)) {
400
for (auto &gsmchar : _gsmUTF8map) {
0 commit comments