- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
I am using CYW20706,
start with BLE peripheral role and continue advertising,
I hve a question,
if I want to continue advertising and avoid any possible to stop it, which is the best way to do?
1. timer regularly call wiced_bt_start_advertisements(), to enable advertising whatever advertising is enalbe or disable.
2. timer regularly call wiced_bt_ble_get_current_advert_mode(), to check advertising state. make sure state first.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please configure advertisement duration in wiced_bt_cfg_settings_t which will be present in app_bt_cfg.c. Setting 0 to high_duty_duration/low_duty_duration will ensure the advertisement stay for infinite duration.
FYI. Few sample applications for initial learning can be found here. https://github.com/Infineon/CypressAcademy_BT101_Files/tree/master/Projects/ch04a/key_ch04a_ex01_ble
Thanks,
-Dheeraj.P.K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please configure advertisement duration in wiced_bt_cfg_settings_t which will be present in app_bt_cfg.c. Setting 0 to high_duty_duration/low_duty_duration will ensure the advertisement stay for infinite duration.
FYI. Few sample applications for initial learning can be found here. https://github.com/Infineon/CypressAcademy_BT101_Files/tree/master/Projects/ch04a/key_ch04a_ex01_ble
Thanks,
-Dheeraj.P.K