<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Device not reply. Recive time out error.]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=493</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=493&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Device not reply. Recive time out error..]]></description>
		<lastBuildDate>Sun, 27 May 2018 23:40:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Device not reply. Recive time out error.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1626#p1626</link>
			<description><![CDATA[<p>RemoteXY_AT.h<br />...<br />protected:&nbsp; <br />&nbsp; uint8_t waitATAnswer (const char * answer, uint16_t delay) {<br />&nbsp; &nbsp; uint8_t b;<br />&nbsp; &nbsp; uint32_t timeOut = millis();<br />&nbsp; <br />&nbsp; &nbsp; uint8_t k=0;<br />&nbsp; &nbsp; while (millis() - timeOut &lt;= delay) {<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; if (serial-&gt;available ()&gt;0) {<br />&nbsp; &nbsp; &nbsp; &nbsp; b=serial-&gt;read&nbsp; ();<br />#if defined(REMOTEXY__DEBUGLOGS)<br />&nbsp; &nbsp; &nbsp; &nbsp; REMOTEXY__DEBUGLOGS.write (b);<br />#endif<br />&nbsp; &nbsp; &nbsp; &nbsp; if (b==10) continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; if (b==13) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bufferAT[k++]=0; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; k=0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (strcmp (bufferAT,answer)==0) return 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (strcmp (bufferAT,AT_ANSWER_ERROR)==0) return 0; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (cmpBufferAT () ==&nbsp; AT_MESSAGE_READY) return 0;&nbsp; &nbsp;// здесь может правильней будет &quot;return 1;&quot; ???&nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (k&lt;AT_BUFFER_STR_LENGTH) bufferAT[k++]=b;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (b==&#039;&gt;&#039;) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (answer==AT_ANSWER_GO) return 1;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; } <br />&nbsp; &nbsp; return 0;&nbsp; <br />&nbsp; }<br />...</p>]]></description>
			<author><![CDATA[null@example.com (sergeykinsky)]]></author>
			<pubDate>Sun, 27 May 2018 23:40:26 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1626#p1626</guid>
		</item>
		<item>
			<title><![CDATA[Re: Device not reply. Recive time out error.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1625#p1625</link>
			<description><![CDATA[<p>#define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT<br />#include &lt;RemoteXY.h&gt;<br />#define REMOTEXY_SERIAL Serial<br />#define REMOTEXY_SERIAL_SPEED 115200<br />#define REMOTEXY_WIFI_SSID &quot;RemXYWiFI&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;<br />#define REMOTEXY_SERVER_PORT 6377<br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] = {3, 14, 51, 0, 8, 13, 1, 4, 64, 1, 1, 17, 98, 2, 26, 4, 32, 45, 2, 17, 97, 2, 26, 2, 0, 24, 7, 16, 17, 2, 26, 31, 31, 79, 70, 70, 0, 79, 78, 0, 65, 15, 22, 41, 20, 20, 67, 4, 24, 72, 17, 10, 2, 26, 11};<br />struct {<br />&nbsp; signed char vol;<br />&nbsp; signed char balance;<br />&nbsp; unsigned char switch_1;<br />&nbsp; unsigned char led_1_r;<br />&nbsp; unsigned char led_1_g;<br />&nbsp; unsigned char led_1_b;<br />&nbsp; char text_1[11];<br />&nbsp; unsigned char connect_flag;<br />} RemoteXY;<br />#pragma pack(pop)<br />bool _gtv2;<br />bool _gtv1;<br />bool _gtv3;<br />bool _gtv4;<br />bool _gtv5;<br />int _gtv6;<br />bool _gtv7;<br />bool _gtv8;<br />int _gtv9;<br />bool _count1I = 0;<br />int _count1P = 0;<br />int _swi2;<br />bool _count3I = 0;<br />int _count3P = 0;<br />bool _gen1I = 0;<br />bool _gen1O = 0;<br />unsigned long _gen1P = 0UL;<br />bool _gen3I = 0;<br />bool _gen3O = 0;<br />unsigned long _gen3P = 0UL;<br />int _swi1;<br />bool _gen2I = 0;<br />bool _gen2O = 0;<br />unsigned long _gen2P = 0UL;<br />bool _count2I = 0;<br />int _count2P = 0;<br />void setup()<br />{<br />&nbsp; RemoteXY_Init ();<br />}<br />void loop()<br />{ RemoteXY_Handler&nbsp; ();</p>]]></description>
			<author><![CDATA[null@example.com (sergeykinsky)]]></author>
			<pubDate>Sun, 27 May 2018 23:34:29 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1625#p1625</guid>
		</item>
		<item>
			<title><![CDATA[Device not reply. Recive time out error.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1624#p1624</link>
			<description><![CDATA[<p>Работаю с контроллером TI CC1310. По UART (REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT) контроллер выходит на опрос wifi модуля (Wroom-02) с &lt;AT&gt; командой , которая только на 3 &lt;OK&gt; реагирует. <br />Сеть поднимается, сервер запускается, в отладчике (ECLIPS)&nbsp; вижу приходит команда от смартфона ( предварительно провел аутентификацию), которая организуется с приложения RemoteXY. Должны поступить данные массива (графический инструментарий и его размещение), но данные не поступают и на смарфоне после длительного ожидания с вращающимся колесико на экране вылетает ошибка. Что не так?</p>]]></description>
			<author><![CDATA[null@example.com (sergeykinsky)]]></author>
			<pubDate>Sun, 27 May 2018 23:32:14 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1624#p1624</guid>
		</item>
	</channel>
</rss>
