Hi
I'm trying to run the HRM_RX exemple on the nordic NRF51422. This is my configuration:
-Eclipse IDE -ARM GCC 4.8.3 -NRF51422_AAC0 so I'm using the lasest SDK 4.2.2 for this chip
I can compile and debug the code but in hrm_rx.c
when I call sd_ant_channel_assign
" err_code = sd_ant_channel_assign(HRMRX_ANT_CHANNEL, HRMRX_CHANNEL_TYPE, ANTPLUS_NETWORK_NUMBER, HRMRX_EXT_ASSIGN); APP_ERROR_CHECK(err_code); "
It's always returning with the following errors:
NRF_ANT_ERROR_CHANNEL_IN_WRONG_STATE ( 0x4015).
Of course I've entered the ant+ key as I'm ANT adopter.
For test, I'm using my ant+ garmin belt.
I don't know why I'm getting this error all the previous call to the softdevice are returning NRF_SUCCES.
Thanks