vshymanskyy / TinyGSM

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

To implement peek() #554

Closed IoTThinks closed 3 years ago

IoTThinks commented 3 years ago

To implement peek() as in https://github.com/vshymanskyy/TinyGSM/issues/396

IoTThinks commented 3 years ago

If I only put the fix in TinyGsmFifo.h only, it doesn't work for my case. When I put in the fix in both TinyGsmFifo.h and TinyGsmTCP.tpp, I can peek() correctly when downloading a bin via TinyGSM.