vittorioexp / Sim800L-Arduino-Library-revised

The SIM800L Arduino Library is a simple and easy-to-use library for the SIM800L module, allowing for quick and efficient communication with the module using the Arduino platform.
GNU General Public License v3.0
101 stars 46 forks source link

Can it be made to work with ESP32? request / not an issue #25

Open mandgeo opened 3 years ago

mandgeo commented 3 years ago

I'm searching for a library that can be used with ESP32 and a gsm module (not a real sim900l, but seems to work like it). Your library seems to make esp talk with my module, but not in the correct way. Example. getInformation.ino. It pulls some response from the module , but in a fragmented way. get product info prints ATI (the AT command sent to device), operator list prints one word from the response and operator the other word. I've tried to change readSerial from char by char reading to readStringUntil, but with no succes. I'm using one of the hardware ports of esp.

Thanks!

vittorioexp commented 3 years ago

Yes, with a little bit of effort it can be made compatible with ESP32 by defining specific behaviors for that device between include guards within .h and .cpp files. Unfortunately, I don't have much time. Thank you for your interest.

vvzvlad commented 2 years ago

Yes, I was also planning to use the library with ESP32 and it didn't work. There are a lot of people here waiting for a fix :)

vittorioexp commented 1 year ago

If you solved the issues feel free to submit it with a pull request