Class: $.MO2Sensor

Inherits:
Ant.GenericChannel show all

Overview

Classes Under Namespace

Classes: MO2Data

Constant Summary

Constant Variables

Type Name Value Since Description
Type DEVICE_TYPE 31
Type PERIOD 8192

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _chanAssign as Ant.ChannelAssignment

var _data as MO2Sensor.MO2Data

var _deviceCfg as Ant.DeviceConfig

var _pastEventCount as Lang.Number or Null

var _searching as Lang.Boolean

Instance Method Details

closeSensor() as Void

Close the ANT sensor and save the session

getData() as MO2Sensor.MO2Data

Get the data for this sensor

Returns:

  • Data object

initialize()

Constructor

isSearching() as Lang.Boolean

Get whether the channel is searching

Returns:

  • true if searching, false otherwise

onMessage(msg as Ant.Message) as Void

Update when a message is received

Parameters:

  • msg —

    The ANT message

open() as Lang.Boolean

Open an ANT channel

Returns:

  • true if channel opened successfully, false otherwise

setTime() as Void

Set the current time


Generated Jun 9, 2026, 8:45:50 AM