BluetoothKit icon indicating copy to clipboard operation
BluetoothKit copied to clipboard

How to stop scanning after connected?

Open Cipherdale opened this issue 4 years ago • 0 comments

Dear creator Thank you for making BluetoothKit framework, it's help me a lot

the library is work beautifully, but i have one question, how to stop scanning? im already success to send data from peripheral to central, i tried both method scan with duration, and scan continously, and everything work, but how to stop central from scanning, because it doesn't make a sense if central already connected with peripheral but central always scanning. Apologize if my English is bad.

my second question is (scan with duration) method automatically stop central from scanning after connected to peripheral? if yes, is peripheral will keep connected while scanning is stopped?

third question is, is (scan continously) method is created for always scanning? if is yes, is there anyway to stop scanning after connected to peripheral? if yes, is peripheral will keep connected while scanning is stopped?

Cipherdale avatar Dec 02 '20 15:12 Cipherdale