I want to connect 2 PSoC 6 devices over BLE and transmit serial data over a custom service. Each device can be either the central or peripheral depending on the use case. The custom service is only in the peripheral database and the central must discover it and enable notifications. Is there an example project for this? I only see a custom service example for the peripheral side in CE220167_BLE_UI. I cannot find anything for the central side.
Solved! Go to Solution.
These examples don't use any custom services for the Client. I will try to copy the client code from existing services like BAS. I tried to add a custom service for Client in PSoC Creator GATT Settings but there is no option until I added a profile like BAS first. After I add the custom service I can remove the BAS.
Thanks. It looks like all the service discovery code was not used because we know the database handles already. I will do the same for now because I only connect between my own devices.