Send Temp Data Using Adafruit Fona GSM Module on Arduino

@Metavix I have tried swapping out my sim card for a different network. Originally I was using an Asda Mobile sim which runs on the EE network here in the UK. I have switched to a Giff Gaff sim which uses the O2 network and this has worked with limited success! I am able to send 1 reading of the temperature sensor and then no more as a load of errors come up. What I would like to be able to do is send a temperature reading once a minute.

Here is the serial output from the almost working code.

Attempting to open comm with ATs
Response of FONA:
CJCJCBg”þ
Error
Response of FONA:
AT

Call Ready

Error
Response of FONA:
AT
OK

Response of FONA:

Error
Response of FONA:
OK

Response of FONA:
OK

Response of FONA:
+CREG: 0,1

OK

Response of FONA:
+CSQ: 5,0

OK

Response of FONA:
+CGATT: 1

OK

Response of FONA:
OK

Response of FONA:
OK

Response of FONA:
OK

Response of FONA:
OK

Response of FONA:
OK

Response of FONA:
+SAPBR: 1,1,“10.146.32.210”

OK

FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:150.00|end
Response of FONA:
OK

Response of FONA:
OK

CONNECT OK

Response of FONA:

Response of FONA:
SEND OK
OK
Response of FONA:
CLOSE OK

Response of FONA:
SHUT OK

FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:151.00|end
Response of FONA:
OK

Response of FONA:
OK

Error with AT+CIPSTART
FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:151.00|end
Response of FONA:
ERROR

Error with AT+CIPMUX
FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:151.00|end
Response of FONA:
ERROR

Error with AT+CIPMUX
FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:150.00|end
Response of FONA:
ERROR

Error with AT+CIPMUX
FONA/2.0|POST|s434XNIutmFxxrTtlN7Wmu5EJdo1xl|FONA=>Variable_Label:150.00|end

@StevieG Great We have a breakthrough
This is an error of the GPRS red, i will fix it but now you have a connection! i work on that now

thank you very much! Any idea about the errors when using the Asda Mobile (EE) sim?

well you get STATE: PDP DEACT it is an error when you have a context deactivated. It is likely that this mobile operator does not support TCP connections

Oh okay, thank you and thanks again for helping me so much! Look forward to hearing back from you with the new library iteration!

@Metavix any luck with the library update?

Yeah, i found 2 problems from fona, when it is low of battery and when it get a call o sms, it sends a message that break normal function of the library, i’m adding code to parse that message to solve that problem.

Ok, thank you very much.

Ok, thank you. Any ETA when it will be finished?

@StevieG 2 or 3 hours i think

Have you had any luck with the library?

@StevieG Well yes but it isn’t totally stable i’m doing test about that

@Metavix

Hey, have you managed to get a stable version working?

@Metavix Any luck with a stable version?

@StevieG Sorry for the late response i was busy some personal projects, yes i found a new method to try it. I will implement it and answer your as fast as possible.