0

MQTT server connection failed
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

MQTT server connection failed

by ellim on Sun Apr 14, 2019 5:22 pm

Hello!

I've connected a BNO055 imu to a feather 32u4 ble.

I've connected them to bluefruit and am getting the uart stream in the proper CSV format that shows up just fine on the plotter.

I've tried to connect to io.adafruit.com with the MQTT settings panel, and it works for a few seconds, with the feed showing plotted data, then it disconnects.

I've followed this tutorial: https://learn.adafruit.com/bluefruit-le-connect/mqtt

Any help with getting the connection to stop failing would be greatly appreciated!

ellim
 
Posts: 1
Joined: Sun Apr 14, 2019 4:05 pm

Re: MQTT server connection failed

by Sam43054 on Mon Apr 15, 2019 12:59 pm

Hi

A few questions

Does the feather 32u4 ble. have the latest firmware ?

What platform are you using iOS or Android ? also what version

Is the Bluefruit App the latest versions

How often are you up loading data in the code?

Sam43054
 
Posts: 52
Joined: Tue Jul 12, 2016 10:13 am

Re: MQTT server connection failed

by heeheejack on Mon Apr 15, 2019 1:21 pm

Thanks for the reply!

I have updated to the latest firmware

Android

I just downloaded it, so it should be the latest blue fruit

It should send data at 50 Hz

Thanks!

heeheejack
 
Posts: 10
Joined: Wed Feb 20, 2019 12:17 am

Re: MQTT server connection failed

by collinmel on Fri Apr 19, 2019 11:47 pm

Hi heeheejack - Have you tried sending data at a slower speed? Adafruit.io has a rate limit of 1Hz:
https://learn.adafruit.com/welcome-to-a ... limit-16-5

collinmel
 
Posts: 50
Joined: Thu Aug 07, 2008 12:16 pm

Please be positive and constructive with your questions and comments.


cron