You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have some problems with ble.updateCharacteristicValue()
After 11 packets with 18Bytes it doesn't send the 12th one.
my code in a for loop:
if(ble.updateCharacteristicValue(characteristic1.getValueAttribute().getHandle(), (uint8_t *)&Work_Buffer[0], 12)== BLE_ERROR_NONE){
Serial.println("OK");
}
else{
Serial.println("BLE Error");
}
i got 11 OK's and after that many BLE Error's
The Error is Value 5 ->BLE_STACK_BUSY
i tried to add a Delay between the packets, but it doesn't helped.
Where is the Problem? can i flush or clear the BLE Buffer?
The text was updated successfully, but these errors were encountered:
Hello,
i have some problems with ble.updateCharacteristicValue()
After 11 packets with 18Bytes it doesn't send the 12th one.
my code in a for loop:
if(ble.updateCharacteristicValue(characteristic1.getValueAttribute().getHandle(), (uint8_t *)&Work_Buffer[0], 12)== BLE_ERROR_NONE){
Serial.println("OK");
}
else{
Serial.println("BLE Error");
}
i got 11 OK's and after that many BLE Error's
The Error is Value 5 ->BLE_STACK_BUSY
i tried to add a Delay between the packets, but it doesn't helped.
Where is the Problem? can i flush or clear the BLE Buffer?
The text was updated successfully, but these errors were encountered: