You are here

Disconnection from GATTserver (GAP Peripheral) | Cypress Semiconductor

Disconnection from GATTserver (GAP Peripheral)

Summary: 2 Replies, Latest post by Anjana Muralidharan on 02 Oct 2016 11:23 PM PDT
Verified Answers: 1
Last post
Log in to post new comments.
carlsmith.sms_1616011's picture
User
14 posts

Hello All,

I am Anthony and now I am doing a bluetooth controlled padlock using mobile app and I use PSoC4BLE module, CYBLE-224110-00. In this project, we have low-power-mode feature and the lock will sleep after it's unlocked or locked. So I use deep-sleep mode I want to stop the ble before entering into the sleep mode so I want to disconnect the connection with the phone before stopping the ble. What should I need to do? Thanks.

Anjana Muralidharan's picture
Cypress Employee
116 posts

Hi Anthony,

Please go through our Low power appnote for BLE applications. Visit: http://www.cypress.com/documentation/application-notes/an92584-designing...

Hope it will be helpful for you.

Thanks,
Anjana

Anjana Muralidharan's picture
Cypress Employee
116 posts

Hi Anthony,

Also please note, for your other query: ' I want to disconnect the connection with the phone '

Answer: You can use the API CyBle_GapDisconnect (uint8 bdHandle); for sending disconnect request. Please go through the BLE component datasheet for details.

Thanks,
Anjana

Log in to post new comments.