AntChannelSetProximitySearch Method
Enables a one time proximity requirement for searching. Only ANT devices within the set proximity bin can be acquired.
Search threshold values are not correlated to specific distances as this will be dependent on the system design.
This feature is not available on all ANT devices.
Throws exception if given bin value is > 10.
Namespace: SmallEarthTech.AntUsbStickAssembly: SmallEarthTech.AntUsbStick (in SmallEarthTech.AntUsbStick.dll) Version: 4.0.2+1406bfb784e6c85bd5d7261241f4f4a1a31b0896
public bool SetProximitySearch(
byte thresholdBin,
uint responseWaitTime
)
Public Function SetProximitySearch (
thresholdBin As Byte,
responseWaitTime As UInteger
) As Boolean
public:
virtual bool SetProximitySearch(
unsigned char thresholdBin,
unsigned int responseWaitTime
) sealed
abstract SetProximitySearch :
thresholdBin : byte *
responseWaitTime : uint32 -> bool
override SetProximitySearch :
thresholdBin : byte *
responseWaitTime : uint32 -> bool
- thresholdBin Byte
- Threshold bin. Value from 0-10 (0= disabled). A search threshold value of 1 (i.e. bin 1) will yield the smallest radius search and is generally recommended as there is less chance of connecting to the wrong device.
- responseWaitTime UInt32
- Time to wait for device success response
BooleanTrue on success. Note: Always returns true with a response time of 0
IAntChannelSetProximitySearch(Byte, UInt32)