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 #49

Open
abaubi opened this issue Jan 3, 2019 · 2 comments
Open

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

abaubi opened this issue Jan 3, 2019 · 2 comments

Comments

@abaubi
Copy link

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

Originally posted by @abaubi in #48 (comment)

@pablopescador
Copy link

pablopescador commented Jun 18, 2019

Hi Martin,
grüezi aus München,
Wie kann ich die ESP8266 (mit esp_mqtt) mit ADAFRUIT.IO binden. Ich habe verschiedene form für die Verbindung aber habe ich bis jetzt keine erfolgt.
Vielen dank im Voraus,
SG,
Pablo.
p.s.: meine Key hat 32 Zeichen :( (ich habe schon beim config_flash.h probiert so:

#ifdef MQTT_CLIENT
uint8_t mqtt_host**[64]**; // IP or hostname of the MQTT broker, "none" if empty
uint16_t mqtt_port; // Port of the MQTT broker
uint8_t mqtt_ssl; // Use SSL (default: no)

uint8_t     mqtt_user**[64]**;	// Username for broker login, "none" if empty
uint8_t     mqtt_password**[64]**; // Password for broker login
uint8_t mqtt_id[48];    // MQTT clientId

aber leider dann der chip hat einen komische Verhalten gehabt.

@Goltergaul
Copy link

Hi, I have the same problem, but with the hostname of the external mqtt server. i got one from hivemq, which is pretty long. unfortunately it gets truncated. Is there any way around this?

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

3 participants