Anonymous
Not applicable
Mar 15, 2017
10:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 15, 2017
10:05 AM
My BLE Central/GATT Client is attempting to discover the services on a connected BLE peripheral/server. After the BLE central is in the CONNECTED state, it makes a request for the services by calling CyBle_GattcDiscoverPrimaryServiceByUuid(). This is returning INVALID_OPERATION. I can't find any documentation on why this call is failing. I've also tried CyBle_GattcDiscoverAllPrimaryServices() but got the same result. I was using the example project UART_to_USB_central and UART_to_USB_peripheral. The service running on the peripheral is a custom service. When those functions are called, the cyBle_state is CYBLE_STATE_CONNECTED and the cyBle_clientState is CYBLE_CLIENT_STATE_CONNECTED.
Labels
- Labels:
-
BLE
1 Reply
Mar 20, 2017
08:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 20, 2017
08:17 PM
Can you attach th eproject.
Thanks,
Hima