0

Failure of "Adafruit IO Basics: Digital Input" test example
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Failure of "Adafruit IO Basics: Digital Input" test example

by RDFowler on Sun May 01, 2016 4:42 pm

I have a FONA 808, and I am attempting to use the test sketch:
"adafruit-io-basics\arduino_fona\digital_in"
I am using a TING GMS SIM X1 that I also purchased from Adafruit.
As per the instructions, I put in values for, AIO_USERNAME and AIO_KEY. I also put in the TING APN value "wholesale".
I used the "FONAtest" sketch and the card works perfectly; however, when I try to run "digital_in", I get the following errors:

Adafruit IO Example
Initializing FONA....(May take a few seconds)
Attempting to open comm with ATs
---> AT
<---
---> AT
<---
---> AT
<---
---> AT
<--- ÿ
---> AT
<--- AT
---> AT
<--- AT
---> ATE0
<--- +CPIN: READY
---> ATE0
<--- OK
---> AT+CVHU=0
<--- OK
---> ATI
<--- SIM808 R14.18

OK

FONA is OK
Checking for network...
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,2
---> AT+CREG?
<--- +CREG: 0,1
Disabling GPRS
---> AT+CIPSHUT
<--- SHUT OK
---> AT+SAPBR=0,1
<--- +CME ERROR: operation not allowed
Enabling GPRS
---> AT+CIPSHUT
<--- SHUT OK
---> AT+CGATT=1
<--- +CME ERROR: unknown
Failed to turn GPRS on
Retrying FONA

RDFowler
 
Posts: 6
Joined: Sun Feb 21, 2016 9:36 pm

Please be positive and constructive with your questions and comments.