2 Replies Latest reply on Apr 3, 2017 4:28 AM by artur2000_2263466

    PSoC 4 BLE - read multiple charachteristic values - how to know which response is which char?

    artur2000_2263466

      Hi,

         

      I have a BLE central and a BLE peripheral with multiple characteristics.
      My BLE central reads the values using CyBle_GattcReadCharacteristicValue( connHandle, readRequestParam ).

         

      Now in the event callback for the CYBLE_EVT_GATTC_READ_RSP event, I can not see a direct way to distinguish, which characteristics values I am getting when I try to read all values at the same time.
      I know I can use a state machine approach to read each characteristic one by one and setting the current characteristics handle globally during the read process, but this seems a bit to much hustle.