Hi
I'm encountering a problem than the ANT device cannot be scanned. you can use project "ble_ant_app_hrm_v324"(ncs 324), and modify "

Hi
I'm encountering a problem than the ANT device cannot be scanned. you can use project "ble_ant_app_hrm_v324"(ncs 324), and modify "

Hello,
If I remember correctly ant_channel_open() return 0x4015 means channel is in wrong state.
Are you sure the channel is in closed state? E.g. wait for EVENT_CHANNEL_CLOSED before you open it again. When the issue occurs, what does sd_ant_channel_status_get() return?
Kenneth
Hi,
This issue occur then I do ant_channel_close and can't get EVENT_CHANNEL_CLOSED response. And ant_channel_status_get() always is 2.
Hi,
This issue occur then I do ant_channel_close and can't get EVENT_CHANNEL_CLOSED response. And ant_channel_status_get() always is 2.
Can you wait for a long period of time for test? E.g. 40seconds? I think default search time is around 30 seconds, I just want to understand if it closes at the end.
Kenneth
Hi Kenneth,
I have confirmed that when I do ant_channel_close, I can't get EVENT_CHANNEL_CLOSED even if timeout 50s. I have added the test project and test log.


Hi Kenneth,
Any update?
Hello,
Seems like the zip file is invalid, maybe it wasn't fully uploaded.
Have you tried to call close channel more than one time? Does it return any error?
Kenneth
Hi Kenneth,
I have try to close many times, "ant_channel_close" return 0, and still no EVENT_CHANNEL_CLOSED. The file ”ble_ant_app_hrm_v324_0602.zip“ I have download and unzip is ok. Anyway, I have upload again. Please check.
Thanks.
ble_ant_app_hrm_v324_0603.zip