I needed to add the .c_str() in the BleMouse.cpp to get the arduino-esp32 v3.1.0 RC1 working.
Line 143 BLEDevice::init(bleMouseInstance->deviceName.c_str());
Line 151 bleMouseInstance->hid->manufacturer()->setValue(bleMouseInstance->deviceManufacturer.c_str());
I needed to add the .c_str() in the BleMouse.cpp to get the arduino-esp32 v3.1.0 RC1 working.
Line 143 BLEDevice::init(bleMouseInstance->deviceName.c_str());Line 151 bleMouseInstance->hid->manufacturer()->setValue(bleMouseInstance->deviceManufacturer.c_str());