Random Wrong Syntax Errors.
Posted: Sun Jan 18, 2015 10:04 pm
I am using "ThingSpeak" as one of my test targets as I get my application worked out. I am having a lot of trouble getting this module to work reliably. I have followed advice of other posts and added additional filtering on the power lines as well as higher current power supply to no avail. Here is the basic flow:
Temperature sensors begin.....Locating devices...
Found 1 devices.
Parasite power is: OFF
In function updateTemperatures
Updating ThingSpeak
AT+CIPSTART=4,"TCP","184.106.153.149",80
busy p...
OK
Linked
RECEIVED: Linked in updateThingSpeak CIPSTART command
AT+CIPSEND=4,46
>
GET /update?key=8C7E999NDBU5XPER&field1=73.8
busy s...
SEND OK
RECEIVED: SEND OK in updateThingSpeak in CIPSEND command
+IPD,4,5:23966
OK
AT+CIPCLOSE=4
OK
Unlink
This will work for some times 10 times, 20 times, or 2 times. Eventually, I wind up with following error with the module not able to send any further updates:
In function updateTemperatures
Updating ThingSpeak
AT+CIPSTART=4,"TCP","184.106.153.149",80
busy p...
OK
Linked
RECEIVED: Linked in updateThingSpeak CIPSTART command
AT+CIPSEND=4,46
>
GET /update?key=8C7E999NDBU5XPER&field1=73.8
wrong syntax
ERROR
SEND OK
RECEIVED: SEND OK in updateThingSpeak in CIPSEND command
+IPD,4,5:23968
OK
AT+CIPCLOSE=4
OK
Unlink
How is it possible to wind up with wrong syntax when the syntax worked in the past loop? What is busy p... and how do I handle this return in my code?
Thanks,
Stephen
Temperature sensors begin.....Locating devices...
Found 1 devices.
Parasite power is: OFF
In function updateTemperatures
Updating ThingSpeak
AT+CIPSTART=4,"TCP","184.106.153.149",80
busy p...
OK
Linked
RECEIVED: Linked in updateThingSpeak CIPSTART command
AT+CIPSEND=4,46
>
GET /update?key=8C7E999NDBU5XPER&field1=73.8
busy s...
SEND OK
RECEIVED: SEND OK in updateThingSpeak in CIPSEND command
+IPD,4,5:23966
OK
AT+CIPCLOSE=4
OK
Unlink
This will work for some times 10 times, 20 times, or 2 times. Eventually, I wind up with following error with the module not able to send any further updates:
In function updateTemperatures
Updating ThingSpeak
AT+CIPSTART=4,"TCP","184.106.153.149",80
busy p...
OK
Linked
RECEIVED: Linked in updateThingSpeak CIPSTART command
AT+CIPSEND=4,46
>
GET /update?key=8C7E999NDBU5XPER&field1=73.8
wrong syntax
ERROR
SEND OK
RECEIVED: SEND OK in updateThingSpeak in CIPSEND command
+IPD,4,5:23968
OK
AT+CIPCLOSE=4
OK
Unlink
How is it possible to wind up with wrong syntax when the syntax worked in the past loop? What is busy p... and how do I handle this return in my code?
Thanks,
Stephen