Doubt regarding message termination by using command.

6 views
Skip to first unread message

Tejankur Tatkare

unread,
Aug 27, 2024, 2:18:00 AM8/27/24
to emqtt
Hi
I have made a program which includes start, stop of messages, changing message frequency and Wi-Fi connection using commands. The thing happening here is, for eg: If frequency of messages being displayed is 5 seconds and I publish a command as STOP which is associated with termination of messages getting published, if I send the at 4.9th second, the process isn't getting terminated immediately. The message which is lined up to get displayed is getting displayed and after that one message the process is getting terminated. In my program I have given utmost priority to stopping of message publication and also correctly handled the flag associated to STOP command. Is there anything related to response time of MQTT? or any more changes should be done in command handling?
Reply all
Reply to author
Forward
0 new messages