MQTT username limitation?

Hi!

I'm testing ubidots, which require a 35 character long username to connect with MQTT. This fails, and mqtt_connect gives me error -12 ENOMEM. The same code works fine without if user_name = NULL (as in the simple mqtt sample).

Can these limitations be bypassed somehow?

Thank you all!

Kind regards,

Torje Johansen

Parents
  • Hi Torje, it sounds like the issue may be related to the MQTT client’s memory or username length limitations rather than Ubidots itself. It might be worth checking the client’s documentation and available configuration options to see whether the username buffer can be adjusted or handled differently. Also, if you’re simply looking for alternative username ideas for testing, I came across this resource for rare usernames, which offers some interesting options and may be useful.

Reply
  • Hi Torje, it sounds like the issue may be related to the MQTT client’s memory or username length limitations rather than Ubidots itself. It might be worth checking the client’s documentation and available configuration options to see whether the username buffer can be adjusted or handled differently. Also, if you’re simply looking for alternative username ideas for testing, I came across this resource for rare usernames, which offers some interesting options and may be useful.

Children
No Data
Related