Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Error TRANSFER_IN_PROGRESS (0x 1F) 

Rank

Total Posts: 8

Joined 2012-11-16

PM

I've a very strange problem. I call this code every EVENT_RX_ACKNOWLEDGED event
to send a data packet:

Channels[ucChannel].aucTxBuf[0]:=1;
               
Channels[ucChannel].aucTxBuf[1]:=ResistanceValue;
               
Channels[ucChannel].aucTxBuf[2]:=0;
               
Channels[ucChannel].aucTxBuf[3]:=0;
               
Channels[ucChannel].aucTxBuf[4]:=0;
               
Channels[ucChannel].aucTxBuf[5]:=0;
               
Channels[ucChannel].aucTxBuf[6]:=0;
               
Channels[ucChannel].aucTxBuf[7]:=0;
               
ANT_SendAcknowledgedData(ucChannelChannels[ucChannel].aucTxBuf); 


In the ResponseFunction I receive this packet (error) after some call that usually worked:

01 4F 1F 70 00 00 00 00 00

But I don't find an explanation clear enougth.in the ANT usage document, please, can somone help me?      
Avatar
RankRankRankRank

Total Posts: 129

Joined 2010-11-30

PM

Are you using an nRF24AP2? You may be seeing a firmware issue with sending an Acknowledged message on a non-tracking slave channel.

See the "Uplink Communication Failure on Slave Channel" section in the "ANT AP2 Module Revision History" document available on the documents download page.
There is also a note in the ANT Message and Protocol doc about looking for the GO_TO_SEARCH event (or counting RX FAILS) when sending ack/bursts on the reverse direction, for the message not sent case, and the need to Unassign your channel to clean the state.