You are here: Forum Home → ANT Developers Forums → ANT in Mobile Phones → Thread
mAntChannel.setChannelId(channelId);   //  set channle id
mAntChannel.setPeriod(CHANNEL_PROOF_PERIOD);  //set period
mAntChannel.setRfFrequency(CHANNEL_PROOF_FREQUENCY); //set frequency
LibConfig libConfig = new LibConfig(true, true, true);  //this is for getting extended data
mAntChannel.setAdapterWideLibConfig(libConfig);
mAntChannel.open(); 
public void onReceiveMessage(MessageFromAntType messageType, AntMessageParcel messageParcel) throws RemoteException 
Dynastream Developer
Dynastream Developer