<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — проблема с отправкой данных в облако]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=262&amp;type=atom" />
	<updated>2017-11-12T19:50:07Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=262</id>
		<entry>
			<title type="html"><![CDATA[Re: проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1054#p1054" />
			<content type="html"><![CDATA[<p>Я уже не помню, в чем там было дело, но сейчас все работает. </p><p>Один из сбоев был точно связан с моей ошибкой (забыл подключить один из датчиков, от которого зависел итоговый показатель), в другом случае в приложении было не видно даже нулевых значений, т.е. просто пустые поля там, где должны быть цифры. Это прошло само, без моего вмешательства. Видимо, какой-то сбой сервера.</p>]]></content>
			<author>
				<name><![CDATA[matsnev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=406</uri>
			</author>
			<updated>2017-11-12T19:50:07Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1054#p1054</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1037#p1037" />
			<content type="html"><![CDATA[<p>У меня та же проблемы. Вам удалось решить?</p>]]></content>
			<author>
				<name><![CDATA[olegw1968]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=447</uri>
			</author>
			<updated>2017-11-04T11:19:58Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1037#p1037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=934#p934" />
			<content type="html"><![CDATA[<p>Нет, все-таки не вижу ошибки.</p>]]></content>
			<author>
				<name><![CDATA[matsnev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=406</uri>
			</author>
			<updated>2017-09-21T10:49:41Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=934#p934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=933#p933" />
			<content type="html"><![CDATA[<p>Прошу прощения, проблема, кажется, в моем коде.</p>]]></content>
			<author>
				<name><![CDATA[matsnev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=406</uri>
			</author>
			<updated>2017-09-21T10:17:13Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=933#p933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=932#p932" />
			<content type="html"><![CDATA[<p>Что видно в Serial:</p><p>ATE0<br />AT+CWMODE=1<br />AT+CWQAP<br />AT+CWDHCP=1,1<br />AT+CWJAP=&quot;SSID&quot;,&quot;PSWD&quot;<br />AT+CIPMODE=0<br />AT+CIPMUX=1<br />AT+CIPSTART=0,&quot;TCP&quot;,&quot;cloud.remotexy.com&quot;,6376<br />AT+CIPSEND=0,44<br />U,&nbsp; &nbsp; MYTOKEN&nbsp; &nbsp;B)AT+CIPSEND=0,6<br />U&nbsp; &nbsp;⸮%AT+CIPSEND=0,6<br />U&nbsp; &nbsp;⸮%AT+CIPSEND=0,6<br />U&nbsp; &nbsp;⸮%AT+CIPSEND=0,6<br />U&nbsp; &nbsp;⸮%AT+CIPSEND=0,6<br />U</p>]]></content>
			<author>
				<name><![CDATA[matsnev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=406</uri>
			</author>
			<updated>2017-09-21T09:56:38Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=932#p932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[проблема с отправкой данных в облако]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=931#p931" />
			<content type="html"><![CDATA[<p>Добрый день! </p><p>Соединение происходит, но в приложении (Android) нулевые значения</p><p>Железо: Arduino Pro Mini + ESP01 + датчик</p><p>Код:</p><p>```////////////////////////////////////////////// <br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br />////////////////////////////////////////////// </p><p>// определение режима соединения и подключение библиотеки RemoteXY&nbsp; <br />#define REMOTEXY_MODE__ESP8266_HARDSERIAL_CLOUD</p><p>#include &lt;RemoteXY.h&gt; </p><p>// настройки соединения&nbsp; <br />#define REMOTEXY_SERIAL Serial <br />#define REMOTEXY_SERIAL_SPEED 115200 <br />#define REMOTEXY_WIFI_SSID &quot;SSID&quot; <br />#define REMOTEXY_WIFI_PASSWORD &quot;PSWD&quot; <br />#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot; <br />#define REMOTEXY_CLOUD_PORT 6376 <br />#define REMOTEXY_CLOUD_TOKEN &quot;MYTOKEN&quot; </p><br /><p>// конфигурация интерфейса&nbsp; &nbsp;<br />#pragma pack(push, 1) <br />uint8_t RemoteXY_CONF[] = <br />&nbsp; { 255,0,0,11,0,11,0,6,5,0,<br />&nbsp; 67,4,9,9,20,5,2,11 }; <br />&nbsp; &nbsp;<br />// структура определяет все переменные вашего интерфейса управления&nbsp; <br />struct { </p><p>&nbsp; &nbsp; // output variable<br />&nbsp; char text_1[4];&nbsp; // =строка UTF8 оканчивающаяся нулем </p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY; <br />#pragma pack(pop) </p><p>///////////////////////////////////////////// <br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br />///////////////////////////////////////////// </p><br /><p>int trigPin = 11; <br />int echoPin = 12; <br />float c;<br />float t = 27.5;<br />float duration;<br />double cm;</p><br /><p>void setup()&nbsp; <br />{ <br />&nbsp; RemoteXY_Init ();&nbsp; <br />&nbsp; &nbsp;<br />pinMode(trigPin, OUTPUT);<br />pinMode(echoPin, INPUT);<br />&nbsp; &nbsp;<br />} </p><p>void loop()&nbsp; <br />{&nbsp; <br />&nbsp; RemoteXY_Handler (); <br />&nbsp; &nbsp;<br />digitalWrite(trigPin, LOW);<br />delayMicroseconds(5);<br />digitalWrite(trigPin, HIGH);<br />delayMicroseconds(10);<br />digitalWrite(trigPin, LOW);</p><p>duration = pulseIn(echoPin, HIGH);</p><p>c = sqrt(1.4*8.3144598*(t+273.15)/0.02898)/10000;<br />cm = (duration/2.0)*c;</p><p>dtostrf(cm, 0, 1, RemoteXY.text_1);</p><p>delay(70);</p><p>}```</p><p>где SSID, PSWD и MYTOKEN -- соответствущие значения</p><p>В чем может быть дело? Спасибо.</p>]]></content>
			<author>
				<name><![CDATA[matsnev]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=406</uri>
			</author>
			<updated>2017-09-21T09:54:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=931#p931</id>
		</entry>
</feed>
