@@ -1664,6 +1664,17 @@ declare function getVerisenseHardwareFriendlyName(revHwMajor: number): Verisense
16641664 */
16651665declare function isVerisenseSecondGenerationHardware ( revHwMajor : number , revHwMinor : number ) : boolean ;
16661666declare function getVerisenseHardwareCapabilities ( revHwMajor : number , revHwMinor : number ) : VerisenseHardwareCapabilities ;
1667+ /**
1668+ * GSR-capable hardware. Mirrors the firmware's authoritative
1669+ * `ShimBrd_isGsrSupportedForHwVersion` (shimmer_boards.c):
1670+ * - SR62 (any revision)
1671+ * - SR61 minor >= 5
1672+ * - SR68 minor >= 5
1673+ *
1674+ * Deliberately NOT {@link isVerisenseSecondGenerationHardware}: that predicate
1675+ * requires SR68 >= 9, but GSR arrived on the SR68 at minor revision 5.
1676+ */
1677+ declare function isVerisenseGsrSupportedHardware ( revHwMajor : number , revHwMinor : number ) : boolean ;
16671678/**
16681679 * Which physical sensor blocks a Verisense board carries. Each flag lines up
16691680 * with an operational-config field group (see
@@ -2545,6 +2556,23 @@ declare class SensorADC extends SensorBase {
25452556 setHardwareRevision ( revHwMajor : number , revHwMinor : number , revHwInternal ?: number ) : void ;
25462557 setGsrRangeSetting ( v : number ) : void ;
25472558 private getBatteryVoltageMultiplier ;
2559+ /**
2560+ * Whether this board uses the SR62 (Verisense GSR+) Shimmer3-style analog
2561+ * front end: 3.0 V SAADC reference, 40.2/287/1000/3300 kΩ GSR feedback
2562+ * resistors, 0.5 V GSR reference and range-3 uncal limit 683. Every other
2563+ * GSR-capable board (SR61 >= 5, SR68 >= 5 — firmware
2564+ * `ShimBrd_isGsrSupportedForHwVersion`) carries the second-generation DC
2565+ * front end: 1.8 V reference, 21/150/562/1740 kΩ, 0.4986 V, limit 1134.
2566+ *
2567+ * Mirrors the firmware's `selectFeedbackResistorsFromHwVersion` (hal_gsr.c),
2568+ * which keys the choice on the major revision alone (SR62 vs everything
2569+ * else). Prefers the production-config hardware revision; falls back to the
2570+ * caller-supplied hardware identifier when no revision has been read yet.
2571+ * Previously this was keyed only on the `VERISENSE_PULSE_PLUS` identifier
2572+ * string, so an SR61-5/6 presenting its true identity decoded ~1.91× high
2573+ * (DEV-874).
2574+ */
2575+ private usesSr62GsrFrontEnd ;
25482576 setEnabled ( arg1 : boolean | {
25492577 gsr ?: boolean ;
25502578 batt ?: boolean ;
@@ -3704,5 +3732,5 @@ type VerisenseCalibrationAvailability = 'enabled' | 'disabled' | 'hidden';
37043732 */
37053733declare function getVerisenseCalibrationSensorAvailability ( support : VerisenseHardwareSensorSupport | null | undefined ) : Record < number , VerisenseCalibrationAvailability > ;
37063734
3707- export { ASM_COMMAND , ASM_PROPERTY , BLE_LINK_MIN_FW , BaseShimmerClient , CHANNEL_FORMATS , CalibQuality , CalibSensorId , DEBUG_COMMAND_ID , GSR_NAME , NORDIC_DFU_BUTTONLESS_WITHOUT_BONDS , NORDIC_DFU_BUTTONLESS_WITH_BONDS , NORDIC_DFU_OP_ENTER_BOOTLOADER , NORDIC_DFU_SERVICE , NUS_RX , NUS_SERVICE , NUS_TX , OPCODES , OP_IDX , ObjectCluster , RtcDriftMonitor , SC_CALIB_FORMAT_VERSION , SC_CAL_QUALITY_MASK , SC_CAL_QUALITY_SHIFT , SC_CAL_RANGE_MASK , SC_DATA_LEN_IMU , SC_GLOBAL_HEADER_BYTES , SHIMMER3R_DEFAULTS , STREAM_MODE , SensorADC , SensorBase , SensorBitmapShimmer3 , SensorLIS2DW12 , SensorLSM6DS3 , SensorLSM6DSV , SensorMAX32674 , SensorMLX90632 , SensorPPG , SensorVD6283 , Shimmer3RClient , StreamStatsTracker , TEST_MODE_ID , TIMESTAMP_FIELD , VERISENSE_BLE_SCHEDULE_DEFAULTS , VERISENSE_BLE_SCHEDULE_RANGES , VERISENSE_BLE_SYNC_SCHEDULES , VERISENSE_CALIBRATION_MIN_FW , VERISENSE_DEFAULT_PASSKEY_BY_ID , VERISENSE_DFU_BOOTLOADER_NAME_PREFIX , VERISENSE_DFU_CONNECT_ATTEMPTS , VERISENSE_DFU_FAST_PACKET_DELAY_MS , VERISENSE_DFU_REBOOT_DELAY_MS , VERISENSE_DFU_RELIABLE_PACKET_DELAY_MS , VERISENSE_DFU_RETRY_DELAY_MS , VERISENSE_DFU_ROUTINE_LOG_REGEX , VERISENSE_DFU_SET_MODE_TIMEOUT_MS , VERISENSE_DFU_TRANSIENT_ERROR_REGEX , VERISENSE_HW_MAJOR_FRIENDLY_NAMES , VERISENSE_MAX_PLAUSIBLE_UNIX_SECONDS , VERISENSE_OPERATIONAL_FIELD_FALLBACK_GROUP_ID , VERISENSE_OPERATIONAL_FIELD_GROUPS , VERISENSE_OPERATIONAL_FIELD_GROUP_SENSOR , VERISENSE_OPERATIONAL_FIELD_SCHEMA , VERISENSE_OP_CONFIG_BYTE_SIZE , VERISENSE_SENSOR_ENABLE_FIELDS , VERISENSE_SENSOR_RATE_DEFAULT_GROUPS , VERISENSE_STREAM_SENSOR_LABELS , VerisenseBleDevice , applyDuplicateSuffix , applyImuCalibration , asmRtcBytesToUnixSeconds , asmRtcMinutesBytesToUnixSeconds , buildDefaultVerisenseCalibrationSet , buildHeader , buildMessage , buildParsedCsvFileName , buildProductionConfigPayload , buildUploadBinaryFileName , buildVerisenseAdvertisedName , buildVerisenseDfuRequestDeviceOptions , calibTsBytesToUnixSeconds , calibrateGsrDataToResistanceFromAmplifierEq , calibrateShimmer3RAdcChannel , calibrateU12AdcValue , calibrationBlobCrc , classifyVerisenseDfuError , compareVerisenseFirmwareVersion , computeVerisensePairingPin , crc16_ccitt_false , createBlankVerisenseOperationalConfig , csvCell , decodeVerisenseBleOptimizationResult , defaultVerisensePasskeyForId , deriveVerisenseMacIdFromName , describeVerisenseChargerStatus , enforceVerisenseCommsChannelInterlock , evaluateParsedFileSplit , expectedVerisenseStreamSensorIds , expectedVerisenseStreamSensorIdsFromConfig , formatByteArrayAsHex , formatByteAsHex , formatPendingEventProperties , formatSchedulerPayloadForLog , formatStatusPayloadForLog , formatVerisenseChargerStatus , formatVerisenseFirmwareVersion , formatVerisenseHardwareRevision , formatVerisenseUnixAndHuman , getFirstPayloadIndex , getOversamplingRatioADS1292R , getVerisenseCalibrationSensorAvailability , getVerisenseCalibrationSensors , getVerisenseHardwareCapabilities , getVerisenseHardwareFriendlyName , getVerisenseHardwareRevision , getVerisenseHardwareSensorSupport , getVerisenseStreamSensorLabel , getVerisenseStreamingBatteryVoltageMultiplier , getVerisenseSupportedOperationalFieldGroupIds , hhmmToMinutesSinceMidnight , inferVerisenseChargerChipFamily , inferVerisenseLookupBankCount , isAckCommand , isNackCommand , isRoutineVerisenseDfuLogMessage , isSafeFirmwareArchiveName , isUniformByteArray , isVerisenseLightDarkChannelEnabled , isVerisenseSecondGenerationHardware , minutesSinceMidnightToHHMM , nextAvailableDuplicateFileName , normalizeBytePayload , normalizeOperationalConfig , nudgeGsrResistance , padVerisenseOperationalConfig , parseBleLinkDebugPayload , parseCalibrationBlob , parseEventLogPayload , parseHeader , parseHexByteString , parseLookupTablePayload , parseMessage , parsePayloadCrcErrorBankIndexes , parsePendingEvents , parseProductionConfigPayload , parseProductionConfigPayloadFull , parseRecordBufferDetailsPayload , parseSchedulerDebugPayload , parseStatusPayload , parseVerisenseAdvertisedName , patchSecureDfuSendOperation , promiseWithTimeout , readVerisenseOperationalFieldValue , resolveVerisenseSensorRateFieldKey , runVerisenseDfuUpdate , serializeCalibrationBlob , setVerisenseDfuModeWithRetry , setVerisenseOperationalBitRange , supportsVerisenseCalibration , supportsVerisenseMagnetometer , unixSecondsToAsmRtcBytes , unixSecondsToCalibTsBytes , updateVerisenseDfuImageWithRetry , verisenseDeviceFileTag , verisenseDfuAttemptLabel , writeVerisenseOperationalFieldValue } ;
3735+ export { ASM_COMMAND , ASM_PROPERTY , BLE_LINK_MIN_FW , BaseShimmerClient , CHANNEL_FORMATS , CalibQuality , CalibSensorId , DEBUG_COMMAND_ID , GSR_NAME , NORDIC_DFU_BUTTONLESS_WITHOUT_BONDS , NORDIC_DFU_BUTTONLESS_WITH_BONDS , NORDIC_DFU_OP_ENTER_BOOTLOADER , NORDIC_DFU_SERVICE , NUS_RX , NUS_SERVICE , NUS_TX , OPCODES , OP_IDX , ObjectCluster , RtcDriftMonitor , SC_CALIB_FORMAT_VERSION , SC_CAL_QUALITY_MASK , SC_CAL_QUALITY_SHIFT , SC_CAL_RANGE_MASK , SC_DATA_LEN_IMU , SC_GLOBAL_HEADER_BYTES , SHIMMER3R_DEFAULTS , STREAM_MODE , SensorADC , SensorBase , SensorBitmapShimmer3 , SensorLIS2DW12 , SensorLSM6DS3 , SensorLSM6DSV , SensorMAX32674 , SensorMLX90632 , SensorPPG , SensorVD6283 , Shimmer3RClient , StreamStatsTracker , TEST_MODE_ID , TIMESTAMP_FIELD , VERISENSE_BLE_SCHEDULE_DEFAULTS , VERISENSE_BLE_SCHEDULE_RANGES , VERISENSE_BLE_SYNC_SCHEDULES , VERISENSE_CALIBRATION_MIN_FW , VERISENSE_DEFAULT_PASSKEY_BY_ID , VERISENSE_DFU_BOOTLOADER_NAME_PREFIX , VERISENSE_DFU_CONNECT_ATTEMPTS , VERISENSE_DFU_FAST_PACKET_DELAY_MS , VERISENSE_DFU_REBOOT_DELAY_MS , VERISENSE_DFU_RELIABLE_PACKET_DELAY_MS , VERISENSE_DFU_RETRY_DELAY_MS , VERISENSE_DFU_ROUTINE_LOG_REGEX , VERISENSE_DFU_SET_MODE_TIMEOUT_MS , VERISENSE_DFU_TRANSIENT_ERROR_REGEX , VERISENSE_HW_MAJOR_FRIENDLY_NAMES , VERISENSE_MAX_PLAUSIBLE_UNIX_SECONDS , VERISENSE_OPERATIONAL_FIELD_FALLBACK_GROUP_ID , VERISENSE_OPERATIONAL_FIELD_GROUPS , VERISENSE_OPERATIONAL_FIELD_GROUP_SENSOR , VERISENSE_OPERATIONAL_FIELD_SCHEMA , VERISENSE_OP_CONFIG_BYTE_SIZE , VERISENSE_SENSOR_ENABLE_FIELDS , VERISENSE_SENSOR_RATE_DEFAULT_GROUPS , VERISENSE_STREAM_SENSOR_LABELS , VerisenseBleDevice , applyDuplicateSuffix , applyImuCalibration , asmRtcBytesToUnixSeconds , asmRtcMinutesBytesToUnixSeconds , buildDefaultVerisenseCalibrationSet , buildHeader , buildMessage , buildParsedCsvFileName , buildProductionConfigPayload , buildUploadBinaryFileName , buildVerisenseAdvertisedName , buildVerisenseDfuRequestDeviceOptions , calibTsBytesToUnixSeconds , calibrateGsrDataToResistanceFromAmplifierEq , calibrateShimmer3RAdcChannel , calibrateU12AdcValue , calibrationBlobCrc , classifyVerisenseDfuError , compareVerisenseFirmwareVersion , computeVerisensePairingPin , crc16_ccitt_false , createBlankVerisenseOperationalConfig , csvCell , decodeVerisenseBleOptimizationResult , defaultVerisensePasskeyForId , deriveVerisenseMacIdFromName , describeVerisenseChargerStatus , enforceVerisenseCommsChannelInterlock , evaluateParsedFileSplit , expectedVerisenseStreamSensorIds , expectedVerisenseStreamSensorIdsFromConfig , formatByteArrayAsHex , formatByteAsHex , formatPendingEventProperties , formatSchedulerPayloadForLog , formatStatusPayloadForLog , formatVerisenseChargerStatus , formatVerisenseFirmwareVersion , formatVerisenseHardwareRevision , formatVerisenseUnixAndHuman , getFirstPayloadIndex , getOversamplingRatioADS1292R , getVerisenseCalibrationSensorAvailability , getVerisenseCalibrationSensors , getVerisenseHardwareCapabilities , getVerisenseHardwareFriendlyName , getVerisenseHardwareRevision , getVerisenseHardwareSensorSupport , getVerisenseStreamSensorLabel , getVerisenseStreamingBatteryVoltageMultiplier , getVerisenseSupportedOperationalFieldGroupIds , hhmmToMinutesSinceMidnight , inferVerisenseChargerChipFamily , inferVerisenseLookupBankCount , isAckCommand , isNackCommand , isRoutineVerisenseDfuLogMessage , isSafeFirmwareArchiveName , isUniformByteArray , isVerisenseGsrSupportedHardware , isVerisenseLightDarkChannelEnabled , isVerisenseSecondGenerationHardware , minutesSinceMidnightToHHMM , nextAvailableDuplicateFileName , normalizeBytePayload , normalizeOperationalConfig , nudgeGsrResistance , padVerisenseOperationalConfig , parseBleLinkDebugPayload , parseCalibrationBlob , parseEventLogPayload , parseHeader , parseHexByteString , parseLookupTablePayload , parseMessage , parsePayloadCrcErrorBankIndexes , parsePendingEvents , parseProductionConfigPayload , parseProductionConfigPayloadFull , parseRecordBufferDetailsPayload , parseSchedulerDebugPayload , parseStatusPayload , parseVerisenseAdvertisedName , patchSecureDfuSendOperation , promiseWithTimeout , readVerisenseOperationalFieldValue , resolveVerisenseSensorRateFieldKey , runVerisenseDfuUpdate , serializeCalibrationBlob , setVerisenseDfuModeWithRetry , setVerisenseOperationalBitRange , supportsVerisenseCalibration , supportsVerisenseMagnetometer , unixSecondsToAsmRtcBytes , unixSecondsToCalibTsBytes , updateVerisenseDfuImageWithRetry , verisenseDeviceFileTag , verisenseDfuAttemptLabel , writeVerisenseOperationalFieldValue } ;
37083736export type { ADCBatterySample , ADCGSRSample , ADCPayloadSample , AsmCommand , AsmProperty , BleLinkAutoOptimizeOptions , BleLinkAutoOptimizeResult , BleLinkAutoOptimizeSample , BleLinkAutoOptimizeStopReason , BleThroughputTestOptions , BleThroughputTestResult , CalibrationBlock , CalibrationBlockInput , CalibrationSet , CalibrationSetInput , ChannelFormat , DebugCommandId , DeviceMode , EvaluateParsedSplitInput , FieldKind , IShimmerClient , ImuCalibration , InertialCalibration , LIS2DW12Sample , LSM6DS3Sample , LSM6DSVSample , MAX32674Sample , MLX90632Sample , OpIdx , Opcode , PPGChannelSample , PPGSample , ParsedSplitReason , PendingEventPropertyLabel , ProductionConfig , ProductionConfigBuildOptions , ProductionConfigFull , RtcDriftMonitorOptions , RtcDriftSample , RtcDriftSampleEvent , RtcDriftSampleInput , RunHardwareTestReportOptions , SecureDfuLike , SensorBitmapShimmer3Key , SensorField , SensorMap , SensorStreamStats , Shimmer3RClientOptions , ShimmerClientOptions , StreamContribution , StreamLossStats , StreamPacket , StreamStatsSnapshot , TestModeId , TimestampFmt , TransferLoggedDataOptions , TransferLoggedDataResult , TransportKind , VD6283Sample , VerisenseAdvertisedNameParts , VerisenseBleLinkDebugPayload , VerisenseBleOptimizationResult , VerisenseBleSyncSchedule , VerisenseCalibrationAvailability , VerisenseCalibrationRange , VerisenseCalibrationSensor , VerisenseChargerChipFamily , VerisenseClientOptions , VerisenseCommandResponse , VerisenseConnectRetryInfo , VerisenseConnectWithRetryOptions , VerisenseDfuErrorCategory , VerisenseDfuErrorInfo , VerisenseDfuFlowOptions , VerisenseDfuImage , VerisenseDfuPackage , VerisenseDfuRetryInfo , VerisenseEventLogEntry , VerisenseFirmwareVersion , VerisenseHardwareCapabilities , VerisenseHardwareRevision , VerisenseHardwareRevisionSource , VerisenseHardwareSensorSupport , VerisenseImuGeneration , VerisenseLookupTableEntry , VerisenseLookupTablePayload , VerisenseMessage , VerisenseOperationalField , VerisenseOperationalFieldDefinition , VerisenseOperationalFieldGroupDefinition , VerisenseOperationalFieldKind , VerisenseOperationalFieldOption , VerisenseOperationalSensorEnableField , VerisenseRecordBufferDetails , VerisenseSchedulerDebugPayload , VerisenseSchedulerDebugPayloadForLog , VerisenseSensorRateDefaultField , VerisenseSensorRateDefaultGroup , VerisenseStatusPayload , VerisenseStatusPayloadForLog , VerisenseStreamSensorEnables , VerisenseUnixAndHumanTimestamp } ;
0 commit comments