File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1859,11 +1859,11 @@ def on_connect(self, func):
1859
1859
flags: response flags sent by the broker
1860
1860
rc: the connection result
1861
1861
reasonCode: the MQTT v5.0 reason code: an instance of the ReasonCode class.
1862
- ReasonCode may be compared to interger .
1862
+ ReasonCode may be compared to integer .
1863
1863
properties: the MQTT v5.0 properties returned from the broker. An instance
1864
1864
of the Properties class.
1865
1865
For MQTT v3.1 and v3.1.1 properties is not provided but for compatibility
1866
- with MQTT v5.0, we recommand adding properties=None.
1866
+ with MQTT v5.0, we recommend adding properties=None.
1867
1867
1868
1868
flags is a dict that contains response flags from the broker:
1869
1869
flags['session present'] - this flag is useful for clients that are
@@ -1931,7 +1931,7 @@ def on_subscribe(self):
1931
1931
1932
1932
@on_subscribe .setter
1933
1933
def on_subscribe (self , func ):
1934
- """ Define the suscribe callback implementation.
1934
+ """ Define the subscribe callback implementation.
1935
1935
1936
1936
Expected signature for MQTT v3.1.1 and v3.1 is:
1937
1937
subscribe_callback(client, userdata, mid, granted_qos)
You can’t perform that action at this time.
0 commit comments