Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

How to setup receive for 60 channel

Rank

Total Posts: 1

Joined 2018-01-12

PM

Hello.

I'm using nRF5_SDK12.3 version and S212 softdevice, nRF52832 MCU to monitor HR. But the limitation of Maximum Channel is only 15 in SDK example. I want to extend the channels to 60. If change ANT_CONFIG_TOTAL_CHANNELS_ALLOCATED and MAX_ANT_CHANNELS parameter to 60, the sd_ant_enable(&m_ant_enable_cfg) will occur NRF_ERROR_INVALID_PARAM error.
How to setup? Please advise.

Yong      
RankRankRankRank

Total Posts: 120

Joined 2013-05-07

PM

Hi Yong,

The nRF5 supports up to 15 channels in its ANT software stack. Changing the MAX_ANT_CHANNEL parameter will not change this limitation.

Depending on what your use-case is, you may want to consider using a continuous scan instead. So instead of tracking 60 individual channels, your program will listen to all ANT+ HRMs in proximity. If you enable extended assignment, you'll be able to differentiate the different HRMs by means of their extended device number.

Hope this helps,
BK.