1 (edited by dnovet Today 17:00:14)

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:
https://scontent.fzrh5-1.fna.fbcdn.net/v/t39.30808-6/913653184_10165513661351941_1260937322188853019_n.jpg?stp=dst-jpg_tt6&cstp=mx1080x2340&ctp=s1080x2340&_nc_cat=109&_nc_map=urlgen_bucketless&ccb=1-7&_nc_sid=aa7b47&_nc_ohc=FJoIBom7GuMQ7kNvwEmrkRD&_nc_oc=AdqfFAjQk2O3dymfJsAtdVg8ly0umCVBz1cjEBBGzoGSIsFOa-6VStwGnHK5d20F0WQ&_nc_zt=23&_nc_ht=scontent.fzrh5-1.fna&_nc_gid=6pZEWqKzx6Gg5ivoJy1elw&_nc_ss=7b2a8&oh=00_AQSM1DHS_entKCdYqocivLHqZz9YEFMQcKwo1pfwPvgTvw&oe=6B03BA5B

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 ();   
}