esp32 3.0.0-a breaks RemoteXY
Trying to compile a RemoteXY sketch for ESP32-H2 requires esp32 version 3.0.0-a.
Compilation fails with:
c:\Users\tom\Documents\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In member function 'virtual void CRemoteXYStream_BLEDevice::onWrite(BLECharacteristic*)':c:\Users\tom\Documents\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:110:52: error: conversion from 'String' to non scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested 110 | std::string rxValue = pCharacteristic->getValue();
From espressif's migration guide from v2.* to v3.0.0:
Changed APIs return and parameter type from std::string to Arduino style String.
I assume this is related.
The same sketch compiles and functions with esp32 version 2.0.11
Thanks. We have to plan the work to support ESP32 version 3. We will check all types of connections.