This commit is contained in:
Harald Hoyer 2017-04-24 16:35:13 +02:00 committed by Harald Hoyer
parent 103e51e4d0
commit b1a55ffae8
7 changed files with 5 additions and 7 deletions

View file

@ -28,5 +28,5 @@ dependencies {
compile 'com.android.support:support-v4:24.2.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
provided project(':android_antlib_4-14-0')
compile project(':android_antlib_4-14-0')
}

View file

@ -7,7 +7,7 @@ package com.dsi.ant.channel;
public enum PredefinedNetwork {
INVALID(-1),
PUBLIC(0),
ANT_PLUS1(1), //
ANT_PLUS_1(1),
ANT_FS(2);
private final int mRawValue;

View file

@ -218,7 +218,7 @@ public class ChannelService extends Service
* acquireChannel(context, PredefinedNetwork,
* requiredCapabilities, desiredCapabilities).
*/
mAntChannel = mAntChannelProvider.acquireChannel(this, PredefinedNetwork.ANT_PLUS1);
mAntChannel = mAntChannelProvider.acquireChannel(this, PredefinedNetwork.ANT_PLUS_1);
/*
NetworkKey mNK = new NetworkKey(new byte[] { (byte)0xb9, (byte)0xa5, (byte)0x21, (byte)0xfb,
(byte)0xbd, (byte)0x72, (byte)0xc3, (byte)0x45 });