-
-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Description
I'd like to stream data as quickly as possible via a notify characteristic. In the past I've done this like the nrf example did, by just calling the characteristic update function as quickly as possible, https://github.com/NordicPlayground/nrf52-ble-image-transfer-demo/blob/b1338a7eb983aa5794fffa956c5928a0074f70c6/ble_image_transfer_service.c#L353.
For esp-nimble-cpp it wasn't clear how to know if the data was accepted into the stack:
while(data_to_send)
{
pCharacteristic->setValue(xxx);
pCharacteristic->notify();
// how to know if the stack accepted the data?
}
Metadata
Metadata
Assignees
Labels
No labels