ant-plus-next / MuscleOxygenScanState
Represents the state of a Muscle Oxygen sensor during scanning. Extends the MuscleOxygenSensorState to include additional fields specific to scanning, such as RSSI (Received Signal Strength Indicator) and signal threshold.
new MuscleOxygenScanState(
deviceId
):MuscleOxygenScanState
Creates an instance of the MuscleOxygenSensorState.
number
The unique identifier of the sensor device.
const sensorState = new MuscleOxygenSensorState(12345);
MuscleOxygenSensorState
.constructor
sensors/muscleOxygen/muscleOxygenSensorState.ts:14
optional
_EventCount:number
The count of events detected by the sensor.
MuscleOxygenSensorState
._EventCount
sensors/muscleOxygen/muscleOxygenSensorState.ts:22
optional
BatteryStatus:"New"
|"Good"
|"Ok"
|"Low"
|"Critical"
|"Invalid"
The battery status of the sensor. Can be “New”, “Good”, “Ok”, “Low”, “Critical”, or “Invalid”.
MuscleOxygenSensorState
.BatteryStatus
sensors/muscleOxygen/muscleOxygenSensorState.ts:117
optional
BatteryStatusBit:number
The battery status bit of the sensor.
MuscleOxygenSensorState
.BatteryStatusBit
sensors/muscleOxygen/muscleOxygenSensorState.ts:122
optional
BatteryVoltage:number
The battery voltage of the sensor.
MuscleOxygenSensorState
.BatteryVoltage
sensors/muscleOxygen/muscleOxygenSensorState.ts:110
optional
CurrentSaturatedHemoglobinPercentage:number
|"Invalid"
|"AmbientLightTooHigh"
The percentage of saturated hemoglobin from the current measurement. Can be a numeric value, “AmbientLightTooHigh”, or “Invalid”.
MuscleOxygenSensorState
.CurrentSaturatedHemoglobinPercentage
sensors/muscleOxygen/muscleOxygenSensorState.ts:68
DeviceId:
number
The unique identifier of the sensor device.
MuscleOxygenSensorState
.DeviceId
sensors/muscleOxygen/muscleOxygenSensorState.ts:28
optional
HwVersion:number
The hardware version of the sensor.
MuscleOxygenSensorState
.HwVersion
sensors/muscleOxygen/muscleOxygenSensorState.ts:74
optional
ManId:number
The manufacturer ID of the sensor.
sensors/muscleOxygen/muscleOxygenSensorState.ts:80
optional
MeasurementInterval:1
|2
|0.5
|0.25
The measurement interval in seconds. Possible values: 0.25, 0.5, 1, or 2 seconds.
MuscleOxygenSensorState
.MeasurementInterval
sensors/muscleOxygen/muscleOxygenSensorState.ts:47
optional
ModelNum:number
The model number of the sensor.
MuscleOxygenSensorState
.ModelNum
sensors/muscleOxygen/muscleOxygenSensorState.ts:86
optional
OperatingTime:number
The cumulative operating time of the sensor in seconds.
MuscleOxygenSensorState
.OperatingTime
sensors/muscleOxygen/muscleOxygenSensorState.ts:104
optional
PreviousSaturatedHemoglobinPercentage:number
|"Invalid"
|"AmbientLightTooHigh"
The percentage of saturated hemoglobin from the previous measurement. Can be a numeric value, “AmbientLightTooHigh”, or “Invalid”.
MuscleOxygenSensorState
.PreviousSaturatedHemoglobinPercentage
sensors/muscleOxygen/muscleOxygenSensorState.ts:61
Rssi:
undefined
|number
The received signal strength indicator (RSSI) of the sensor signal.
sensors/muscleOxygen/muscleOxygenScanState.ts:13
optional
SerialNumber:number
The serial number of the sensor.
MuscleOxygenSensorState
.SerialNumber
sensors/muscleOxygen/muscleOxygenSensorState.ts:98
optional
SupportANTFS:boolean
Indicates whether ANT-FS is supported by the sensor.
MuscleOxygenSensorState
.SupportANTFS
sensors/muscleOxygen/muscleOxygenSensorState.ts:40
optional
SwVersion:number
The software version of the sensor.
MuscleOxygenSensorState
.SwVersion
sensors/muscleOxygen/muscleOxygenSensorState.ts:92
Threshold:
undefined
|number
The signal threshold value for the sensor.
sensors/muscleOxygen/muscleOxygenScanState.ts:19
optional
TotalHemoglobinConcentration:number
|"Invalid"
|"AmbientLightTooHigh"
The total hemoglobin concentration. Can be a numeric value, “AmbientLightTooHigh”, or “Invalid”.
MuscleOxygenSensorState
.TotalHemoglobinConcentration
sensors/muscleOxygen/muscleOxygenSensorState.ts:54
optional
UTCTimeRequired:boolean
Indicates whether UTC time is required by the sensor.
MuscleOxygenSensorState
.UTCTimeRequired