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
optionalBatteryStatus:"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
optionalBatteryStatusBit:number
The battery status bit of the sensor.
MuscleOxygenSensorState.BatteryStatusBit
sensors/muscleOxygen/muscleOxygenSensorState.ts:122
optionalBatteryVoltage:number
The battery voltage of the sensor.
MuscleOxygenSensorState.BatteryVoltage
sensors/muscleOxygen/muscleOxygenSensorState.ts:110
optionalCurrentSaturatedHemoglobinPercentage: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
optionalHwVersion:number
The hardware version of the sensor.
MuscleOxygenSensorState.HwVersion
sensors/muscleOxygen/muscleOxygenSensorState.ts:74
optionalManId:number
The manufacturer ID of the sensor.
sensors/muscleOxygen/muscleOxygenSensorState.ts:80
optionalMeasurementInterval: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
optionalModelNum:number
The model number of the sensor.
MuscleOxygenSensorState.ModelNum
sensors/muscleOxygen/muscleOxygenSensorState.ts:86
optionalOperatingTime:number
The cumulative operating time of the sensor in seconds.
MuscleOxygenSensorState.OperatingTime
sensors/muscleOxygen/muscleOxygenSensorState.ts:104
optionalPreviousSaturatedHemoglobinPercentage: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
optionalSerialNumber:number
The serial number of the sensor.
MuscleOxygenSensorState.SerialNumber
sensors/muscleOxygen/muscleOxygenSensorState.ts:98
optionalSupportANTFS:boolean
Indicates whether ANT-FS is supported by the sensor.
MuscleOxygenSensorState.SupportANTFS
sensors/muscleOxygen/muscleOxygenSensorState.ts:40
optionalSwVersion: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
optionalTotalHemoglobinConcentration:number|"Invalid"|"AmbientLightTooHigh"
The total hemoglobin concentration. Can be a numeric value, “AmbientLightTooHigh”, or “Invalid”.
MuscleOxygenSensorState.TotalHemoglobinConcentration
sensors/muscleOxygen/muscleOxygenSensorState.ts:54
optionalUTCTimeRequired:boolean
Indicates whether UTC time is required by the sensor.
MuscleOxygenSensorState.UTCTimeRequired