SIM808 (FONA), good signal but no IP (ERROR: Timeout when calling AT+CIFSR)


#1

I’m having trouble getting my FONA808 online with my Hologram SIM card. It worked once or twice a few days ago, but now nothing. Here’s the debug output from the attempts:

DEBUG: Write Modem Serial = AT

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+IPR=9600

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CPIN?

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = +CPIN: READY
DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = +CSQ: 8,0
DEBUG: Write Modem Serial = AT+CMGF=1

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CIPSHUT

DEBUG: Modem Serial Buffer = OK
DEBUG: Modem Serial Buffer = SHUT OK
DEBUG: Write Modem Serial = AT+CSQ

DEBUG: Modem Serial Buffer = +CSQ: 8,0
DEBUG: Write Modem Serial = AT+CGATT?

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CIPMUX=1

DEBUG: Modem Serial Buffer = +CGATT: 0
DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CSTT="hologram"

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CIICR

DEBUG: Modem Serial Buffer = OK
DEBUG: Write Modem Serial = AT+CIFSR

ERROR: Timeout when calling AT+CIFSR
 | elapsed ms = 0
ERROR: failed at +CIFSR

It fails at the same point every time. Any tips?


#2

Thanks for reporting this issue @dsegel. I’m digging through some bins to find my FONA 808. Let me see if I can confirm the issue.


#3

Our FONA808 must have been a casualty of our recent office move. I went ahead and ordered a new one from Adafruit.

In the meantime, after the module fails at CIFSR send command AT+CIPSTATUS. The state will tell us why the module is not giving you a local IP address.


Move SIM to new device?
#4

I got this one working after some more fiddling with the SIMCOM library.


#5

Have the same problem. @dsegel can you post the solution that you have found? Thanks in advandce!