Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

ANT+ background search blocks radio

Rank

Total Posts: 1

Joined 2016-02-15

PM

Dear Friends:
NRF52832 + S332 v4.0.2
MTU 247
My use scenario is: After connected with App, App send command to device to search surrounding ANT+ and ble sensors. Device will transmit results to App by Nordic nus service with notification characteristic.
My problem is: ble disconnection event with reason timeout often occurs. I set low priority in ant+ background search. And I know little about this situation.
If you have any advise,please tell me how to debug my issuse.      
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

The search priority only affects the relative priority within ANT. To adjust BLE vs ANT you need to modify the coex settings. See sd_ant_coex_config_set.

This is related https://www.thisisant.com/forum/viewthread/6768/      

Signature

Ian Haigh

RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

Speeding up the BLE connection interval is a good place to start if you haven't tried that yet.

If you still run into issues try doubling “search channel fixed interval priority config” to reduce the impact of the ANT search.      

Signature

Ian Haigh

Rank

Total Posts: 2

Joined 2009-01-20

PM

I have employed the sd_ant_coex_config_set() feature and disabled the "search channel fixed interval priority config". I think I can see some reduction in the impact on an existing BLE peripheral connection trying to deliver notifications while the ANT scanning is active, but it is still delaying numerous notifications.

I am searching two ANT channels using the configurations below:

ROMDATA_T ant_search_config_t aprfant_dynastream_search_config =
{
.channel_number = APRFANT_HRM_DYNASTREAM_SCAN_CHANNEL_NUMBER,
.low_priority_timeout = ANT_LOW_PRIORITY_TIMEOUT_DISABLE,
.high_priority_timeout = ANT_HIGH_PRIORITY_SEARCH_DISABLE,
.search_sharing_cycles = 64, //ANT_SEARCH_SHARING_CYCLES_DISABLE,
.search_priority = ANT_SEARCH_PRIORITY_DEFAULT,
.waveform = ANT_WAVEFORM_DEFAULT,
};

ROMDATA_T ant_search_config_t aprfant_suunto_search_config =
{
.channel_number = APRFANT_HRM_SUUNTO_SCAN_CHANNEL_NUMBER,
.low_priority_timeout = ANT_LOW_PRIORITY_TIMEOUT_DISABLE,
.high_priority_timeout = ANT_HIGH_PRIORITY_SEARCH_DISABLE,
.search_sharing_cycles = 64, //ANT_SEARCH_SHARING_CYCLES_DISABLE,
.search_priority = ANT_SEARCH_PRIORITY_DEFAULT,
.waveform = ANT_WAVEFORM_DEFAULT,
};

While there does appear to be some improvement, I would like to see if I can do better.

Any suggestions:
     
Rank

Total Posts: 2

Joined 2024-05-08

PM

ANT+ background search blocks radio is amazing and there are a lot of people using it. Also when I searched for the services here https://nhattao.com/members/njmcdirectnj.6548896/ I saw people are using the direct tickets here https://www.quora.com/profile/NJMCDirect-Ticket-1 that provide the right results to us.