esp-protocols
esp-protocols copied to clipboard
feat(console): Added component with mqtt command
mqtt [-CsD] [-h <host>] [-u <username>] [-P <password>] [--cert] [--key] [--cafile]
mqtt command
-C, --connect Connect to a broker (flag, no argument)
-h, --host=<host> Specify the host uri to connect to
-s, --status Displays the status of the mqtt client (flag, no argument)
-u, --username=<username> Provide a username to be used for authenticating with the broker
-P, --password=<password> Provide a password to be used for authenticating with the broker
--cert Define the PEM encoded certificate for this client, if required by the server (flag, no argument)
--key Define the PEM encoded private key for this client, if required by the server (flag, no argument)
--cafile Define the PEM encoded CA certificates that are trusted (flag, no argument)
-D, --disconnect Disconnect from the broker (flag, no argument)
mqtt_pub [-t <topic>] [-m <message>]
mqtt publish command
-t, --topic=<topic> Topic to Subscribe/Publish
-m, --message=<message> Message to Publish
mqtt_sub [-U] [-t <topic>]
mqtt subscribe command
-t, --topic=<topic> Topic to Subscribe/Publish
-U, --unsubscribe Unsubscribe from a topic
Probably it's because of draft, just missing CI *yml files updates
One last comment, we have client cert and keys added as empty files. Is that correct?
Yes, the client cert and keys are empty. I am only providing the mosquitto.org.crt same as idf example.