Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

How to use CwInitMessage and CWTestMode

Rank

Total Posts: 4

Joined 2017-12-18

PM

Hello,

I'm developing Android App to transmit continuous wave in a specific channel for testing purpose.

I saw a message CwInitMessage on API page.
public final class CwInitMessage
extends AntMessageFromHost
Initializes ANT into CW test mode and should be sent after a reset.
https://www.thisisant.com/APIassets/Android_ANT_API/com/dsi/ant/message/fromhost/CwInitMessage.html

But I don't know how to send CwInitMessage from host to ant. Is there a transmit function?

I can't find the similar function of SetCWTestMode either. Should I compose a CWTestMode message on my own?

Thanks,

Bruce      
Rank

Total Posts: 4

Joined 2017-12-18

PM

This app will be used in factory test to verify the correction of antenna connectivity. And would be also used in FCC certification process.

Bruce      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Hi Bruce,

What chip model are you using to support ANT? Most cellular devices will not support CW mode.      
Rank

Total Posts: 4

Joined 2017-12-18

PM

Hi Harrison,

We are using Nordic nRF24AP2-USB.
Does it support CW mode on Android platform?

Thanks,
Bruce      
Rank

Total Posts: 4

Joined 2017-12-18

PM

Hi Harrison,

We confirmed that Nordic nRF24AP2-USB supports CW mode.
It's also no problem to set CW Test mode in PC ANTware II on Windows 7.
I'm wondering if Android SDK doesn't allow setting CW mode?

Best regards,
Bruce