I've added publish and subscribe queue, (defaut buffer 2048 bytes), tweak some code.
@scargill: I think it is good for you
Enjoy.
Explore... Chat... Share...
r73_pablog wrote:tuanpm wrote:Hello Everyone,
There are many things have been resolved at the github issues. Maybe you should check out.
@betgear: I think that it is reasonable, you should create an issue, so you'll know when I finish it.
@r73_pablog: can you show me an example? I think the best way to know when a sensor has lost the link is keepalive timer. And it is available.
Hi,
the "Last Will and Testament" is part of MQTT protocol.
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.1.0/com.ibm.mq.doc/tt60360_.htm
http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc385349232
char willTopic[] = "/lwt";
char willMessage[] = "offline";
mqttClient->connect_info.will_topic = willTopic;
mqttClient->connect_info.will_message = willMessage;
mqttClient->connect_info.will_qos = 0;
mqttClient->connect_info.will_retain = 0;
16:07:40 **** Build of configuration Default for project mqtt_client ****
mingw32-make.exe -f C:/Espressif/examples/esp_mqtt_client/Makefile all
FW firmware/0x00000.bin
@ c:/Espressif/xtensa-lx106-elf/bin/esptool -eo build/app.out
-bo firmware/0x00000.bin -bs .text -bs .data -bs .rodata -bc -ec
C:/Espressif/examples/esp_mqtt_client/Makefile:120: recipe for target 'firmware/0x00000.bin' failed
process_begin: CreateProcess(NULL, c:/Espressif/xtensa-lx106-elf/bin/esptool -eo build/app.out -bo firmware/0x00000.bin -bs .text -bs .data -bs .rodata -bc -ec, ...) failed.
make (e=2): The system can not find the file specified.
mingw32-make.exe: *** [firmware/0x00000.bin] Error 2
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]