I've got the following problem. I connect successfully to a speed sensor with deviceNumber 0 and false for the boolean isSpdCadCombinedSensor via the following requestAccess method:
public static PccReleaseHandle<AntPlusBikeSpeedDistancePcc> requestAccess(Context bindToContext,
int antDeviceNumber,
int searchProximityThreshold,
boolean isSpdCadCombinedSensor, AntPluginPcc.IPluginAccessResultReceiver<AntPlusBikeSpeedDistancePcc> resultReceiver,
AntPluginPcc.IDeviceStateChangeReceiver stateReceiver)
After this I want to connect to a (seperate) cadence sensor as well. Also with the same type of request for the cadence sensor and deviceNumber 0. Then I got as a response "ALREADY_SUBSCRIBED". Why?
When I'm change the deviceNumber to the deviceNumber of my device it will connect. When I first connect to a cadence sensor and then to a speed sensor I got the same result for the speed sensor.
At the same time I can connect without any problem to a power and heartrate sensor by using the same type of requestAccess methods and deviceNumber 0.