Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
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.
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 .