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

Turning on/off the ANT transmitting channel dynamically

Hi everyone,

I was wondering if there are any issues turning on and off the ANT transmitting channel during run-time of nRF51422 with this:

err_code = sd_ant_channel_close(ANT_MS_CHANNEL_NUMBER);
APP_ERROR_CHECK(err_code);

and re-opening it again later on with:

err_code = sd_ant_channel_open(ANT_MS_CHANNEL_NUMBER);
APP_ERROR_CHECK(err_code);

Is there a better way and/or am I missing anything? The initialization of the ANT channel is the same as the example in 'nrf_ant_background_scanning_demo' from SDK 10.

Thank you.

Parents Reply Children
No Data
Related