Can't discover services after connecting as central device

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jobac_1391566
Level 1
Level 1

I have tried all of the following function calls and never receive a callback for any of the corresponding events.  Is this a known issue?         

Cy_BLE_GATTC_FindIncludedServices();

Cy_BLE_GATTC_StartDiscovery();

Cy_BLE_GATTC_DiscoverPrimaryServices();

Cy_BLE_GATTC_DiscoverPrimaryServiceByUuid();

0 Likes
1 Solution

Hello Joe,

Yes, we are developing some code examples demonstrating the central/client use case. In fact, the code example will demonstrate simultaneous GAP central/peripheral implementation along with GATT Server/client implementation.

The new example will soon be available online.

Regards,

Meenakshi Sundaram R

View solution in original post

0 Likes
4 Replies
MeenakshiR_71
Employee
Employee
100 likes received 50 likes received 25 likes received

Can you please share the full source code (along with BLE component settings)? We do not have any known issues with these APIs.

That said, to use these APIs you need a GATT client rather than a GAP central device (even GAP peripherals can implement GATT clients). Make sure you have enabled at least 1 client instance in the GATT settings tab in the BLE component settings.

Regards,

Meenakshi Sundaram R

0 Likes

Hi Meenakshi,

Thanks for the response. Didn’t realize I needed to have a client instance of the gatt profile. Everything is working now.

Thanks again

Joe Bakalor

Regional Advanced Engineer

Future Connectivity Solutions

Future Electronics

12125 Woodcrest Executive Drive #200

Saint Louis, MO 63141

Mobile: 314.873.3484

E-mail: Joe.Bakalor@FutureElectronics.com

0 Likes

Is there a central mode/gatt client example available for the PSoC6?

Joe Bakalor

Regional Advanced Engineer

Future Connectivity Solutions

Future Electronics

12125 Woodcrest Executive Drive #200

Saint Louis, MO 63141

Mobile: 314.873.3484

E-mail: Joe.Bakalor@FutureElectronics.com<mailto:Joe.Bakalor@FutureElectronics.com>

0 Likes

Hello Joe,

Yes, we are developing some code examples demonstrating the central/client use case. In fact, the code example will demonstrate simultaneous GAP central/peripheral implementation along with GATT Server/client implementation.

The new example will soon be available online.

Regards,

Meenakshi Sundaram R

0 Likes