How to merge ble gatt server and client together in a ble peripheral?

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

cross mob
Anonymous
Not applicable

I implement my ble peripheral based on ble hid keyboard project, it is set as ble gatt server, but my customer want to add a service like apple ancs. I found a sample ancs project on cypress website(BLE version 2.10), it is set as ble gatt client, and found it can be set as gatt client and server, which can not be found in ble hid keyboard project(BLE version 2.20)? So Is there any way to set both gatt client and server in ble hid keyboard project?Thanks!

   

 

   

Cgha

0 Likes
1 Reply
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

Yes, you can configure your BLE component to be both GATT client and server. From there you can add the services you need.

0 Likes