itead / ITEADLIB_Arduino_SIMCom

GSM GPRS GPS Bluetooth for SIM800/808/900/908 Shield Library
GNU General Public License v2.0
61 stars 30 forks source link

Memory Issues #3

Open solankigithub opened 8 years ago

solankigithub commented 8 years ago

Hi, I am facing memory issues, after including this library in my Arduino UNO. Is there any way optimizing the library to consume less memory ?

Thanks Sandeep

solankigithub commented 8 years ago

The method inet.attachGPRS("airtelgprs.com", "", "") consume 400 bytes of SRAM. Is there any scope to refine it ?

Thanks Sandy

vshymanskyy commented 7 years ago

You could try using TinyGSM: http://tiny.cc/TinyGSM It currently supports only GPRS.

dmnc-net commented 6 years ago

Hi @solankigithub , I found this library right now and it seems to be a copy (not regular fork) of the MarcoMartines/GSM-GPRS-GPS-Shield library which has more than one initial commit. This repo seems to be abandoned.

Did you solve your memory problem? I'm still looking for some good library for SIM808, this one (resp. Marco's) is promissing, DFRobot/DFRobot_SIM808 too. At this moment I'm prototyping on the TinyGMS library but I don't like it due to dynamic memory allocation (String objects), all code in header files and huge variables (i.e. int for storing values from 1 to 12 ... here) ... my Uno is rebooting itself or freezing after some days of uptime.

vshymanskyy commented 6 years ago

@dmnc-net the code you're referencing to, is contributed by TinyGSM community. It's open-source, you can change it to whatever you want ;)