events speedDataįired when a new wheel speed is calculated. Defaults to a wheel with diameter of 70cm (= 2.199). SpeedCadence methods setWheelCircumference(circumferenceInMeters)Ĭalibrates the speed sensor. HeartRate events hbDataįired when new heartbeat data is received. detach()įired after the sensor is correctly detached. Common to all Scanners methods scan()Īttaches the sensors and starts scanning for data from every devices in range. detachedįired after the sensor is correctly detached. detach()įired after the sensor is correctly attached. Common to all Sensors methods attach(channel, deviceId)Īttaches the sensors, using the specified channel and deviceId (use 0 to connect to the first device found). shutdownįired after the stick is correctly closed. close()įired after the stick is correctly initialized. Returns a cancellation token with a method cancel you can use to stop waiting.Ĭallback is a function accepting a single Error parameter and it will be called when the stick is open (with the parameter undefined) or in case of failure (with the parameter set to the error). Tries to open the stick, waiting for it if not available right now. methods is_present()Ĭhecks if the stick is present. The maximum number of channels that this stick supports valid only after startup event fired.
Install garmin usb ant stick driver#
GarminStick3 is the driver for the mini Garmin ANT+ stick
GarminStick2 is the driver for ANT+ sticks with a USB product ID of 0x1008.Īs well as the old Garmin USB2 ANT+ stick, this works with many of the common off-brand clones. never detach a sensor before receiving the attached or detached event of the previous sensor.never attach a new sensor before receiving the attached or detached event of the previous sensor.never attach a sensor before receiving the startup event.on ( 'hbData', function ( data ) Important notes