You are here: Forum Home → ANT Developers Forums → ANT in Mobile Phones → Thread
Ian Haigh
Ian Haigh
Ian Haigh
Ian Haigh
ExtendedAssignment extendedAssign = new ExtendedAssignment();
extendedAssign.enableBackgroundScanning();
mBackgroundScanChannel.assign(ChannelType.create(0x10), extendedAssign);
ChannelId channelId = new ChannelId(0,0,0);
mBackgroundScanChannel.setChannelId(channelId);
LibConfig libconfig = new LibConfig();
libconfig.setEnableChannelIdOutput(true);
mBackgroundScanChannel.setAdapterWideLibConfig(libconfig);
mBackgroundScanChannel.setSearchPriority(5);
Ian Haigh