Kabir Waraich
Kabir Waraich
My guess is that some other block of code, maybe the ping mechanism is disconnecting the client and causing the connected() to return false. EDIT: after some digging: https://github.com/knolleary/pubsubclient/blob/2d228f2f862a95846c65a8518c79f48dfc8f188c/src/PubSubClient.cpp#L376 is...
#82 is in the same boat as me I think. I am also unable to see the data being written by the master.
Hey @alisitsyn. Thank you for replying. Your code looks good to me and it should work. I shall test it in my application and then get back to you.
Hi @alisitsyn sorry for not updating sooner. I was using esp-modbus in the arduino framework. Even though your code is great, it wasn't compiling for me because arduino framework pre-compiles...
@alisitsyn thanks for this commit. Sorry for the extremely late reply. I was facing some personal issues. I am currently working on a modbus master on esp-idf. I shall shortly...