<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Lost connection]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=318</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=318&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Lost connection.]]></description>
		<lastBuildDate>Tue, 13 Mar 2018 19:41:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1392#p1392</link>
			<description><![CDATA[<p>Suggested method are not working!!!</p><p>connect_flag always&nbsp; has zero value and can not be used at all. </p><p>It could be even removed from the structure since it is defined only there.&nbsp; It is dangerous to use use RemoteXY for anything else than toys. Just imagine electric motor remained engaged &quot;forever&quot; even if command link from the smartphone are broken.</p>]]></description>
			<author><![CDATA[null@example.com (hefest)]]></author>
			<pubDate>Tue, 13 Mar 2018 19:41:51 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1392#p1392</guid>
		</item>
		<item>
			<title><![CDATA[Re: Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1224#p1224</link>
			<description><![CDATA[<p>Welcome,</p><p>Something like this:<br /></p><div class="codebox"><pre><code>void loop()
{
  RemoteXY_Handler ();

  static bool wasConnected = false;
  if ( wasConnected == false )
  {
    if ( RemoteXY.connect_flag == 1 )
    {
      wasConnected = true;
      Serial.println( &quot;Connected...&quot; );
    }
  }
  else if ( RemoteXY.connect_flag == 0 )
  {
    wasConnected = false;
    Serial.println( &quot;Connection lost, rebooting...&quot; );
    rebootArduino();
  }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Sun, 07 Jan 2018 04:33:32 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1224#p1224</guid>
		</item>
		<item>
			<title><![CDATA[Re: Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1220#p1220</link>
			<description><![CDATA[<p>same issue of lost connection. Not sure how to use connect flag either.</p>]]></description>
			<author><![CDATA[null@example.com (richmcewan)]]></author>
			<pubDate>Thu, 04 Jan 2018 00:53:15 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1220#p1220</guid>
		</item>
		<item>
			<title><![CDATA[Re: Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1124#p1124</link>
			<description><![CDATA[<p>Thanks</p><p>I am a beginner and I don&#039;t understand how to use &#039;connect_flag&#039;.<br />Can you please explain me in more detail.</p>]]></description>
			<author><![CDATA[null@example.com (SilvioC)]]></author>
			<pubDate>Mon, 04 Dec 2017 13:00:06 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1124#p1124</guid>
		</item>
		<item>
			<title><![CDATA[Re: Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1121#p1121</link>
			<description><![CDATA[<p>Hello,<br />try to use the variable &#039;connect_flag&#039; in RemoteXY structure.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Mon, 04 Dec 2017 05:37:37 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1121#p1121</guid>
		</item>
		<item>
			<title><![CDATA[Lost connection]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1118#p1118</link>
			<description><![CDATA[<p>Hi<br />Can you help me to solve a problem when the connection is lost.</p><p>I need a code to reboot Arduino when the connection between HC-05(06) Bluetooth module and android is lost.</p>]]></description>
			<author><![CDATA[null@example.com (SilvioC)]]></author>
			<pubDate>Sun, 03 Dec 2017 18:14:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1118#p1118</guid>
		</item>
	</channel>
</rss>
