1

Topic: Compile Error 'String' to non-scalar type 'std::string'

This is the error message I get when I compile.
Changed std::string to String and it compiled.
Not sure that was the correct fix.
What does this error mean?

c:\Users\onedn\Documents\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h: In member function 'virtual void CRemoteXYStream_BLEDevice::onWrite(BLECharacteristic*)':
c:\Users\onedn\Documents\Arduino\libraries\RemoteXY\src/RemoteXYStream_BLEDevice.h:111:56: error: conversion from 'String' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
  111 |         std::string rxValue = pCharacteristic->getValue();

2

Re: Compile Error 'String' to non-scalar type 'std::string'

Most likely due to the fact that you switched to the ESP32 library version 3.0.0. We are currently working to adapt our library of poses to a new version

3

Re: Compile Error 'String' to non-scalar type 'std::string'

I'm using remotexy library version 3.1.12 in Arduino ide 2.3.2 with Doit esp32 devkit v1 board.
And you are correct Esp32 3.0.0-alpha3