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(this, PredefinedNetwork.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