<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — ESP32S2 devboard no compile error first example]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1941</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1941&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ESP32S2 devboard no compile error first example.]]></description>
		<lastBuildDate>Sat, 08 Mar 2025 10:41:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: ESP32S2 devboard no compile error first example]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5956#p5956</link>
			<description><![CDATA[<p>The ESP32S2 board does not have Bluetooth hardware, only WiFi</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Sat, 08 Mar 2025 10:41:00 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5956#p5956</guid>
		</item>
		<item>
			<title><![CDATA[Re: ESP32S2 devboard no compile error first example]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5952#p5952</link>
			<description><![CDATA[<p>HI,</p><p>I tested with ESP32 devmodule board and works, but i use ESP32S2 and ESP32S3 for my project, any suggestion?</p>]]></description>
			<author><![CDATA[null@example.com (fabrizio)]]></author>
			<pubDate>Fri, 07 Mar 2025 10:02:10 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5952#p5952</guid>
		</item>
		<item>
			<title><![CDATA[ESP32S2 devboard no compile error first example]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5948#p5948</link>
			<description><![CDATA[<p>Hi,</p><p>First button example, Copy Arduino code from remote xy editor, add led blind, error in compiling.</p><p>Follow compiler error, library 3.1.14</p><p>In file included from g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXY.h:158,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from C:\Users\bertolet\AppData\Local\Temp\.arduinoIDE-unsaved202526-4864-1d1ds70.yexol\sketch_mar6a\sketch_mar6a.ino:34:<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:19:77: error: expected class-name before &#039;,&#039; token<br />&nbsp; &nbsp;19 | class CRemoteXYStream_BLEDevice : public CRemoteXYStream, BLEServerCallbacks, BLECharacteristicCallbacks {<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:19:106: error: expected class-name before &#039;{&#039; token<br />&nbsp; &nbsp;19 | class CRemoteXYStream_BLEDevice : public CRemoteXYStream, BLEServerCallbacks, BLECharacteristicCallbacks {<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:24:3: error: &#039;BLEServer&#039; does not name a type; did you mean &#039;Server&#039;?<br />&nbsp; &nbsp;24 |&nbsp; &nbsp;BLEServer *pServer;<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp;^~~~~~~~~<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp;Server<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:25:3: error: &#039;BLECharacteristic&#039; does not name a type<br />&nbsp; &nbsp;25 |&nbsp; &nbsp;BLECharacteristic * pRxTxCharacteristic;<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp;^~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:91:18: error: &#039;BLEServer&#039; has not been declared<br />&nbsp; &nbsp;91 |&nbsp; &nbsp;void onConnect(BLEServer* pServer) {<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:100:21: error: &#039;BLEServer&#039; has not been declared<br />&nbsp; 100 |&nbsp; &nbsp;void onDisconnect(BLEServer* pServer) {<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:108:17: error: &#039;BLECharacteristic&#039; has not been declared<br />&nbsp; 108 |&nbsp; &nbsp;void onWrite (BLECharacteristic *pCharacteristic) {<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In constructor &#039;CRemoteXYStream_BLEDevice::CRemoteXYStream_BLEDevice(const char*)&#039;:<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:56:5: error: &#039;BLEDevice&#039; has not been declared<br />&nbsp; &nbsp;56 |&nbsp; &nbsp; &nbsp;BLEDevice::init(_bleDeviceName);<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;^~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:59:5: error: &#039;pServer&#039; was not declared in this scope; did you mean &#039;Server&#039;?<br />&nbsp; &nbsp;59 |&nbsp; &nbsp; &nbsp;pServer = BLEDevice::createServer();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;^~~~~~~<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;Server<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:59:15: error: &#039;BLEDevice&#039; has not been declared<br />&nbsp; &nbsp;59 |&nbsp; &nbsp; &nbsp;pServer = BLEDevice::createServer();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:63:5: error: &#039;BLEService&#039; was not declared in this scope<br />&nbsp; &nbsp;63 |&nbsp; &nbsp; &nbsp;BLEService *pService = pServer-&gt;createService(REMOTEXYCOMM_BLEDEVICE__SERVICE_UUID);<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;^~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:63:17: error: &#039;pService&#039; was not declared in this scope<br />&nbsp; &nbsp;63 |&nbsp; &nbsp; &nbsp;BLEService *pService = pServer-&gt;createService(REMOTEXYCOMM_BLEDEVICE__SERVICE_UUID);<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:66:5: error: &#039;pRxTxCharacteristic&#039; was not declared in this scope<br />&nbsp; &nbsp;66 |&nbsp; &nbsp; &nbsp;pRxTxCharacteristic = pService-&gt;createCharacteristic(<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:68:29: error: &#039;BLECharacteristic&#039; has not been declared<br />&nbsp; &nbsp;68 |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BLECharacteristic::PROPERTY_READ |<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:69:29: error: &#039;BLECharacteristic&#039; has not been declared<br />&nbsp; &nbsp;69 |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BLECharacteristic::PROPERTY_NOTIFY |<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:70:29: error: &#039;BLECharacteristic&#039; has not been declared<br />&nbsp; &nbsp;70 |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;BLECharacteristic::PROPERTY_WRITE_NR<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:73:5: error: &#039;BLE2902&#039; was not declared in this scope<br />&nbsp; &nbsp;73 |&nbsp; &nbsp; &nbsp;BLE2902 *ble2902 = new BLE2902();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp;^~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:73:14: error: &#039;ble2902&#039; was not declared in this scope<br />&nbsp; &nbsp;73 |&nbsp; &nbsp; &nbsp;BLE2902 *ble2902 = new BLE2902();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:73:28: error: expected type-specifier before &#039;BLE2902&#039;<br />&nbsp; &nbsp;73 |&nbsp; &nbsp; &nbsp;BLE2902 *ble2902 = new BLE2902();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In member function &#039;void CRemoteXYStream_BLEDevice::onDisconnect(int*)&#039;:<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:105:14: error: request for member &#039;getAdvertising&#039; in &#039;* pServer&#039;, which is of non-class type &#039;int&#039;<br />&nbsp; 105 |&nbsp; &nbsp; &nbsp;pServer-&gt;getAdvertising ()-&gt;start ();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^~~~~~~~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In member function &#039;void CRemoteXYStream_BLEDevice::onWrite(int*)&#039;:<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:111:39: error: request for member &#039;getValue&#039; in &#039;* pCharacteristic&#039;, which is of non-class type &#039;int&#039;<br />&nbsp; 111 |&nbsp; &nbsp; &nbsp;String rxValue = pCharacteristic-&gt;getValue();<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In member function &#039;virtual void CRemoteXYStream_BLEDevice::write(uint8_t)&#039;:<br />g:\Il mio Drive\Mio\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:156:7: error: &#039;pRxTxCharacteristic&#039; was not declared in this scope<br />&nbsp; 156 |&nbsp; &nbsp; &nbsp; &nbsp;pRxTxCharacteristic-&gt;setValue((uint8_t *)sendBuffer, sendBufferCount);<br />&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp;^~~~~~~~~~~~~~~~~~~</p><p>Follow Arduino code:<br />// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32CORE_BLE</p><p>#include &lt;BLEDevice.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_BLUETOOTH_NAME &quot;RemoteXY&quot;</p><br /><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY GUI configuration&nbsp; <br />#pragma pack(push, 1)&nbsp; <br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 29 bytes<br />&nbsp; { 255,1,0,0,0,22,0,19,0,0,0,0,31,1,106,200,1,1,1,0,<br />&nbsp; 1,29,36,45,45,0,2,31,0 };<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 button_01; // =1 if button pressed, else =0</p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0</p><p>} RemoteXY;&nbsp; &nbsp;<br />#pragma pack(pop)</p><p>/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>#define PIN_BUTTON_1 18</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; &nbsp;pinMode (PIN_BUTTON_1, OUTPUT);<br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; digitalWrite(PIN_BUTTON_1, (RemoteXY.button_01==0)?LOW:HIGH);<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><p>Any suggestion? thanks<br />Fabrizio</p>]]></description>
			<author><![CDATA[null@example.com (fabrizio)]]></author>
			<pubDate>Thu, 06 Mar 2025 18:31:39 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5948#p5948</guid>
		</item>
	</channel>
</rss>
