You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
mAntChannelProvider = mAntRadioService.getChannelProvider();
mChannel = mAntChannelProvider.acquireChannel(getApplicationContext(), PredefinedNetwork.ANT_PLUS);
ChannelId id = new ChannelId(40000, 11, 0x05);
mChannel.setChannelId(id);
mChannel.setRfFrequency(57);
mChannel.setPeriod(8182);
mChannel.setTransmitPower(3);
mChannel.assign(ChannelType.BIDIRECTIONAL_MASTER);
mChannel.setChannelEventHandler(mChannelEventCallback);
sendBroadcast(rnd.nextInt());
mChannel.open();
.(JavaScript must be enabled to view this email address) and you will get a document so sign, once signed and returned you will get access.You need access to another SDK to get access to the Ant+ network key, send a request to
Reason for the document to sign is that Ant+ behavior is defined in the device profiles, and you have to follow them to sure compatibility with other Ant+ devices.
Hello EIPaho
Reason for trying this was that my spinning bike was broadcasting its sensory data using BLE (no connect, just advertising).
I've made two solutions for this now, one is on Android device. Where the app starts listening for BLE advertising packets from a particular spinningbike ( ID is included in the advertising packet ), and then broadcasts this on Ant+ network simulating a bike power sensor.