cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

deonc_3697476
New Contributor II

If the CYW20719 makes a successful connection with one Bluetooth device will it still look for and try to connect with other discovered devices?

1. What document should I refer to for setting up the CYW20719 to automatically disconnect from a successful connection?

2. Is there a way for the CYW20719 to automatically stop Bluetooth scanning (to save power) after no new discoverable Bluetooth devices are found? Or should I just implement code that makes the CYW20719 stop Bluetooth scanning and go to sleep after a certain amount of time (~1-2 seconds)?

0 Likes
Reply
1 Solution
AnjanaM_61
Moderator
Moderator

Hello,

1. If the CYW20719 makes a successful connection with one Bluetooth device will it still look for and try to connect with other discovered devices?

A) Its application specific. You can make it configure to discover next device after one peer device connection.

2. What document should I refer to for setting up the CYW20719 to automatically disconnect from a successful connection?

A) You can use API wiced_bt_gatt_disconnect for an LE connection. Also please have a look at our API documentation here: https://community.cypress.com/docs/DOC-15242

3.  Is there a way for the CYW20719 to automatically stop Bluetooth scanning (to save power) after no new discoverable Bluetooth devices are found? Or should I just implement code that makes the CYW20719 stop Bluetooth scanning and go to sleep after a certain amount of time (~1-2 seconds)?

A) You can set the scan time out. After scan time out , you can put the device to sleep.

Please refer our low power appnote for more details on Low power modes :

http://www.cypress.com/design-guides/cyw20706-and-cyw20719-low-power-modes

Thanks & Regards,

Anjana

View solution in original post

0 Likes
Reply
3 Replies
AnjanaM_61
Moderator
Moderator

Hi,

Could you please clarify your application?

Are you using Bluetooth classic or BLE or both?

Thanks,
Anjana

0 Likes
Reply
deonc_3697476
New Contributor II

Hi I am making a dual-mode bluetooth scanner so I am trying to do both. I am trying to make my application find and try to connect with all discoverable Classic and BLE devices.

My concern is, e.g., if the CYW20719 finds and successfully connect to one BLE device it will stop scanning for other Classic and BLE devices.

0 Likes
Reply
AnjanaM_61
Moderator
Moderator

Hello,

1. If the CYW20719 makes a successful connection with one Bluetooth device will it still look for and try to connect with other discovered devices?

A) Its application specific. You can make it configure to discover next device after one peer device connection.

2. What document should I refer to for setting up the CYW20719 to automatically disconnect from a successful connection?

A) You can use API wiced_bt_gatt_disconnect for an LE connection. Also please have a look at our API documentation here: https://community.cypress.com/docs/DOC-15242

3.  Is there a way for the CYW20719 to automatically stop Bluetooth scanning (to save power) after no new discoverable Bluetooth devices are found? Or should I just implement code that makes the CYW20719 stop Bluetooth scanning and go to sleep after a certain amount of time (~1-2 seconds)?

A) You can set the scan time out. After scan time out , you can put the device to sleep.

Please refer our low power appnote for more details on Low power modes :

http://www.cypress.com/design-guides/cyw20706-and-cyw20719-low-power-modes

Thanks & Regards,

Anjana

View solution in original post

0 Likes
Reply