<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Use BLE Keyboard with RemoteXY_MODE__ESP32CORE]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=2189&amp;type=atom" />
	<updated>2026-08-08T18:04:17Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=2189</id>
		<entry>
			<title type="html"><![CDATA[Re: Use BLE Keyboard with RemoteXY_MODE__ESP32CORE]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6493#p6493" />
			<content type="html"><![CDATA[<p>Thank you for responding. I used the custom Stream method as described but could never get NimBLE to work with RemoteXY and BLE keyboard at same time. Either one or the other but not both would work. Add in the complexity of Apple, Inc and it was just too much to solve.<br />I&#039;ve since changed to using RemoteXY with NimBLE and just use the ESP32 as a HID keyboard via USB. Works as the Ipad is always docked in the truck anyways.</p>]]></content>
			<author>
				<name><![CDATA[nuc1]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=3168</uri>
			</author>
			<updated>2026-08-08T18:04:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6493#p6493</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Use BLE Keyboard with RemoteXY_MODE__ESP32CORE]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6491#p6491" />
			<content type="html"><![CDATA[<p>Hi,<br />Yes, this is theoretically possible using the Stream connection method.<br />RemoteXY allows you to create your own communication class inherited from the Arduino Stream class. You can implement your own BLE communication layer (for example, based on NimBLE) and pass this custom stream object to RemoteXY.<br />Documentation is here:<br /><a target="_blank" href="https://remotexy.com/en/help/library/stream/">https://remotexy.com/en/help/library/stream/</a><br />You need to create a class like this:<br /></p><div class="codebox"><pre><code>class MyBLEStream : public Stream {
  public:
    void write(uint8_t b) override {
      // send byte via your BLE implementation
    }

    int available() override {
      // return number of available bytes
    }

    int read() override {
      // read one byte from BLE
    }

    void flush() override {
      // flush BLE package
    }
};</code></pre></div><p>Then in setup():</p><div class="codebox"><pre><code>MyBLEStream myBLEStream;
// ... initialize your BLE + HID here ...

RemoteXYGui *gui = RemoteXYEngine.addGui(RemoteXY_CONF_PROGMEM, &amp;RemoteXY);
gui-&gt;addConnection(myBLEStream);</code></pre></div><p>This way you can try to combine RemoteXY data exchange and HID Keyboard functionality in one BLE stack (preferably using NimBLE).<br />However, keep in mind that making BLE HID Keyboard and RemoteXY work stably at the same time is still quite complex. You will need to carefully manage connections, MTU, notifications and buffers.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2026-07-30T14:46:27Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6491#p6491</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Use BLE Keyboard with RemoteXY_MODE__ESP32CORE]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6487#p6487" />
			<content type="html"><![CDATA[<p>Trying to run RemoteXY in a car with an Apple Ipad Mini A7 Pro. To get the Ipad to interface with the car using ESP32 S3 (steering wheel controls, encoders for volume/subwoofer control and other features). ESP32 acts as HID BLE keyboard and sends keyboard commands to Ipad. Ipad executes shortcuts based on keyboard commands. This works ok if just using the ESP32 as HID keyboard. If I try to add RemoteXY via BLE it will not work. Attempted to use the stream method but can&#039;t get it to work. <br />Request the ability to use RemoteXY app via BLE and HID BLE keyboard at same time. Need WiFi to allow ipad and iphone to communicate via Continuity. I can use BT for Continuity but will not auto connect; would like the ipad to act as standard HU.</p><p>Edit: I&#039;ve modified RemoteXY.BLEDevice.h to use NimBLE but also unable to use BLE keyboard at same time. Would prefer to use NimBLE due to much lower RAM usage, if possible.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[nuc1]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=3168</uri>
			</author>
			<updated>2026-07-18T11:35:57Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6487#p6487</id>
		</entry>
</feed>
