0

Can't Connect to AIO anymore.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Can't Connect to AIO anymore.

by dotpan on Fri Nov 17, 2017 3:42 am

Here's my code: https://github.com/seckela/anonChatCounter
My config.h is textbook, I've double-checked my username and AIO Key.

I confirm a wifi connection (both through monitor and DHCP Table).

io.status( ) just keeps returning a 1 (AIO_NET_DISCONNECTED).

Any help would be amazing!

dotpan
 
Posts: 12
Joined: Fri Sep 30, 2016 7:30 pm

Re: Can't Connect to AIO anymore.

by dotpan on Fri Nov 17, 2017 4:05 am

I've figured it out. I was trying to connect to wifi then connect using io.connect(), which causes an issue because io.connect() handles the wifi connection, but it can't resolve since I already have the channel tied up with the initial wifi connection.

dotpan
 
Posts: 12
Joined: Fri Sep 30, 2016 7:30 pm

Please be positive and constructive with your questions and comments.