I'm working on BLE project with espressif library. And It returns me founded BLE device.
std::string getManufacturerData();
std::string getName();
int getRSSI();
BLEScan* getScan();
When I want to print device name to serial port
BLEAdvertisedDevice founded_dev;
founded_dev=foundDevices.getDevice(0);
Serial.println("Name -> " + founded_dev.getName());
It gives me error like this
no matching function for call to 'HardwareSerial::println(std::__cxx11::basic_string<char>)'
So how can i convert to std:string to String in Arduino?