BLE api guides | Cypress Semiconductor
BLE api guides
I am currently working on a project to design a BLE Server/ Pheriperal device that connects to the Client/ Central device in order to pass some small data to the Central.
I have my have my data service (a modified Bas service), my periodic timer (a cascaded watchdog timer) and my Advertising, Conneted, and DeepSleep states working. I am currently working with the CY8CKIT and Dongle, so my device "connects" after I use the CySmart to scan and connect.
However, I need to make the Pheripheral forcibly disconnect after it is done with the BLE service (a notify service), so that it can rapidly enter DeepSleep mode.
I see some of the API's inside the GAP and GATT layers refering to disconnecting (such as CyBle_GapDisconnect(bdHandle) ), but I am currently struggeling to get this disconnects to work without crashing the Pheriphal or Central device.
Are there any API guides for the BLE GATT/GAP layers?
Are there any extra example projects that demonstrate this kind of disconnection? I did not see any in the Creator 3.1 examples.
Any assitance or pointers to more advanced documentation is appreciated