mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 16:43:49 +08:00
Update all mqtt 3.1 references to 3.1.1 where appropriate.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
<refnamediv>
|
||||
<refname>libmosquitto</refname>
|
||||
<refpurpose>MQTT version 3.1 client library</refpurpose>
|
||||
<refpurpose>MQTT version 3.1.1 client library</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1>
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><command>mosquitto</command> is a broker for the MQTT protocol version 3.1.</para>
|
||||
<para><command>mosquitto</command> is a broker for the MQTT protocol version 3.1.1/3.1.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
||||
@@ -521,7 +521,7 @@
|
||||
disconnected. These messages are included in the limit
|
||||
imposed by max_queued_messages. Defaults to
|
||||
<replaceable>false</replaceable>.</para>
|
||||
<para>Note that the MQTT v3.1 spec states that only QoS 1
|
||||
<para>Note that the MQTT v3.1.1 spec states that only QoS 1
|
||||
and 2 messages should be saved in this situation so
|
||||
this is a non-standard option.</para>
|
||||
<para>Reloaded on reload signal.</para>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<refnamediv>
|
||||
<refname>mosquitto_pub</refname>
|
||||
<refpurpose>an MQTT version 3.1/3.1.1 client for publishing simple messages</refpurpose>
|
||||
<refpurpose>an MQTT version 3.1.1/3.1 client for publishing simple messages</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
@@ -79,7 +79,9 @@
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><command>mosquitto_pub</command> is a simple MQTT version 3.1 client that will publish a single message on a topic and exit.</para>
|
||||
<para><command>mosquitto_pub</command> is a simple MQTT version 3.1.1
|
||||
client that will publish a single message on a topic and
|
||||
exit.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
@@ -260,9 +262,9 @@
|
||||
<term><option>--pw</option></term>
|
||||
<listitem>
|
||||
<para>Provide a password to be used for authenticating with
|
||||
the broker. Using this argument without also specifying a
|
||||
username is invalid. This requires a broker that supports
|
||||
MQTT v3.1. See also the <option>--username</option> option.</para>
|
||||
the broker. Using this argument without also specifying
|
||||
a username is invalid. See also the
|
||||
<option>--username</option> option.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
@@ -371,8 +373,8 @@
|
||||
<term><option>--username</option></term>
|
||||
<listitem>
|
||||
<para>Provide a username to be used for authenticating with
|
||||
the broker. This requires a broker that supports MQTT v3.1.
|
||||
See also the <option>--pw</option> argument.</para>
|
||||
the broker. See also the <option>--pw</option>
|
||||
argument.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<refnamediv>
|
||||
<refname>mosquitto_sub</refname>
|
||||
<refpurpose>an MQTT version 3.1 client for subscribing to topics</refpurpose>
|
||||
<refpurpose>an MQTT version 3.1.1/3.1 client for subscribing to topics</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsynopsisdiv>
|
||||
@@ -75,9 +75,9 @@
|
||||
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<para><command>mosquitto_sub</command> is a simple MQTT version 3.1
|
||||
client that will subscribe to a topic and print the messages that it
|
||||
receives.</para>
|
||||
<para><command>mosquitto_sub</command> is a simple MQTT version 3.1.1
|
||||
client that will subscribe to a topic and print the messages that
|
||||
it receives.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
@@ -267,9 +267,9 @@
|
||||
<term><option>--pw</option></term>
|
||||
<listitem>
|
||||
<para>Provide a password to be used for authenticating with
|
||||
the broker. Using this argument without also specifying a
|
||||
username is invalid. This requires a broker that supports
|
||||
MQTT v3.1. See also the <option>--username</option> option.</para>
|
||||
the broker. Using this argument without also specifying
|
||||
a username is invalid. See also the
|
||||
<option>--username</option> option.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
@@ -402,8 +402,8 @@
|
||||
<term><option>--username</option></term>
|
||||
<listitem>
|
||||
<para>Provide a username to be used for authenticating with
|
||||
the broker. This requires a broker that supports MQTT v3.1.
|
||||
See also the <option>--pw</option> argument.</para>
|
||||
the broker. See also the <option>--pw</option>
|
||||
argument.</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
<para><command>MQTT</command> is a lightweight publish/subscribe
|
||||
messaging protocol. It is useful for use with low power sensors, but
|
||||
is applicable to many scenarios.</para> <para>This manual describes
|
||||
some of the features of MQTT version 3.1, to assist end users in
|
||||
some of the features of MQTT version 3.1.1/3.1, to assist end users in
|
||||
getting the most out of the protocol. For more complete information on
|
||||
MQTT, see <uri type="webpage">http://mqtt.org/</uri>.</para>
|
||||
</refsect1>
|
||||
|
||||
+1
-1
@@ -329,7 +329,7 @@ void config__cleanup(struct mosquitto__config *config)
|
||||
static void print_usage(void)
|
||||
{
|
||||
printf("mosquitto version %s (build date %s)\n\n", VERSION, TIMESTAMP);
|
||||
printf("mosquitto is an MQTT v3.1 broker.\n\n");
|
||||
printf("mosquitto is an MQTT v3.1.1 broker.\n\n");
|
||||
printf("Usage: mosquitto [-c config_file] [-d] [-h] [-p port]\n\n");
|
||||
printf(" -c : specify the broker config file.\n");
|
||||
printf(" -d : put the broker into the background after starting.\n");
|
||||
|
||||
+1
-1
@@ -107,7 +107,7 @@ void service_install(void)
|
||||
exe_path, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
if(svc_handle){
|
||||
svc_desc.lpDescription = "MQTT v3.1 broker";
|
||||
svc_desc.lpDescription = "MQTT v3.1.1 broker";
|
||||
ChangeServiceConfig2(svc_handle, SERVICE_CONFIG_DESCRIPTION, &svc_desc);
|
||||
CloseServiceHandle(svc_handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user