Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching function for call to 'Adafruit_FONA::Adafruit_FONA(SoftwareSerial*, int)' #10

Open
axcheron opened this issue Aug 6, 2015 · 4 comments

Comments

@axcheron
Copy link

axcheron commented Aug 6, 2015

When ENABLE_GSM is defined, I get a No matching function for call to Adafruit_FONA::Adafruit_FONA(SoftwareSerial, int)'*

I was able to fix the problem by replacing:

SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX);
Adafruit_FONA fona = Adafruit_FONA(&fonaSS, FONA_RST);

[snip]

// See if the FONA is responding
  while (! fona.begin(4800)) {  // make it slow so its easy to read!

to

SoftwareSerial fonaSS = SoftwareSerial(FONA_TX, FONA_RX);
SoftwareSerial *fonaSerial = &fonaSS;

Adafruit_FONA fona = Adafruit_FONA(FONA_RST);

[snip]

// See if the FONA is responding
  fonaSerial->begin(4800);
  while (! fona.begin(*fonaSerial)) {  // make it slow so its easy to read!

But I get Low memory available, stability problems may occur. (Issue #5)

@muhdarifr95
Copy link

I've encounter same problem too, once the code has been upload the circuit not working as planned

@icaruspony
Copy link

Did anyone figure this out?

@samyk
Copy link
Owner

samyk commented Jul 6, 2017

@JaspaJami
Copy link

JaspaJami commented Jan 4, 2018

Im using your FONA library samyk, but still getting same error
EDIT: seems that is was anyway somehow using wrong one. I removed all FONA librarys and but your version again and no same error anymore. Now i have errors from RF24 but i will but those to different bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants