Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT-FS → Thread

   

ANT-FS File Download Rejected ?!

Rank

Total Posts: 29

Joined 0

PM

Hi,
I got the following message from ao_ANTFSHost_debug.txt
It seems the host has some Rx error and then the download process is rejected.
Is any way that my application can aware the is happend by event, because without any event the application can not reaction on this error. Or is any way for me to aviod this condition.
Any suggestions are all welcome and appreciate.
Best regadrs,
tony

12.344 { 522679703}: ANTFSHostChannel::ANTFSThread(): Downloading...
12.344 { 522679703}: ANTFSHostChannel::Download(): Starting download...
13.125 { 522680484}: ANTFSHostChannel::Download(): Rx error.
13.969 { 522681328}: ANTFSHostChannel::Download(): Not receiving packets.
15.078 { 522682437}: ANTFSHostChannel::Download(): Not receiving packets.
16.078 { 522683437}: ANTFSHostChannel::Download(): Not receiving packets.
16.594 { 522683953}: ANTFSHostChannel::Download(): CRC failed, download failed.
17.578 { 522684937}: ANTFSHostChannel::Download(): Not receiving packets.
17.828 { 522685187}: ANTFSHostChannel::Download(): Tx error sending download command.
18.328 { 522685687}: ANTFSHostChannel::Download(): Not receiving packets.
19.594 { 522686953}: ANTFSHostChannel::Download(): Rx error.
20.297 { 522687656}: ANTFSHostChannel::Download(): Rx error.
20.594 { 522687953}: ANTFSHostChannel::Download(): CRC failed, download failed.
23.203 { 522690562}: ANTFSHostChannel::Download(): Not receiving packets.
24.453 { 522691812}: ANTFSHostChannel::Download(): Not receiving packets.
25.969 { 522693328}: ANTFSHostChannel::Download(): Not receiving packets.
26.531 { 522693890}: ANTFSHostChannel::Download(): Rx error.
28.219 { 522695578}: ANTFSHostChannel::Download(): Not receiving packets.
29.328 { 522696687}: ANTFSHostChannel::Download(): Not receiving packets.
29.578 { 522696937}: ANTFSHostChannel::Download(): Tx error sending download command.
30.578 { 522697937}: ANTFSHostChannel::Download(): Not receiving packets.
30.984 { 522698343}: ANTFSHostChannel::Download(): Download request rejected.
     
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

Could you provide the Device_X.txt log for this issue? From first glance it appears your ANT-FS Client is not starting the upload, but the message log would help confirm what may be going on underneath.      
Rank

Total Posts: 29

Joined 0

PM

Hi,
Thanks for your reply,
I attach the file in the attachment.
Best regards,
     

File Attachments

Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi,

The "HandleHostResponses" callback should provide an ANTFS_HostChannel.Response enum which you can react to.

Which response do you receive? From the log it could be DownloadFail, DownloadCRCRejected or DownloadReject.

Best regards