vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.93k stars 715 forks source link

TinyGsmDecodeHex8bit #526

Open yaroshd81 opened 3 years ago

yaroshd81 commented 3 years ago

Some telecom operators respond to a ussd request longer than 128 characters. In this case, we will not be able to exit the TinyGsmDecodeHex8bit function. It is necessary to change the declaration of the increment: "uint8_t i" -> "uint16_t i"

yaroshd81 commented 3 years ago

This problem can be in function TinyGsmDecodeHex16bit too

SRGDamia1 commented 3 years ago

Can you submit a PR with the proposed fix?