Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Receive a EVENT_TX unexpectedly

RankRankRankRank

Total Posts: 523

Joined 2012-11-15

PM

Dear Sir,
I have encountered a strange problem.
When MCU sent a ‘close_channel’ command to AP2, it would received a ‘EVENT_TX‘ response unexpectedly before receiving a ‘EVENT_CHANNEL_COLSED’ response. It happened sometimes.
I am wondering whether it is normal.
If YES, which condition will cause the AP2 sent back a ‘EVENT_TX‘ response? Is there any document refer to this description?
If NO, what are the possible causes of my wrong handling?

Thank you!      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi leven,

EVENT_TX occurs when the ANT device has successfully transmitted a broadcast message. Before the CLOSE_CHANNEL command was sent your MCU was still likely sending out broadcast data commands to the ANT and the CLOSE_CHANNEL command was sent before the ANT device responded to a previous broadcast request.

For more information you can refer to the ANT Message Protocol and Usage document, page 62 shows a Broadcast Data sequence and page 73 shows a description of Channel Response messages.

Regards,
Harrison