Description
Trying to connect:
https://forum.mysensors.org/topic/6951/nrf5-multi-sensor-board-12-14
Configured appropriate service and characteristics:
static BLEUUID serviceMPUUID("6e400001-b5a3-f393-e0a9-e50e24dcca9e");
static BLEUUID charMP_BMUUID("6e400004-b5a3-f393-e0a9-e50e24dcca9e");
then when getting characteristic pointer:
pMP_BMRemoteCharacteristic = pMPRemoteService->getCharacteristic(charMP_BMUUID);
faced "Stack Smashing protect Failure"
Looks to be solved by:
nkolban/esp32-snippets#863
"Hi,
probably its because you are using arduino library with bug (maybe more than 1), in this library its already fixed:
https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/BLERemoteService.cpp#L129"
effectively changing "uint16_t count = 1;" looks to be resolved, my program then works.