Hi,
I am currently developing a heart rate strap using SDK 17.1.0 and the S312 SoftDevice with the nRF52805.
I have noticed an issue:
when I connect the heart rate strap to my phone using the nRF Connect app, the ANT broadcast shows a large number of RX Failures and frequently enters the "Go to Search" state. However, as soon as I disconnect the phone from the heart rate strap, everything works normally. Similarly, when I don’t connect the phone at all, the ANT communication is also normal. Are there any parameters that need to be adjusted?
#define MIN_CONN_INTERVAL MSEC_TO_UNITS(400, UNIT_1_25_MS) /**< Minimum acceptable connection interval (0.4 seconds). */
#define MAX_CONN_INTERVAL MSEC_TO_UNITS(650, UNIT_1_25_MS) /**< Maximum acceptable connection interval (0.65 second). */
#define SLAVE_LATENCY 0 /**< Slave latency. */
#define CONN_SUP_TIMEOUT MSEC_TO_UNITS(4000, UNIT_10_MS) /**< Connection supervisory timeout (4 seconds). */
#ifndef ANT_HRM_ANT_OBSERVER_PRIO
#define ANT_HRM_ANT_OBSERVER_PRIO 1
#endif
NRF_SDH_ANT_OBSERVER(m_ant_observer, ANT_HRM_ANT_OBSERVER_PRIO,ant_hrm_sens_evt_handler, &m_ant_hrm);
Thank you.
John