- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I am currently working on a project in which I want to use the DiscvoerPrimaryServiceByUuid Function.
My question here is, what do I have to do with the return event?
Do I have to store the given values in the DB or to some handles.
I couldn't find any good example showing this.
Thanks
Chris
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Chris,
CyBle_GattcDiscoverPrimaryServiceByUuid() function is used by the GATT Client to discover a specific primary service on a GATT Server, to which it is connected, when the Service UUID is known. This function initiates multiple Find By Type Value Requests to peer device and receives Find By Type Value Response from the peer device.
In the client CYBLE_EVT_GATTC_FIND_BY_TYPE_VALUE_RSP event will be received and the event parameter is a pointer to a structure of type CYBLE_GATTC_FIND_BY_TYPE_RSP_PARAM_T. This structure will contains the details of Handle Range list and size of list of particular UUID of peer device. Please refer the structure in the BLE component for more information.
Please refer the Example project Day020_BLE_UART example project in the GitHub for more information.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Chris,
CyBle_GattcDiscoverPrimaryServiceByUuid() function is used by the GATT Client to discover a specific primary service on a GATT Server, to which it is connected, when the Service UUID is known. This function initiates multiple Find By Type Value Requests to peer device and receives Find By Type Value Response from the peer device.
In the client CYBLE_EVT_GATTC_FIND_BY_TYPE_VALUE_RSP event will be received and the event parameter is a pointer to a structure of type CYBLE_GATTC_FIND_BY_TYPE_RSP_PARAM_T. This structure will contains the details of Handle Range list and size of list of particular UUID of peer device. Please refer the structure in the BLE component for more information.
Please refer the Example project Day020_BLE_UART example project in the GitHub for more information.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, I think this will help.
Chris