<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — 'BluetoothSerial' was not declared in this scope]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1786</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1786&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in 'BluetoothSerial' was not declared in this scope.]]></description>
		<lastBuildDate>Mon, 08 Apr 2024 12:17:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: 'BluetoothSerial' was not declared in this scope]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5480#p5480</link>
			<description><![CDATA[<p>There is some conflict with other library, Just delete arduino and all library and install new one. The problem gone</p>]]></description>
			<author><![CDATA[null@example.com (attaponaerospace)]]></author>
			<pubDate>Mon, 08 Apr 2024 12:17:12 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5480#p5480</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'BluetoothSerial' was not declared in this scope]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5479#p5479</link>
			<description><![CDATA[<p>I use esp32 version 2.0.14 / Arduino IDE 2.3.2</p><p>Success ran on Windows but on Linux found error both arduino ide 1.8.19 and 2.3.2</p><p>(Linux is Zorin Os 17)</p><p>THis is the code<br />//////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />//////////////////////////////////////////////</p><p>// you can enable debug logging to Serial at 115200<br />//#define REMOTEXY__DEBUGLOG&nbsp; &nbsp; </p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32CORE_BLUETOOTH<br />#include &lt;BluetoothSerial.h&gt;</p><br /><p>// RemoteXY connection settings <br />#define REMOTEXY_BLUETOOTH_NAME &quot;onebotic2&quot;</p><br /><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 143 bytes<br />&nbsp; { 255,4,0,7,0,136,0,17,0,0,0,31,1,106,200,1,1,9,0,130,<br />&nbsp; 255,255,108,203,0,8,5,25,129,56,56,0,19,25,31,71,15,20,77,77,<br />&nbsp; 56,0,19,19,125,0,0,0,0,0,0,200,66,0,0,160,65,0,0,32,<br />&nbsp; 65,0,0,0,64,19,0,2,9,89,32,16,0,19,26,8,8,79,78,0,<br />&nbsp; 79,70,70,0,129,16,110,17,6,19,76,73,71,72,84,0,129,60,110,31,<br />&nbsp; 6,19,67,85,84,32,83,80,69,69,68,0,4,54,91,47,11,128,19,0,<br />&nbsp; 129,3,5,55,9,19,79,78,69,66,79,84,73,67,45,50,0,65,93,4,<br />&nbsp; 9,9,112 };<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; int8_t joy_main_x; // from -100 to 100}<br />&nbsp; int8_t joy_main_y; // from -100 to 100}<br />&nbsp; uint8_t btn_light; // =1 if switch ON and =0 if OFF<br />&nbsp; int8_t sld_cutspeed; // =0..100 slider position</p><p>&nbsp; &nbsp; // output variables<br />&nbsp; float meter_speed; // from 0 to 100<br />&nbsp; uint8_t led_red; // =0..255 LED Red brightness<br />&nbsp; uint8_t led_green; // =0..255 LED Green brightness<br />&nbsp; uint8_t led_blue; // =0..255 LED Green brightness</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 /><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init ();<br />&nbsp; Serial.begin(115200);<br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; RemoteXY.meter_speed = sqrt(0.95*RemoteXY.joy_main_y*RemoteXY.joy_main_y+0.3*RemoteXY.joy_main_x*RemoteXY.joy_main_x);<br />&nbsp; Serial.print(RemoteXY.joy_main_x);<br />&nbsp; Serial.print(&quot; &quot;);<br />&nbsp; Serial.print(RemoteXY.joy_main_y);<br />&nbsp; Serial.print(&quot; &quot;);<br />&nbsp; Serial.println(RemoteXY.meter_speed);<br />&nbsp; <br />&nbsp; <br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer<br />&nbsp; // do not call delay(), use instead RemoteXY_delay() </p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (attaponaerospace)]]></author>
			<pubDate>Fri, 05 Apr 2024 06:47:00 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5479#p5479</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'BluetoothSerial' was not declared in this scope]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5478#p5478</link>
			<description><![CDATA[<p>I use esp32 version 2.0.14 / Arduino IDE 2.3.2</p><p>Success ran on Windows but on Linux found error both arduino ide 1.8.19 and 2.3.2</p><p>(Linux is Zorin Os 17)</p><p>THis is the code<br />//////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />//////////////////////////////////////////////</p><p>// you can enable debug logging to Serial at 115200<br />//#define REMOTEXY__DEBUGLOG&nbsp; &nbsp; </p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32CORE_BLUETOOTH<br />#include &lt;BluetoothSerial.h&gt;</p><br /><p>// RemoteXY connection settings <br />#define REMOTEXY_BLUETOOTH_NAME &quot;onebotic2&quot;</p><br /><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 143 bytes<br />&nbsp; { 255,4,0,7,0,136,0,17,0,0,0,31,1,106,200,1,1,9,0,130,<br />&nbsp; 255,255,108,203,0,8,5,25,129,56,56,0,19,25,31,71,15,20,77,77,<br />&nbsp; 56,0,19,19,125,0,0,0,0,0,0,200,66,0,0,160,65,0,0,32,<br />&nbsp; 65,0,0,0,64,19,0,2,9,89,32,16,0,19,26,8,8,79,78,0,<br />&nbsp; 79,70,70,0,129,16,110,17,6,19,76,73,71,72,84,0,129,60,110,31,<br />&nbsp; 6,19,67,85,84,32,83,80,69,69,68,0,4,54,91,47,11,128,19,0,<br />&nbsp; 129,3,5,55,9,19,79,78,69,66,79,84,73,67,45,50,0,65,93,4,<br />&nbsp; 9,9,112 };<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; int8_t joy_main_x; // from -100 to 100}<br />&nbsp; int8_t joy_main_y; // from -100 to 100}<br />&nbsp; uint8_t btn_light; // =1 if switch ON and =0 if OFF<br />&nbsp; int8_t sld_cutspeed; // =0..100 slider position</p><p>&nbsp; &nbsp; // output variables<br />&nbsp; float meter_speed; // from 0 to 100<br />&nbsp; uint8_t led_red; // =0..255 LED Red brightness<br />&nbsp; uint8_t led_green; // =0..255 LED Green brightness<br />&nbsp; uint8_t led_blue; // =0..255 LED Green brightness</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 /><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init ();<br />&nbsp; Serial.begin(115200);<br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; RemoteXY.meter_speed = sqrt(0.95*RemoteXY.joy_main_y*RemoteXY.joy_main_y+0.3*RemoteXY.joy_main_x*RemoteXY.joy_main_x);<br />&nbsp; Serial.print(RemoteXY.joy_main_x);<br />&nbsp; Serial.print(&quot; &quot;);<br />&nbsp; Serial.print(RemoteXY.joy_main_y);<br />&nbsp; Serial.print(&quot; &quot;);<br />&nbsp; Serial.println(RemoteXY.meter_speed);<br />&nbsp; <br />&nbsp; <br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer<br />&nbsp; // do not call delay(), use instead RemoteXY_delay() </p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (attaponaerospace)]]></author>
			<pubDate>Fri, 05 Apr 2024 06:45:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5478#p5478</guid>
		</item>
		<item>
			<title><![CDATA[Re: 'BluetoothSerial' was not declared in this scope]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5476#p5476</link>
			<description><![CDATA[<p>Please share the complete code. <br />What version of the ESP32 library are you using? 2.x.x or 3.x.x?</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Thu, 04 Apr 2024 11:32:16 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5476#p5476</guid>
		</item>
		<item>
			<title><![CDATA['BluetoothSerial' was not declared in this scope]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5473#p5473</link>
			<description><![CDATA[<p>I got error that RemoteXY/src/RemoteXYStream_BluetoothSerial.h:13:5: error: &#039;BluetoothSerial&#039; was not declared in this scope<br />I use esp32 with bluetooth classic</p>]]></description>
			<author><![CDATA[null@example.com (attaponaerospace)]]></author>
			<pubDate>Tue, 02 Apr 2024 04:01:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5473#p5473</guid>
		</item>
	</channel>
</rss>
