0

Error code explanation
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Error code explanation

by adafruit_support_carter on Sun Dec 30, 2018 2:02 pm

I think you might be using an older example that is trying to read too often and eventually causing the server to lock you out.

Long ago, there was the MQTT library:
https://github.com/adafruit/Adafruit_MQTT_Library
and Adafruit IO was in beta test.

Adafruit IO now has the limits mentioned above for the free subscription level. And now there is the Adafuit IO library (it uses MQTT under the hood). Switch to using this newer library:
https://github.com/adafruit/Adafruit_IO_Arduino
There's a whole series of guides:
https://learn.adafruit.com/series/adafruit-io-basics

Looks like you are using a FONA. The guides look like they are all using an ESP8266. So might take some adapting to use with FONA. But the Adafruit IO library does support FONA:
https://github.com/adafruit/Adafruit_IO ... tIO_FONA.h
I think you just need to make changes to the config.h file in each example:
https://github.com/adafruit/Adafruit_IO ... nfig.h#L25

adafruit_support_carter
 
Posts: 9729
Joined: Tue Nov 29, 2016 2:45 pm

Re: Error code explanation

by jeffrey on Mon Dec 31, 2018 12:51 pm

Thanks!

I tried the pubsub example. The config.h file tells you to comment out the wifi section and uncomment the fona section, so I did that. It doesn't appear to be connecting the fona to the cell network, though. I thought the code to connect to the cell network would be been included when you uncommented the lines, but I guess not.

jeffrey
 
Posts: 31
Joined: Sat May 12, 2012 8:04 pm

Re: Error code explanation

by adafruit_support_carter on Wed Jan 02, 2019 2:40 pm

Just to be clear on what you are using - is it a Feather 32u4 FONA?
https://www.adafruit.com/product/3027

adafruit_support_carter
 
Posts: 9729
Joined: Tue Nov 29, 2016 2:45 pm

Re: Error code explanation

by jeffrey on Wed Jan 02, 2019 4:44 pm

I am using an Uno with the Fona 808 shield.

jeffrey
 
Posts: 31
Joined: Sat May 12, 2012 8:04 pm

Please be positive and constructive with your questions and comments.