uses pushing box to publish to google spreadsheets with a state machine instead of a while loop
Fork of GSM_PUSHING_BOX_STATE_MACHINE by
Diff: gsmqueue.cpp
- Revision:
- 27:fe1c7eaf5b88
- Parent:
- 24:7d2ff444d6d8
- Child:
- 29:bc5f53f2922a
diff -r 838a9d26e8e9 -r fe1c7eaf5b88 gsmqueue.cpp --- a/gsmqueue.cpp Sun Apr 12 03:09:15 2015 +0000 +++ b/gsmqueue.cpp Tue Apr 14 04:11:57 2015 +0000 @@ -56,11 +56,11 @@ // not follow it with a "\r".) Thus we need to simply add "\n" because the "\r" is // already added by the gsm.puts command. } - pc.printf("C:%s\r\n", sPtr); //&debug - to know we have sent this message + //pc.printf("C:%s\r\n", sPtr); //&debug - to know we have sent this message } else //Else: error message { - pc.printf("Error: AT command exceeded maximum length"); + //pc.printf("Error: AT command exceeded maximum length"); gsm_reset(); } }