I used nRF5_SDK_14.1.0_1dda907.
I opened the bpwr channel then received ant+ packet.
The device received ant+ packet successful.
How do i know that how long time the device not receive packet will close ant+ channel automatically.
I used nRF5_SDK_14.1.0_1dda907.
I opened the bpwr channel then received ant+ packet.
The device received ant+ packet successful.
How do i know that how long time the device not receive packet will close ant+ channel automatically.
The default search timeout is 25 seconds. You can change this by calling sd_ant_channel_rx_search_timeout_set().
If already the assigned Id of channel.
The device already received ant+ packet then the device not receive packet.
Also reference the search timeout?
This is not the same no.
Earlier you would get 5 EVENT_RX_FAIL events, before you would get a EVENT_RX_FAIL_GO_TO_SEARCH indicate that the stack now will search for the master again.
However I believe that the number of EVENT_RX_FAIL have been increased from 5 to 8, so you may test with the specific softdevice by turning OFF the master and measure the number of EVENT_RX_FAIL until EVENT_RX_FAIL_GO_TO_SEARCH occurs.
Thank your detailed explanation!!
So,after EVENT_RX_FAIL_GO_TO_SEARCH occurs, default search timeout is 25 seconds.
What happens after search timeout ?
Only close ant+ channel ?
Thank your detailed explanation!!
So,after EVENT_RX_FAIL_GO_TO_SEARCH occurs, default search timeout is 25 seconds.
What happens after search timeout ?
Only close ant+ channel ?
Sequence of events:
EVENT_RX -> EVENT_RX_FAIL -> EVENT_RX_FAIL_GO_TO_SEARCH -> EVENT_RX_SEARCH_TIMEOUT -> EVENT_CHANNEL_CLOSED
Timeouts:
sd_ant_channel_low_priority_rx_search_timeout_set
9.5.2.15 Channel Low Priority Search Timeout (0x63), default: 5s
+
sd_ant_channel_rx_search_timeout_set
9.5.2.5 Channel Search Timeout (0x44), default: 25s