This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

background scanning

i used nRF5_SDK_14.1.0_1dda907.

ANT protocol :

I used ant_background_scanning example.

I want to scannig device ID of hrm, bpwrt and bsc.

Then choose the device ID for received ant+ packet.

What is the function that can stop scanning mode?

Or, what is the way that achieve the situation that scan device ID then choose the device ID for received packet?

Parents
  • Hi, the number of ANT channels that can be open at any given time is set when calling sd_ant_enable() with ucTotalNumberOfChannels.

    If one of the channels is a background scanning channel with low priority search, then there is no problem to configure more channels that can be used to track a single device. The procedure to setup a second ANT channel is the same as always by assigning, setting channel ID, network keys, period, frequency,... and finally open channel. You can close and unassign a channel as always, even background scanning channel.

     

Reply
  • Hi, the number of ANT channels that can be open at any given time is set when calling sd_ant_enable() with ucTotalNumberOfChannels.

    If one of the channels is a background scanning channel with low priority search, then there is no problem to configure more channels that can be used to track a single device. The procedure to setup a second ANT channel is the same as always by assigning, setting channel ID, network keys, period, frequency,... and finally open channel. You can close and unassign a channel as always, even background scanning channel.

     

Children
No Data
Related