Unable to restart fona GPRS

Adafruit cellular platform - SMS and IoT over celluar

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Nakul93
 
Posts: 1
Joined: Thu Aug 17, 2017 4:35 am

Unable to restart fona GPRS

Post by Nakul93 »

In my code I use Wifi and GSM to send data over the internet. So my code works this way if wifi fails it switches to GSM and if wifi is available again then it will switchback to wifi and now if wifi fails again it is unable to switch to GSM as enableGPRS function returns false every time.

Any help would be appreciated.

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Unable to restart fona GPRS

Post by adafruit_support_rick »

Is this a FONA or a FONA 3G?

Please go into the FONA library folder and edit the file includes/FONAConfig.h. Uncomment the line that defines the symbol ADAFRUIT_FONA_DEBUG:

Code: Select all

/* ADAFRUIT_FONA_DEBUG
 * When defined, will cause extensive debug output on the
 * DebugStream set in the appropriate platform/ header.
 */

#define ADAFRUIT_FONA_DEBUG
Post the complete Serial Monitor trace showing the problem.

Locked
Please be positive and constructive with your questions and comments.

Return to “FONA”