1 Reply Latest reply on Jun 8, 2016 11:25 AM by madhul_36

    GATT events



      I am establishing communication between PROC BLE as a central device and PSOC BLE as a peripheral device. All events upto CYBLE_EVT_GATTC_DISCOVERY_COMPLETE are generated and fine i.e. connection is established and GATT server is discovered.


      Now as I have the service UUID I am using function CyBle_GattcDiscoverPrimaryServiceByUuid(cyBle_connHandle,uuid) in which uuid is a structure of type CYBLE_GATT_VALUE_T . 


      The structure contains pointer to array of uuid.  I found these two ways to assign the arrays. 


      uint8 point[4]={0xAu,0x0u,0x0u,0x0u } ; point[0]='A';point[1]='0';point[2]='0';point[3]='0';


       Which one is correct ? Service uuid at the server is A000.


      Also after calling this function  CYBLE_EVT_GATTC_FIND_BY_TYPE_VALUE_RSP event is not generating. Directly ATTRIBUTE_NOT_FOUND error code is generated which signifies completion of process. I am unable to get the event parameters from  CYBLE_EVT_GATTC_FIND_BY_TYPE_VALUE_RSP as it is not generated by BLE .


      What may be the possible faults ?