@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
Oû
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