! * \brief Sets whether the user wants to use will message or not * * \param use */
| 656 | * \param use |
| 657 | */ |
| 658 | void MQTTClient::setMQTTWillUse(bool use) { |
| 659 | m_MQTTWill.enabled = use; |
| 660 | if (use == false) |
| 661 | m_willTimer->stop(); |
| 662 | } |
| 663 | |
| 664 | /*! |
| 665 | * \brief Returns whether the user wants to use will message or not |