carrascoacd / ArduinoSIM800L

Arduino HTTP & FTP client for SIM800L/SIM800 boards to perform GET and POST requests to a JSON API as well as FTP uploads.
158 stars 58 forks source link

Fix compilation problems in ESP32 and FTP upload errors #42

Closed carrascoacd closed 4 years ago

carrascoacd commented 4 years ago

@jaka87 new version, I improved the performance of the library :)

jaka87 commented 4 years ago

it think you are missing a file in repo. I get an error

In file included from /home/jaka87/Arduino/libraries/ArduinoSIM800L/src/Ftp.cpp:28:
/home/jaka87/Arduino/libraries/ArduinoSIM800L/src/Ftp.h:33:10: fatal error: SD.h: No such file or directory
   33 | #include <SD.h>
      |          ^~~~~~
compilation terminated.
carrascoacd commented 4 years ago

My bad, sorry. I removed the import. I was playing with the SD library and forgot to remove it

carrascoacd commented 4 years ago

I disabled the DEBUG mode, if you need to debug it, you can add a #define DEBUG true in the first line of your sketch

jaka87 commented 4 years ago

I also removed the SD script and put the new version on my test station few hours ago. I also define debug the same way as you so there will be no change necessary. Will let you know if anything breaks.

It is good to see that you are constantly trying to improve the library.

jaka87 commented 4 years ago

So far so good. I did notice upload speed is significantly faster than before (10-20s faster on average). Nice!