<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Timeout on Bluetooth on several projects]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1402</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1402&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Timeout on Bluetooth on several projects.]]></description>
		<lastBuildDate>Mon, 18 Oct 2021 06:01:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Timeout on Bluetooth on several projects]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4304#p4304</link>
			<description><![CDATA[<p>We tested this code. It works well. Maybe the problem lies elsewhere.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Mon, 18 Oct 2021 06:01:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4304#p4304</guid>
		</item>
		<item>
			<title><![CDATA[Re: Timeout on Bluetooth on several projects]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4303#p4303</link>
			<description><![CDATA[<p>I have found that most, if not all, of the issues I had with BT/BLE (with RemoteXY and other apps) was generally down to incompatibilities with the phones/tablets and the type of BT/BLE device they where connecting to.&nbsp; Some worked great, others intermittent and yet others not at all.</p><p>I now stay away from BT/BLE and use WiFi whenever possible.</p>]]></description>
			<author><![CDATA[null@example.com (Gunner)]]></author>
			<pubDate>Sun, 17 Oct 2021 22:46:47 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4303#p4303</guid>
		</item>
		<item>
			<title><![CDATA[Timeout on Bluetooth on several projects]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4302#p4302</link>
			<description><![CDATA[<p>Hi there,</p><p>I&#039;am new here. In short : I like all flavors of arduino/teensy... and music gear too). My english may be poor or bad... <br />My answer : Désolé, je suis français !</p><p>I struggle with &quot;timeout issues&quot; on several (bluetooth) projects only.<br />Context : arduino uno + HC-06&nbsp; / RemoteXY Pro on androïd (last avaible version) / RemoteXY.h (last avaible version) </p><p>The &quot;Simple button example using software serial&quot; sketch runs well ! More complex sketches too... <br />But the one i&#039;d &quot;really&quot; like to build, NOT : I get a damned &quot;timeout error&quot;. To bad ! <br />I guessed this was related to the size of my sketch (loads SDFat and Midi libraries...). </p><p>So, I removed all excepted the &quot;RemoteXY interface&quot;... And what happened ? Timeout !<br />Here is the thing. Could You please test it and, why not, find the reason of this (damned) timeout ? Thanks !</p><p>/*<br />&nbsp; &nbsp;Context : arduino uno + HC-06&nbsp; / october 2021<br />&nbsp; &nbsp;RemoteXY Pro (last avaible version) / RemoteXY.h (last avaible version) <br />&nbsp; &nbsp;&quot;Simple button example using software serial&quot; ok ! More complex sketches too... <br />&nbsp; &nbsp;But... this one, NOT : timemout !</p> <br /><p>&nbsp; &nbsp; int <br />used with Remote XY pro --<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;This source code of graphical user interface <br />&nbsp; &nbsp;has been generated automatically by RemoteXY editor.<br />&nbsp; &nbsp;To compile this code using RemoteXY library 3.1.6 or later version <br />&nbsp; &nbsp;download by link <a target="_blank" href="http://remotexy.com/en/library/">http://remotexy.com/en/library/</a><br />&nbsp; &nbsp;To connect using RemoteXY mobile app by link <a target="_blank" href="http://remotexy.com/en/download/">http://remotexy.com/en/download/</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;- for ANDROID 4.8.01 or later version;<br />&nbsp; &nbsp; &nbsp;- for iOS 1.5.1 or later version;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;This source code is free software; you can redistribute it and/or<br />&nbsp; &nbsp;modify it under the terms of the GNU Lesser General Public<br />&nbsp; &nbsp;License as published by the Free Software Foundation; either<br />&nbsp; &nbsp;version 2.1 of the License, or (at your option) any later version.&nbsp; &nbsp; <br />*/</p><p>//////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />//////////////////////////////////////////////</p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__SOFTSERIAL<br />#include &lt;SoftwareSerial.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_SERIAL_RX 2<br />#define REMOTEXY_SERIAL_TX 3<br />#define REMOTEXY_SERIAL_SPEED 9600</p><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =<br />&nbsp; { 255,14,0,82,0,207,0,13,1,1,<br />&nbsp; 2,0,2,92,19,7,28,26,31,31,<br />&nbsp; 79,78,0,79,70,70,0,4,0,54,<br />&nbsp; 0,8,84,29,26,67,5,38,0,14,<br />&nbsp; 5,31,26,11,5,3,9,47,35,35,<br />&nbsp; 37,26,31,67,5,3,34,49,5,31,<br />&nbsp; 26,16,1,8,4,42,10,10,1,31,<br />&nbsp; 33,0,2,0,40,92,19,7,28,26,<br />&nbsp; 31,31,79,78,0,79,70,70,0,1,<br />&nbsp; 3,26,90,10,10,4,31,82,0,1,<br />&nbsp; 0,41,42,11,11,4,31,83,0,67,<br />&nbsp; 5,38,22,14,5,31,26,11,67,5,<br />&nbsp; 38,11,14,5,31,26,11,67,5,8,<br />&nbsp; 87,9,4,2,26,11,67,5,46,87,<br />&nbsp; 9,4,2,26,11,4,160,3,13,32,<br />&nbsp; 5,29,26,4,160,3,2,32,5,29,<br />&nbsp; 26,4,160,3,24,32,5,29,26,1,<br />&nbsp; 3,38,5,14,4,28,31,116,114,97,<br />&nbsp; 0,1,3,38,16,14,4,28,31,118,<br />&nbsp; 101,108,0,1,3,38,27,14,4,28,<br />&nbsp; 31,102,105,116,0,67,5,20,40,14,<br />&nbsp; 5,31,26,11 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variables<br />&nbsp; uint8_t switch_lower; // =1 if switch ON and =0 if OFF <br />&nbsp; int8_t patch_slider; // =0..100 slider position <br />&nbsp; int8_t volume_x; // =-100..100 x-coordinate joystick position <br />&nbsp; int8_t volume_y; // =-100..100 y-coordinate joystick position <br />&nbsp; uint8_t Panic; // =1 if button pressed, else =0 <br />&nbsp; uint8_t switch_upper; // =1 if switch ON and =0 if OFF <br />&nbsp; uint8_t recall; // =1 if button pressed, else =0 <br />&nbsp; uint8_t select_patch; // =1 if button pressed, else =0 <br />&nbsp; int8_t velo_slider; // =-100..100 slider position <br />&nbsp; int8_t transp_slider; // =-100..100 slider position <br />&nbsp; int8_t f_tune_slider; // =-100..100 slider position <br />&nbsp; uint8_t transp_0; // =1 if button pressed, else =0 <br />&nbsp; uint8_t velo_0; // =1 if button pressed, else =0 <br />&nbsp; uint8_t f_tune_0; // =1 if button pressed, else =0 </p><p>&nbsp; &nbsp; // output variables<br />&nbsp; char transp[11];&nbsp; // string UTF8 end zero <br />&nbsp; char patch[16];&nbsp; // string UTF8 end zero <br />&nbsp; char f_tune[11];&nbsp; // string UTF8 end zero <br />&nbsp; char velo[11];&nbsp; // string UTF8 end zero <br />&nbsp; char lower[11];&nbsp; // string UTF8 end zero <br />&nbsp; char upper[11];&nbsp; // string UTF8 end zero <br />&nbsp; char patch_n[11];&nbsp; // string UTF8 end zero </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><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer<br />&nbsp; // do not call delay() </p><p>}</p>]]></description>
			<author><![CDATA[null@example.com (hcl)]]></author>
			<pubDate>Sun, 17 Oct 2021 15:01:45 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4302#p4302</guid>
		</item>
	</channel>
</rss>
