<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[On close with &gt; clear some flags]]></title><description><![CDATA[<p dir="auto">Hello Kl3m3n,<br />
Hope you are fine.</p>
<p dir="auto">Have a question:<br />
Normally I have an exit button to close the Guio app, in which case I clear some flags before closing. Now, if I close via &lt; which is followed by a request to confirm that I want to close, the flags are no longer cleared. Is there any way of clearing the flags when I close the Guio App in this way?</p>
<p dir="auto">Thank you<br />
Best regrads</p>
]]></description><link>https://forum.gui-o.com/topic/262/on-close-with-clear-some-flags</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 20:58:16 GMT</lastBuildDate><atom:link href="https://forum.gui-o.com/topic/262.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Jun 2025 07:31:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to On close with &gt; clear some flags on Wed, 18 Jun 2025 20:13:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@Sato</a> I am glad to hear that! <img src="https://forum.gui-o.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=e84f1c759a8" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":slightly_smiling_face:" alt="🙂" /></p>
<p dir="auto">Best regards,<br />
Kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/1070</link><guid isPermaLink="true">https://forum.gui-o.com/post/1070</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Wed, 18 Jun 2025 20:13:29 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Wed, 18 Jun 2025 16:38:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">You are the Best. Your idea with @ping works very well</p>
<p dir="auto">Thank You</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/post/1069</link><guid isPermaLink="true">https://forum.gui-o.com/post/1069</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Wed, 18 Jun 2025 16:38:36 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Tue, 17 Jun 2025 22:07:08 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">Sorry, I meant that when Esp lose the connection to the Internet, it restarts and the flags are cleared.</p>
<p dir="auto">Your "ping" idea, as allways, is good, I'll check it in the Guio Manual and implement it, it should work. I'll give you feedback when I see results.</p>
<p dir="auto">Thank you<br />
Best regards</p>
]]></description><link>https://forum.gui-o.com/post/1068</link><guid isPermaLink="true">https://forum.gui-o.com/post/1068</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Tue, 17 Jun 2025 22:07:08 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Tue, 17 Jun 2025 07:19:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Ok, I understand!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@Sato</a> said in <a href="/post/1065">On close with &gt; clear some flags</a>:</p>
<blockquote>
<p dir="auto">If Guio loses its internet connection, after a short time the Esp restarts and all the flags are cleared.</p>
</blockquote>
<p dir="auto">How does the ESP know to restart if GUI-O loses connection?</p>
]]></description><link>https://forum.gui-o.com/post/1067</link><guid isPermaLink="true">https://forum.gui-o.com/post/1067</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Tue, 17 Jun 2025 07:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Sun, 15 Jun 2025 22:10:37 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">I use GPRS, and there's the rub!<br />
As I want to dynamically evaluate the RF signal strength, I have to be careful not to consume unnecessary data.<br />
Normally, when I connect to an Esp device, during the creation of the Guio graphical environment, I have already loaded the graph corresponding to the respective signal strength. I then set a flag that allows me to continuously evaluate which graph to load if the value previously read is different from the current one, i.e. while the Guio app is connected to the device, this flag remains and the intensity reading is dynamic.<br />
When I close the app via the Exit button I created, I clear that<br />
flag and the Esp no longer enters that void, so it doesn't consume unnecessary sends to load those graphs that are no longer needed. But if I close the app via the “&gt;” button, I don't see how I can clear this flag because I think it's in Andoid and not Guio issue, but I could be wrong.</p>
<p dir="auto">If Guio loses its internet connection, after a short time the Esp restarts and all the flags are cleared.</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.gui-o.com/post/1065</link><guid isPermaLink="true">https://forum.gui-o.com/post/1065</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Sun, 15 Jun 2025 22:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Sun, 15 Jun 2025 05:56:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@Sato</a> Hi,</p>
<p dir="auto">which connection type are you using?</p>
<p dir="auto">If you are using MQTT, and you have a bad connection, the "exit" action could actually take longer and the app may seem unresponsive to the user. This is not a good solution.</p>
<p dir="auto">What do you do if GUI-O suddenly losses internet connection? How do you clear the flags then?</p>
<p dir="auto">Kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/1064</link><guid isPermaLink="true">https://forum.gui-o.com/post/1064</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sun, 15 Jun 2025 05:56:02 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Sat, 14 Jun 2025 20:50:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/4">@kl3m3n</a>,</p>
<p dir="auto">I'm fine too, thanks.</p>
<p dir="auto">As I said, if I close the app via the button I created for it, then clear the flags I need and then shut it down, it works fine. The other issue is that if, for whatever reason, the app is closed by &gt; on the Guio, then I can't clear the flags I need on the microcontroller.<br />
I don't see if and how it's possible in this situation to clear the flags before shutting down.</p>
<p dir="auto">Thanks<br />
Sato</p>
]]></description><link>https://forum.gui-o.com/post/1063</link><guid isPermaLink="true">https://forum.gui-o.com/post/1063</guid><dc:creator><![CDATA[Sato]]></dc:creator><pubDate>Sat, 14 Jun 2025 20:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to On close with &gt; clear some flags on Sat, 14 Jun 2025 14:45:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.gui-o.com/uid/8">@Sato</a> Hi!</p>
<p dir="auto">I am great, thank you. What about you?</p>
<p dir="auto">I assume you want to clear the flags on the microcontroller side? So, on your microcontroller side, just clear the flags on disconnect (Bluetooth, some USB connections).</p>
<p dir="auto">In MQTT it's a bit trickier, but you can send periodic ping to the app (using @ping command). When there is no reply after, for example, 3 ping requests, you clear the flags.</p>
<p dir="auto">Delaying the exit in order to send a message is not a good approach in my opinion as the app could seem unresponsive.</p>
<p dir="auto">Best regards,<br />
Kl3m3n</p>
]]></description><link>https://forum.gui-o.com/post/1062</link><guid isPermaLink="true">https://forum.gui-o.com/post/1062</guid><dc:creator><![CDATA[kl3m3n]]></dc:creator><pubDate>Sat, 14 Jun 2025 14:45:10 GMT</pubDate></item></channel></rss>