Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: "MQTT client user" too short for my cloud broker #48

Closed
abaubi opened this issue Dec 31, 2018 · 3 comments
Closed

Request: "MQTT client user" too short for my cloud broker #48

abaubi opened this issue Dec 31, 2018 · 3 comments

Comments

@abaubi
Copy link

abaubi commented Dec 31, 2018

Hi Martin,

First of all congratulate you for your great job.

I have a request for you. I can't publish or subscribe anything from my cloud broker because my "MQTT client user" is used as the TOKEN to connect to it and it is too short, in fact, it is too short for just 3 characters.

In addition to this, there are some cloud brokers that they need a longer "MQTT_client password" too.

By the way, there are a correction to do in the readme file in your github:
set mqtt_user password: Password for authentication -> set mqtt_password password...

I'd really appreciate you could increase the size of this configuration variables in next firmware update.

Thanks and keep it up!

CMD>show
Version V2.0.7 (build: Thu Jul 19 08:06:57 2018)
STA: SSID:TP-LINK_XXXXXX PW:XXXXXXXXXX
AP: SSID:MyAP PW:none [open] IP:192.168.4.1/24
Network console access on port 7777 (mode 3)
MQTT broker max. subscription: 30
MQTT broker max. retained messages: 30
MQTT client enabled
MQTT client host: XX.XX.XX.XX
MQTT client port: 1883
MQTT client user: XXX-ur1EjikpRuXXxNvd1Vua1r11aYh (3 characters are missing from my conf!!!)
MQTT client password:
MQTT client id: ESPBroker_23d0ad
MQTT SSL: off
NTP server: 1.pool.ntp.org (interval: 300 s, tz: 0)
Clock speed: 80
Serial bitrate: 115200

@martin-ger
Copy link
Owner

Extended it to 47 bytes.

@abaubi
Copy link
Author

abaubi commented Jan 3, 2019

Hi martin

I tested the new version, as you can see, mqtt_user and mqtt_password are still truncated. MQTT client is still disconnected.

I stay tunned for next version.

Regards

CMD>show
Version V2.0.8 (build: Wed Jan 2 07:52:51 2019)
STA: SSID:XX-XXXX_XXXXXX PW:XXXXXXXXXX
AP: SSID:MyAP PW:none [open] [disabled] IP:192.168.4.1/24
Network console access on port 7777 (mode 3)
MQTT broker max. subscription: 30
MQTT broker max. retained messages: 30
MQTT client enabled
MQTT client host: XXXXXXXXXXXXX
MQTT client port: 1883
MQTT client user: XXX-ur1EjikpRuXXxNvd1Vua1r11aYh ->(Still truncated)
MQTT client password: XXX8545XXX204ea7bXXXfe42ebXXXf6e ->(Still truncated)
MQTT client id: ESPBroker_07b533
MQTT SSL: off
NTP server: 1.pool.ntp.org (interval: 300 s, tz: 0)
Clock speed: 80
Serial bitrate: 115200

@martin-ger
Copy link
Owner

Sorry, you were asking for the mqtt_id. You may fix it yourself easily be recompiling it with changed constants in user_config.h. We do it in the next version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants