libraries/Bluefruit52Lib/src/BLECharacteristic.cpp
// Use application buffer instead of SD stack buffer
Use application buffer instead of SD stack buffer
Use application buffer instead of SD stack buffer
void BLECharacteristic::setBuffer(void* buf, uint16_t bufsize)
{
  _max_len = bufsize;
  _userbuf = (uint8_t*) buf;
  _attr_meta.vloc = buf ? BLE_GATTS_VLOC_USER : BLE_GATTS_VLOC_STACK;
}
void BLECharacteristic :: setBuffer ( void * buf , uint16_t bufsize ) { _max_len = bufsize ; _userbuf = ( uint8_t * ) buf ; _attr_meta . vloc = buf ? BLE_GATTS_VLOC_USER : BLE_GATTS_VLOC_STACK ; }
Use application buffer instead of SD stack buffer
Use application buffer instead of SD stack buffer