I'm using botletics / SIM7000-LTE-Shield with Arduino Uno, I selected all examples but all end up with the same Error

C:\Users\lenovo\Documents\Arduino\libraries\SIM7000\Adafruit_FONA.cpp: In member function 'boolean Adafruit_FONA::postData(const char*, uint16_t, const char*, const char*, const char*)':
C:\Users\lenovo\Documents\Arduino\libraries\SIM7000\Adafruit_FONA.cpp:2045:3: error: expected ';' before 'readline'
exit status 1
Error compiling for board Arduino Uno.
  • 1
    do you have some old version of the library? there is no postData function in current Adafruit_FONA.cpp
    – Juraj
    Mar 15 '21 at 13:01
  • There's no "postData" (case sensitive) in any of the files of any of the commits in the Adafruit repo for that library.
    – timemage
    Mar 15 '21 at 15:26

I cloned botletics comparatively gigantic repo. They've modified the Adafruit library without changing the name.

The problem appears to be that you are working out of the current master branch. Switch to the latest tag, 1.1.0, and the SMS_Response example will compile just fine. I didn't try all of the others.

Direct link to the zip file for the 1.1.0 tag.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.