Hi There,
I need to use Will Topic on sketch but
I have experiencing problem when using Will topic on example mqtt esp8266.ino
The problem arise when I added
mqtt.will("/feed/test","offline");
I added those code before mqtt.connect
error log
and I try to change the code like this
Adafruit_MQTT.will("/feed/test","offline");
error log
I'm Using :
Arduino IDE : 1.8.12
Adafruit Mqtt Library : 2.1.0
Library installed from Library Manager
Please help to get ride from this problem , or maybe example sketch for using Will topic
Hi There, I need to use Will Topic on sketch but I have experiencing problem when using Will topic on example mqtt esp8266.ino The problem arise when I added![image](https://user-images.githubusercontent.com/76042786/112732329-d56e9980-8f6b-11eb-8677-3b7232a82e03.png)
mqtt.will("/feed/test","offline");
I added those code before mqtt.connect error logand I try to change the code like this
Adafruit_MQTT.will("/feed/test","offline");
error log![image](https://user-images.githubusercontent.com/76042786/112732426-78271800-8f6c-11eb-98a6-95c30c29726d.png)
I'm Using : Arduino IDE : 1.8.12 Adafruit Mqtt Library : 2.1.0 Library installed from Library Manager
Please help to get ride from this problem , or maybe example sketch for using Will topic
Note : I have Already test as given in https://learn.adafruit.com/mqtt-adafruit-io-and-you/qos-and-wills?view=all with the same error