Is there a function to wait for a software ack after a send.
I know i can do it in the receive function but i wondering if i can do it with wait function like so:
bool success = wait(300, C_INTERNAL, I_ACK);
@dpcons that is correct. The ESP communicates directly with the MQTT broker.
It's very easy if you're ESP has been Tasmotized. I am of the understanding that one can compile their own Tasmota binary to suit particular needs. I have not done this.
If you're using the Arduino IDE to program your ESP, it is possible to communicate directly to the MQTT broker. You will have to come up with your own protocol though, This I have done and it takes some perseverence.
Both Tasmota and Arduino IDE accomodate Over-The-Air (OTA) updates. This is nice, especially when your device is behind a panel or up the hill. Interestingly enough, if something is Tasmotized, an Arduino IDE binary can replace it OTA; and vice versa. This I have done many times. (Yes, some failures to communicate and a hike up the hill
Thanks for the answer. I meant that Mysensors has ESP32 support but only in terms of WIFI. It supports e.g. stm32 with ENC or W5500 modules - and the question is whether and how to add ESP32 support with LAN8720 module. I am not considering using ESPHOME or MQTT - I want to have native communication with the controller that implements my control schemes on its side. I try to program KC868-A16 but it does not matter - the question is whether such support can be added in a simple way.