From b5f9cd2581bfd3330a1f2fee286bcc7ee271a37e Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 18 Sep 2016 20:55:46 +0300 Subject: [PATCH] umqtt.simple: README: Mention set_last_will(). --- umqtt.simple/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/umqtt.simple/README.rst b/umqtt.simple/README.rst index d9952a4c..d9d09b97 100644 --- a/umqtt.simple/README.rst +++ b/umqtt.simple/README.rst @@ -54,6 +54,8 @@ follows MQTT control operations, and maps them to class methods: * ``publish()`` - Publish a message. * ``subscribe()`` - Subscribe to a topic. * ``set_callback()`` - Set callback for received subscription messages. +* ``set_last_will()`` - Set MQTT "last will" message. Should be called + *before* connect(). * ``wait_msg()`` - Wait for a server message. A subscription message will be delivered to a callback set with set_callback(), any other messages will be processed internally.