3 Replies Latest reply on Dec 28, 2015 11:20 PM by rohit.kumar

    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,&notificationPacket);
          }while((CYBLE_ERROR_OK != apiResult)  && (CYBLE_STATE_CONNECTED == cyBle_state));