how to code CyBle_GattsNotification as blocking function? | Cypress Semiconductor
how to code CyBle_GattsNotification as blocking function?
I need send big array through CyBle_GattsNotification. I want to know when the big array sent over?
do you have blocking version of CyBle_GattsNotification function?
In the following code, it can be realize blocking sending data?
apiResult = CyBle_GattsNotification(cyBle_connHandle,¬ificationPacket);
}while((CYBLE_ERROR_OK != apiResult) && (CYBLE_STATE_CONNECTED == cyBle_state));