Topic: ESP32H2 with RemoteXY
Dear community,
Looking for advise and/or experience when using an ESP32H2 SuperMini with RemoteXY.
In my case, I seem to be unable to connect to the ESP32H2.
For testing, I just have the basic RemoteXY and do precisely nothing in the loop expect updating the RemoteXY.
When I try to connect (using BLE) the screen changes to the connection, as it should, but it disconnects straight away.
I am using latest library in Arduino.
Powersupply to the ESP32H2 is via USB-data-cable.
In RemoteXY, configuration is set to Bluetooth, ESP32 based board, integrated bluetooth and Arduino IDE.
I do not see any other configuration that would match.
Connection is defined with Bluetooth name "PowerControl" and Mode is set to BluetoothLE.
What really baffles me: the very same situation but with ESP32C3 works "as advertised" and flawless...
So just for giggles, I tried a second H2-board, just in case - same result.
I doubt that two boards have the BLE-component bleeped.
Also checked that my phone is not paired with any ESP32 and connecting directly in the RemoteXY-App.
I did read about not having enough system resources on the H2.
But I am doing nothing else than updating remoteXY, so I doubt that could be the issue...
Is there somethin I'm overlooking?
Screenshot of the phone after I tried to connect:
And the arduino-sketch:
#define REMOTEXY_MODE__ESP32CORE_BLE
#include <BLEDevice.h>
#define REMOTEXY_BLUETOOTH_NAME "PowerControl"
#include <RemoteXY.h>
#pragma pack(push, 1)
uint8_t const PROGMEM RemoteXY_CONF_PROGMEM[] = // 100 bytes V19
{ 255,2,0,2,0,93,0,19,0,0,0,80,111,119,101,114,67,111,110,116,
114,111,108,0,8,1,106,200,1,1,4,0,1,5,33,35,35,0,2,31,
68,69,67,82,0,1,65,33,36,36,0,2,31,73,78,67,82,0,71,0,
98,106,106,56,8,2,37,135,0,0,0,0,0,0,200,66,0,0,160,65,
0,0,32,65,0,0,0,64,31,37,0,70,47,145,12,12,144,2,6,0 };
struct {
uint8_t button_PowerCommand_Decrease;
uint8_t button_PowerCommand_Increase;
int8_t PowerSetting;
uint8_t led_01;
uint8_t connect_flag;
}
RemoteXY;
#pragma pack(pop)
void setup() {
RemoteXY_Init ();
}
void loop() {
RemoteXYEngine.handler ();
}