Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

MISS ANT PLUS NETWORK KEY

Rank

Total Posts: 1

Joined 2016-09-22

PM

Hi guys, i need to ask you an important question, i have this problem:

I am developing an Android Application with smartphone that communicate with other ANT devices.

I need to set the ANT PLUS NETWORK KEY

The ANT+ network key is 8 hex values and is shown below:
[ANT+ key]


The ANT-FS key is 8 hex values and is shown below:
[ANT-FS key]

The Public network key is 8 hex values and is shown below:
[Public key]

When i try to acquire a channel there are only two valid options:

mAntChannelProvider.acquireChannel(thisPredefinedNetwork.PUBLIC,
                        
capableOfBackgroundScan); 


public enum PredefinedNetwork {
    INVALID
(-1),
    PUBLIC(
0),
    
ANT_FS(2);


Official documentation:
[This command is not required on multi-mode devices when using the default public network, ANT+ network or ANT-FS network. The default public network key is already assigned by default to Network Number 0, the ANT+ network key is assigned to Network Number 1, and the ANT-FS network key is assigned to Network Number 2.]


How can i acquire channel with ANT+ network key in an android application?

Thanks.

Edit: Removed network keys as per the terms of the ANT+ Adopter Agreement      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

Just to make this answer public as well, the ANT+ Android SDK provides access to ANT+ devices, instead of the ANT Android SDK.