esp-protocols icon indicating copy to clipboard operation
esp-protocols copied to clipboard

feat(console): Added component with mqtt command

Open abhik-roy85 opened this issue 1 year ago • 2 comments

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

abhik-roy85 avatar Jan 31 '24 12:01 abhik-roy85

Probably it's because of draft, just missing CI *yml files updates

gabsuren avatar Feb 15 '24 11:02 gabsuren

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.

abhik-roy85 avatar Sep 23 '24 10:09 abhik-roy85