• sales

    +86-0755-88291180

MQTT password

2025-01-07 03:40:13 Ask


Hello.
I use the RP2040 ETH to communicate with an MQTT broker. That works so far. 
But as soon as I assign a user and a password for the broker, no more data arrives at the broker. 
How can I set the password and user for the broker in the script?

Greetings Robert


MQTT Broker Password
1answers
SpotPearGuest9a52c
Answer time:
2025-01-07 10:20:28

If you set an account and password, there should be verification. You need to find out when to verify the password in the message (you can use the mqtt client and server to test, and view the detailed message received in the server), and then convert the account and password into a message and send it. However, we have not tested it, so you need to study it yourself.


Like0

report