Skip to content

Commit 492acd5

Browse files
committed
fixed QoS level brief explaination
1 parent 3f6dd99 commit 492acd5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ def will_set(self, topic=None, payload=None, qos=0, retain=False):
204204
:param int,float,str payload: Last will disconnection payload.
205205
payloads of type int & float are converted to a string.
206206
:param int qos: Quality of Service level, defaults to
207-
zero. Conventional options are ``0`` (send at least once), ``1``
208-
(send at most once), or ``2`` (send exactly once).
207+
zero. Conventional options are ``0`` (send at most once), ``1``
208+
(send at least once), or ``2`` (send exactly once).
209209
210210
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
211211
:param bool retain: Specifies if the payload is to be retained when
@@ -418,8 +418,8 @@ def publish(self, topic, msg, retain=False, qos=0):
418418
:param str,int,float msg: Data to send to the broker.
419419
:param bool retain: Whether the message is saved by the broker.
420420
:param int qos: Quality of Service level for the message, defaults to
421-
zero. Conventional options are ``0`` (send at least once), ``1``
422-
(send at most once), or ``2`` (send exactly once).
421+
zero. Conventional options are ``0`` (send at most once), ``1``
422+
(send at least once), or ``2`` (send exactly once).
423423
424424
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
425425
@@ -524,8 +524,8 @@ def subscribe(self, topic, qos=0):
524524
element should be a tuple containing a topic identifier string and
525525
qos level integer.
526526
:param int qos: Quality of Service level for the topic, defaults to
527-
zero. Conventional options are ``0`` (send at least once), ``1``
528-
(send at most once), or ``2`` (send exactly once).
527+
zero. Conventional options are ``0`` (send at most once), ``1``
528+
(send at least once), or ``2`` (send exactly once).
529529
530530
.. note:: Only options ``1`` or ``0`` are QoS levels supported by this library.
531531

0 commit comments

Comments
 (0)