2 Replies Latest reply on Jun 27, 2016 2:45 AM by userc_39500

    GATT server event when long read completes

      How can my GATT server know when a long read is completed? Is there an event for that? Or is there another way?




      For normal reads, the event CYBLE_EVT_GATTS_READ_CHAR_VAL_ACCESS_REQ  is triggered, and the parameter of type CYBLE_GATTS_CHAR_VAL_READ_REQ_T tells me which Handle the client wants to read (and FYI: you can respond to the client's read attempt by writing to this parameter's gattErrorCode field). But if the client does a long read on the Characteristic, the event is triggered multiple times.