InertiaSDK

Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions
inertia Namespace Reference

## Namespaces
namespace | debug

## Classes
struct | FlashFileItem
struct | FlashCommand
struct | FlashStatusRequest
struct | FlashStatusResponse
struct | FlashCheckRequest
struct | FlashCheckResponse
struct | FlashFormatRequest
struct | FlashFormatResponse
struct | FlashGetFirstFileRequest
struct | FlashGetFirstFileResponse
struct | FlashGetNextFileRequest
struct | FlashGetNextFileResponse
struct | FlashListRequest
struct | FlashListResponse
struct | FlashOpenRequest
struct | FlashOpenResponse
struct | FlashCloseRequest
struct | FlashCloseResponse
struct | FlashReadRequest
struct | FlashReadResponse
struct | FlashSeekRequest
struct | FlashSeekResponse
struct | FlashListExRequest
struct | FlashListExResponse
struct | FlashCreateRequest
struct | FlashCreateResponse
struct | FlashWriteRequest
struct | FlashWriteResponse
struct | GCCCommand
struct | GCCCommandNexo
struct | GCCCommandNexoWakeupGetTriggerTimeRequest
struct | GCCCommandNexoWakeupGetTriggerTimeResponse
struct | GCCCommandNexoWakeupLogTriggerTimeRequest
struct | GCCCommandNexoWakeupLogTriggerTimeResponse
struct | GCCCommandNexoWakeupLogTriggerTimeEvent
struct | GCCCommandNexoGPIOGetRequest
struct | GCCCommandNexoGPIOGetResponse
struct | GCCCommandNexoGPIOSetRequest
struct | GCCCommandNexoGPIOSetResponse
struct | GCCCommandNexoGPIOToggleRequest
struct | GCCCommandNexoGPIOToggleResponse
struct | GCCCommandNexoGPIOGetTriggerTimeRequest
struct | GCCCommandNexoGPIOGetTriggerTimeResponse
struct | GCCCommandNexoUserCalibrationEntry
struct | GCCCommandNexoUserCalibrationGetAllRequest
struct | GCCCommandNexoUserCalibrationGetAllResponse
struct | GCCCommandNexoUserCalibrationGetCurrentRequest
struct | GCCCommandNexoUserCalibrationGetCurrentResponse
struct | GCCCommandNexoUserCalibrationAddRequest
struct | GCCCommandNexoUserCalibrationAddResponse
struct | GCCCommandNexoUserCalibrationRemoveRequest
struct | GCCCommandNexoUserCalibrationRemoveResponse
struct | GCCCommandNexoUserCalibrationClearAllRequest
struct | GCCCommandNexoUserCalibrationClearAllResponse
struct | GCCCommandNexoTEDSSetModeRequest
struct | GCCCommandNexoTEDSSetModeResponse
struct | GCCCommandNexoTEDSWriteRequest
struct | GCCCommandNexoTEDSWriteResponse
struct | GCCCommandNexoTEDSReadRequest
struct | GCCCommandNexoTEDSReadResponse
struct | InertiaCommand
struct | BoolValue
struct | IOConfigCommand
struct | IOConfigCommonCommand
struct | IOConfigSpecificCommand
struct | IOCommandUnsupportedResponse
struct | IOConfigTriggerOutputForceRequest
struct | IOConfigTriggerOutputForceResponse
struct | IOConfigTriggerOutputEvent
struct | IOConfigTriggerInputEvent
struct | IOConfigInputReadRequest
struct | IOConfigInputReadResponse
struct | IOConfigOutputWriteRequest
struct | IOConfigOutputWriteResponse
struct | LoggingCommand
struct | LoggingStartRequest
struct | LoggingStartResponse
struct | LoggingStopRequest
struct | LoggingStopResponse
struct | LoggingGetFirstRequest
struct | LoggingGetFirstResponse
struct | LoggingStateRequest
struct | LoggingStateResponse
struct | LoggingReadRangeRequest
struct | LoggingReadRangeResponse
struct | LoggingOpenRequest
struct | LoggingOpenResponse
struct | LoggingCloseRequest
struct | LoggingCloseResponse
struct | LoggingMonitoringModeRequest
struct | LoggingMonitoringModeResponse
struct | RemoteIOCommand
struct | RemoteIOportRequest
struct | RemoteIOportResponse
struct | RemoteIOsetRequest
struct | RemoteIOsetResponse
struct | RemoteIOgetRequest
struct | RemoteIOgetResponse
struct | RemoteIOgetADCRequest
struct | RemoteIOgetADCResponse
struct | TimedEvent
struct | ChannelAction
struct | SchedulerCommand
struct | SchedulerTimedEventRequest
struct | SchedulerTimedEventResponse
struct | SchedulerTimedEventAddItemRequest
struct | SchedulerTimedEventAddItemResponse
struct | SchedulerTimedEventGetAllRequest
struct | SchedulerTimedEventGetAllResponse
struct | SchedulerTimedEventGetLastRequest
struct | SchedulerTimedEventGetLastResponse
struct | SchedulerTimedEventGetNextRequest
struct | SchedulerTimedEventGetNextResponse
struct | SchedulerTimedEventClearRequest
struct | SchedulerTimedEventClearResponse
struct | SchedulerActionRequest
struct | SchedulerActionResponse
struct | SchedulerActionAddChannelRequest
struct | SchedulerActionAddChannelResponse
struct | SchedulerActionGetChannelRequest
struct | SchedulerActionGetChannelResponse
struct | SchedulerActionGetActiveChannelRequest
struct | SchedulerActionGetActiveChannelResponse
struct | SchedulerActionDeleteChannelRequest
struct | SchedulerActionDeleteChannelResponse
struct | SchedulerActionGetChannelListRequest
struct | SchedulerActionGetChannelListResponse
struct | SchedulerActionClearRequest
struct | SchedulerActionClearResponse
struct | ServiceCommand
struct | RTCValue
struct | ServiceSetRTCRequest
struct | ServiceSetRTCResponse
struct | ServiceGetRTCRequest
struct | ServiceGetRTCResponse
struct | ServiceGetUptimeRequest
struct | ServiceGetUptimeResponse
struct | ServiceStoreConfigRequest
struct | ServiceStoreConfigResponse
struct | ServiceRestoreConfigRequest
struct | ServiceRestoreConfigResponse
struct | ServiceSendEventRequest
struct | ServiceSendEventResponse
struct | ServiceRadioRequest
struct | ServiceRadioResponse
struct | ServiceStatusRequest
struct | ServiceStatusResponse
struct | ServicePowerDownRequest
struct | ServicePowerDownResponse
struct | ServiceRebootRequest
struct | ServiceRebootResponse
struct | ServiceSetOperatingModeRequest
struct | ServiceSetOperatingModeResponse
struct | ServiceGetOperatingModeRequest
struct | ServiceGetOperatingModeResponse
struct | ServiceGetOperatingModeLevelsRequest
struct | ServiceGetOperatingModeLevelsResponse
struct | ServiceSetTimeZoneRequest
struct | ServiceSetTimeZoneResponse
struct | ServiceWakeOnRadioRequest
struct | ServiceWakeOnRadioResponse
struct | AbstractConfig
struct | AccelConfig
struct | AccelConfigExt
struct | ADCGroupDescriptor
struct | ADCInputDescriptor
struct | ADC2Config
struct | ADCConfig
struct | AxisConfig
struct | AxisConfigHeader
struct | CompassConfig
struct | Channel
struct | CorrelationConfig
struct | DetectionConfig
struct | DualAxisConfig
struct | GenericConfig
struct | GenericSensorConfig
struct | GlobalSamplingConfig
struct | GPSConfiguration
struct | GyroConfig
struct | HeartBeatConfig
struct | IMAConfig
struct | InertialConfig
struct | IOCommonDescriptor
struct | IOCommonDescriptorAdvGWSync
struct | IOModeDescriptor
struct | IOModeDescriptorADC
struct | IOModeDescriptorDAC
struct | IOModeDescriptorSync
struct | IOModeDescriptorTriggerInput
struct | IOModeDescriptorTriggerOutput
struct | IOModeDescriptorInput
struct | IOModeDescriptorOutput
struct | IOConfigurationDescriptor
struct | IOConfigurationDescriptorCommon
struct | IOConfigurationDescriptorSpecific
struct | IOCapabilityDescriptor
struct | IOConfiguration
struct | IOCapability
struct | LegacyConfig
struct | LoggingConfig
struct | NexoDAQSettings
struct | NexoDAQChannelConfig
struct | NexoDAQChannelConfigInputStage
struct | NexoDAQChannelConfigSEHVFrontEnd
struct | NexoDAQChannelConfigDLVFrontEnd
struct | NexoDAQChannelConfigDCAFrontEnd
struct | NexoDAQChannelConfigHardwareGain
struct | NexoDAQChannelConfigHardwareBias
struct | NexoDAQChannelConfigCurrentSource
struct | NexoDAQChannelConfigUserPower
struct | NexoDAQChannelConfigTEDS
struct | NexoDAQChannelConfigAutoRail
struct | NexoDAQChannelConfigWakeupSource
struct | NexoDAQChannelConfigTriggerSource
struct | NexoDAQChannelConfigLedBehavior
struct | NexoDAQChannelConfigADC
struct | NexoDAQChannelConfigUserGPIO
struct | NexoDAQChannelConfigUserCalibration
struct | NexoDAQChannelConfigMetadata
struct | NexoDAQChannelConfigUnknown
struct | NexoDAQCapabilities
struct | NexoDAQChannelCapability
struct | NexoDAQChannelCapabilityInputStage
struct | NexoDAQChannelCapabilitySEHVFrontEnd
struct | NexoDAQChannelCapabilityDLVFrontEnd
struct | NexoDAQChannelCapabilityDCAFrontEnd
struct | NexoDAQChannelCapabilityHardwareGain
struct | NexoDAQChannelCapabilityHardwareBias
struct | NexoDAQChannelCapabilityCurrentSource
struct | NexoDAQChannelCapabilityUserPower
struct | NexoDAQChannelCapabilityTEDS
struct | NexoDAQChannelCapabilityAutoRail
struct | NexoDAQChannelCapabilityWakeupSource
struct | NexoDAQChannelCapabilityTriggerSource
struct | NexoDAQChannelCapabilityLedBehavior
struct | NexoDAQChannelCapabilityADC
struct | NexoDAQChannelCapabilityUserGPIO
struct | NexoDAQChannelCapabilityUserCalibration
struct | NexoDAQChannelCapabilityMetadata
struct | NexoDAQChannelCapabilityUnknown
struct | OtherAxisCapability
struct | OtherAxisConfig
struct | PowerManagementSettings
struct | PowerManagementConfig
struct | PowerManagementConfigUniPolar
struct | PowerManagementConfigBiPolar
struct | PowerManagementConfigCharging
struct | PowerManagementCapabilities
struct | PowerManagementCapability
struct | PowerManagementCapabilityUniPolar
struct | PowerManagementCapabilityBiPolar
struct | PowerManagementCapabilityCharging
struct | QuadAxisConfig
struct | RadioConfig
struct | RTCConfig
struct | SamplerConfig
struct | SamplingConfig
struct | SchedulerSettings
struct | SpecificSensorSettings
struct | BarometerSpecificSettings
struct | TemperatureMPUSpecificSettings
struct | AccelSpecificSettings
struct | GyroSpecificSettings
struct | CompassSpecificSettings
struct | AccelHighGSpecificSettings
struct | SingleAxisCapability
struct | SingleAxisConfig
struct | StatusConfig
struct | TemperatureConfig
struct | TOFConfiguration
struct | TripleAxisConfig
struct | ChannelConfig
struct | IndustrialBoardNonDiff
struct | IEPE_voltage
struct | VmonBoardConfig
struct | DeviceInfo
| Device Info. More...
struct | GPSsample
| GNSS/GPS Sensor data. More...
struct | InertiaCommands
| Commands. More...
struct | InertiaConfig
| Sensor Configuration. More...
struct | ServiceResponseGetVersionExtended
struct | ServiceResponseProcessStats
struct | ServiceARPentry
struct | ServiceForwarderEntry
struct | ServiceConnectorEntry
struct | ServiceMessage
struct | ServiceResponse
struct | ServiceResponseEcho
struct | ServiceResponseNetInfo
struct | ServiceResponseGetVersion
struct | ServiceResponseGetSerialNr
struct | ServiceResponseGetProcessStats
struct | ServiceResponseListInterfaces
struct | ServiceResponseListARPs
struct | ServiceResponseListForwarders
struct | ServiceResponseListConnectors
struct | ServiceResponseError
struct | ServiceRequest
struct | RRPResponse
struct | RRPProgress
struct | StatusValue
| Status value. More...
struct | AxisData
| AxisData. More...
struct | Sample
| Sensor data. More...
struct | BLEConnSettings
| Bluetooth LE Connection Settings. More...
struct | CalibrationResults
| Calibration Results. More...
struct | CalibrationSettings
| Calibration Settings. More...
struct | ChannelSpec
| Channel Specification. More...
struct | ConnectionSettings
| Connection Settings. More...
struct | ConvertFileSettings
| Convert Settings. More...
struct | EthernetSettings
| Ethernet Settings. More...
struct | ExternalConnWriter
struct | ExternalConnReader
struct | ExternalConnSettings
| External Connection Settings. More...
struct | FirmwareSettings
| Firmware Update Settings. More...
struct | LogColumns
| Logging Columns. More...
struct | LogWriterFileSettings
| LogWriter File Settings. More...
struct | LogWriterSourceInfo
| LogWriter Source Settings. More...
struct | LogWriterCSVSettings
| LogWriter CSV Settings. More...
struct | BVHJoint
| BVH Joint Settings. More...
struct | LogWriterBVHSettings
| BVH Log Settings. More...
struct | LogWriterMATSettings
| MAT Log Settings. More...
struct | LogWriterV3DSettings
| V3D Log Settings. More...
struct | LogWriterSettings
| Log Writer Settings. More...
struct | ValidateFileSettings
| Validation Settings. More...
struct | LogReaderSettings
| Log Reader Settings. More...
struct | MadgwickAlgorithmSettings
| Madgwick Orientation Algorithm Settings. More...
struct | ValentiAlgorithmSettings
| Valenti Orientation Algorithm Settings. More...
struct | KalmanAlgorithmSettings
| Extended Kalman Orientation Algorithm Settings. More...
struct | VQFAlgorithmSettings
| Versatile Quaternion-based Filter Algorithm Settings. More...
struct | BiasEstimationSettings
| Bias Estimation Algorithm Settings. More...
struct | OrientationSettings
| Orientation Settings. More...
struct | Quaternion
| Quaternion. More...
struct | SerialSettings
| Serial Settings. More...
struct | SocketSettings
| Socket Settings. More...
struct | StreamFilter
| Stream Filter. More...
struct | StreamListener
| Asynchronous callbacks. More...

## Typedefs
typedef std::shared_ptr< AxisConfig > | AxisConfigPtr
| Pointer to an AxisConfig.
typedef std::shared_ptr< IOCommonDescriptor > | IOCommonDescriptorPtr
| Pointer to an IOCommonDescriptor.
typedef std::shared_ptr< IOModeDescriptor > | IOModeDescriptorPtr
| Pointer to an IOModeDescriptor.
typedef std::shared_ptr< IOConfigurationDescriptor > | IOConfigurationDescriptorPtr
| Pointer to an IOConfigurationDescriptor.
typedef std::shared_ptr< IOCapabilityDescriptor > | IOCapabilityDescriptorPtr
| Pointer to an IOCapabilityDescriptor.
typedef std::shared_ptr< NexoDAQChannelConfig > | NexoDAQChannelConfigPtr
typedef std::shared_ptr< NexoDAQChannelCapability > | NexoDAQChannelCapabilityPtr
typedef std::shared_ptr< PowerManagementConfig > | PowerManagementConfigPtr
typedef std::shared_ptr< PowerManagementCapability > | PowerManagementCapabilityPtr
typedef std::shared_ptr< SpecificSensorSettings > | SpecificSensorSettingsPtr
| Pointer to a SpecificSensorSettings.
typedef std::shared_ptr< AbstractConfig > | SensorConfigPtr
| Pointer to AbstractConfig.
typedef std::map< ConfigType, SensorConfigPtr > | SensorConfigMap
| Map with configurations for a ConfigType.
typedef std::shared_ptr< StreamListener > | StreamListenerPtr
| Pointer to a SteamListener.
typedef std::shared_ptr< InertiaConfig > | ConfigPtr
| Pointer to an InertiaConfig.
typedef std::shared_ptr< std::vector< InertiaConfig > > | ConfigVectorPtr
| Pointer to a vector of InertiaConfig.
typedef std::shared_ptr< InertiaCommands > | CommandPtr
| Pointer to an InertiaCommands.
typedef std::shared_ptr< std::vector< InertiaCommands > > | CommandVectorPtr
| Pointer to a vector of InertiaCommands.
typedef std::shared_ptr< std::vector< Sample > > | SampleVectorPtr
| Pointer to a vector of Sample.
typedef std::shared_ptr< InertiaCommand > | InertiaCommandPtr
| Pointer to an InertiaCommand.
typedef std::shared_ptr< ServiceResponse > | ServicePtr
| Pointer to a ServiceResponse.
typedef std::map< unsigned, Channel > | ChannelMap
| Map with Channel information per samplingChannel.

## Enumerations
enum | FlashCommands : uint8_t { FlashStatus = 1 , FlashCheck = 2 , FlashFormat = 3 , FlashGetFirstFile = 4 , FlashGetNextFile = 5 , FlashList = 6 , FlashOpen = 7 , FlashClose = 8 , FlashRead = 9 , FlashSeek = 10 , FlashListEx = 11 , FlashCreate = 12 , FlashWrite = 13 , FlashLast }
enum | FlashStateType { FlashStateOK = 0 , FlashStateReadable = 1 , FlashStateInvalid = 2 , FlashUnformatted = 3 , FlashUnsupported = 4 }
enum | FilesystemCode { ProMoveFS = 1 , FAT16 = 2 , FAT32 = 3 , FS_UNKNOWN }
enum | GCCCommandID : uint8_t { GCC_COMMAND_NEXO_WAKEUP_GET_TRIGGER_TIME = 0 , GCC_COMMAND_NEXO_WAKEUP_LOG_TRIGGER_TIME = 1 , GCC_COMMAND_NEXO_WAKEUP_LOG_TRIGGER_TIME_EVENT = 2 , GCC_COMMAND_NEXO_GPIO_GET = 0 , GCC_COMMAND_NEXO_GPIO_SET = 1 , GCC_COMMAND_NEXO_GPIO_TOGGLE = 2 , GCC_COMMAND_NEXO_GPIO_GET_TRIGGER_TIME = 3 , GCC_COMMAND_NEXO_USER_CALIBRATION_GET_ALL = 0 , GCC_COMMAND_NEXO_USER_CALIBRATION_GET_CURRENT = 1 , GCC_COMMAND_NEXO_USER_CALIBRATION_ADD = 2 , GCC_COMMAND_NEXO_USER_CALIBRATION_REMOVE = 3 , GCC_COMMAND_NEXO_USER_CALIBRATION_CLEAR_ALL = 4 , GCC_COMMAND_NEXO_TEDS_SET_MODE = 0 , GCC_COMMAND_NEXO_TEDS_WRITE = 1 , GCC_COMMAND_NEXO_TEDS_READ = 2 }
enum | InertiaCommandGroups : unsigned { CommandService = 1 , CommandFlash = 2 , CommandLogging = 3 , CommandRemoteIO = 4 , CommandIOConfig = 5 , CommandScheduler = 6 , CommandGCC = 7 , CommandUnknown = 0xff }
enum | IOCommands : uint8_t { CommandIOSpecific = 0 , CommandIOCommon = 1 , CommandIOError = 255 }
enum | LoggingCommands : uint8_t { LoggingStart = 1 , LoggingStop = 2 , LoggingGetFirst = 3 , LoggingState = 4 , LoggingReadRange = 5 , LoggingOpen = 6 , LoggingClose = 7 , LoggingMonMode = 8 , LoggingLast }
enum | LoggingSearchType { LoggingSearchFrameNumber = 0 , LoggingSearchTimestamp = 1 , LoggingSearchNone = 255 }
enum | SearchCondition { SearchConditionAny = 0 , SearchConditionLowerEqual = 1 , SearchConditionHigherEqual = 2 , SearchConditionEqual = 3 }
enum | ReadRangeStatusCode { ReadRangeStatusOK = 0 , ReadRangeStatusInvalid = 1 , ReadRangeStatusEOF = 2 }
enum | RemoteIOCommands : uint8_t { RemoteIOport = 1 , RemoteIOset = 2 , RemoteIOget = 3 , RemoteIOgetADC = 4 , RemoteIOLast }
enum | RemoteIOsetting { RemoteIOsettingKeep = 0 , RemoteIOsettingInput , RemoteIOsettingOutput , RemoteIOsettingADC }
enum | SchedulerCommands : uint8_t { SchedulerCommandTimedEvent = 0 , SchedulerCommandChannelAction = 1 }
enum | SchedulerTimedEventCommands : uint8_t { SchedulerTimedEventAddItem = 0 , SchedulerTimedEventGetAll = 1 , SchedulerTimedEventGetLast = 2 , SchedulerTimedEventGetNext = 3 , SchedulerTimedEventClear = 4 }
enum | SchedulerChannelActionCommands : uint8_t { SchedulerChannelActionAddChannel = 0 , SchedulerChannelActionGetChannel = 1 , SchedulerChannelActionGetActive = 2 , SchedulerChannelActionDeleteChannel = 3 , SchedulerChannelActionGetChannelList = 4 , SchedulerChannelActionClear = 5 }
enum | SchedulerTimedEventRecurrence : uint8_t { SchedulerTimedEventSingle = 0 , SchedulerTimedEventMinute , SchedulerTimedEventHour , SchedulerTimedEventDay , SchedulerTimedEventWeek , SchedulerTimedEventMonth , SchedulerTimedEventYear }
enum | ServiceCommands : uint8_t { ServiceSetRTC = 1 , ServiceGetRTC , ServiceGetUptime , ServiceStoreConfig , ServiceRestoreConfig , ServiceSendEvent , ServiceRadio , ServiceStatus , ServicePowerDown , ServiceReboot , ServiceSetOperatingMode , ServiceGetOperatingMode , ServiceGetOperatingModeLevels , ServiceSetTimeZone , ServiceStatusV2 , ServiceSendWOR , ServiceLast }
enum | ServiceOperatingMode : uint8_t { ServiceOperatingModeActive = 0 , ServiceOperatingModeStandby = 1 , ServiceOperatingModeSleep = 2 , ServiceOperatingModeDeepSleep = 3 , ServiceOperatingModeTEDS = 4 }
enum | AccelType { ACCEL_LIS3LV02 = 0 , ACCEL_LIS3DH = 1 , ACCEL_RESERVED = 2 , ACCEL_RESERVED2 = 3 }
enum | AccelRateLis3LV02 { ACCEL_RATE_40 = 0 , ACCEL_RATE_160 = 1 , ACCEL_RATE_640 = 2 , ACCEL_RATE_2560 = 3 }
enum | AccelRateLis3DH { ACCEL_RATE_DOWN = 0 , ACCEL_RATE_DOWN_LP = 1 , ACCEL_RATE_1 = 2 , ACCEL_RATE_1_LP = 3 , ACCEL_RATE_10 = 4 , ACCEL_RATE_10_LP = 5 , ACCEL_RATE_25 = 6 , ACCEL_RATE_25_LP = 7 , ACCEL_RATE_50 = 8 , ACCEL_RATE_50_LP = 9 , ACCEL_RATE_100 = 10 , ACCEL_RATE_100_LP = 11 , ACCEL_RATE_200 = 12 , ACCEL_RATE_200_LP = 13 , ACCEL_RATE_400 = 14 , ACCEL_RATE_400_LP = 15 , ACCEL_RATE_RESERVED1 = 16 , ACCEL_RATE_1600_LP = 17 , ACCEL_RATE_1250 = 18 , ACCEL_RATE_5000_LP = 19 }
enum | AccelRangeLis3DH { ACCEL_RANGE_2G = 0 , ACCEL_RANGE_4G = 1 , ACCEL_RANGE_8G = 2 , ACCEL_RANGE_16G = 3 }
enum | ADCDescriptorType { ADC_DESCRIPTOR_GROUP = 0 , ADC_DESCRIPTOR_INPUT = 1 }
enum | ADCInputMode { MODE_SINGLE_ENDED = 0 , MODE_DIFFERENTIAL , MODE_DIGITAL }
enum | ADCChannel { ADCchannelA2VBAT = 0 , ADCchannelA0 , ADCchannelA1 , ADCchannelA3 , ADCchannelA4 , ADCchannelA5 , ADCchannelA6 , ADCchannelA7 , ADCChannelNone }
enum | AxisConfigDescriptorType { AXIS_DESCRIPTOR_CONFIGURATION = 0 , AXIS_DESCRIPTOR_CAPABILITIES = 1 , AXIS_DESCRIPTOR_TYPE_LAST = 2 }
enum | CompassRate { COMPASS_RATE_0 = 0 , COMPASS_RATE_1 = 1 , COMPASS_RATE_2 = 2 , COMPASS_RATE_3 = 3 , COMPASS_RATE_4 = 4 , COMPASS_RATE_5 = 5 , COMPASS_RATE_6 = 6 }
enum | CompassGain { COMPASS_GAIN_0 = 0 , COMPASS_GAIN_1 = 1 , COMPASS_GAIN_2 = 2 , COMPASS_GAIN_3 = 3 , COMPASS_GAIN_4 = 4 , COMPASS_GAIN_5 = 5 , COMPASS_GAIN_6 = 6 , COMPASS_GAIN_7 = 7 }
enum | CompassType { COMPASS_HMC5843 = 0 , COMPASS_HMC5883L = 1 , COMPASS_RESERVED = 2 , COMPASS_RESERVED2 = 3 }
enum | ConfigType : unsigned { CONFIG_RADIO = 0 , CONFIG_GLOBAL_SAMPLING , CONFIG_ACCEL , CONFIG_COMPASS , CONFIG_TRIPLE_AXIS , CONFIG_STATUS , CONFIG_HEARTBEAT , CONFIG_TEMPERATURE , CONFIG_CORR , CONFIG_LOGGING , CONFIG_IMA , CONFIG_RTC , CONFIG_SINGLE_AXIS , CONFIG_GYRO , CONFIG_QUAD_AXIS , CONFIG_ADC , CONFIG_DETECTION , CONFIG_ADC2 , CONFIG_ACCEL_EXT , CONFIG_COMPASS_EXT , CONFIG_DUAL_AXIS , CONFIG_VMON_BOARD , CONFIG_OTHER_AXIS , CONFIG_LAST , CONFIG_CUSTOM , CONFIG_IGNORE = 0xff }
enum | ChannelDataType { CHANNEL_SIGNED = 0 , CHANNEL_UNSIGNED = 1 , CHANNEL_FIXEDPOINT = 2 }
enum | DetectionTypes { DETECT_ALL = 0 , DETECT_ACCEL , DETECT_GYRO , DETECT_PIR , DETECT_PRESSURE }
enum | TransmitType { TRANSMIT_NONE = 0 , TRANSMIT_RADIO = 0x01 , TRANSMIT_SERIAL = 0x02 , TRANSMIT_BLUETOOTH = 0x04 , TRANSMIT_RADIO_SERIAL = TRANSMIT_RADIO | TRANSMIT_SERIAL , TRANSMIT_RADIO_BLUETOOTH = TRANSMIT_RADIO | TRANSMIT_BLUETOOTH , TRANSMIT_SERIAL_BLUETOOTH = TRANSMIT_SERIAL | TRANSMIT_BLUETOOTH , TRANSMIT_RADIO_SERIAL_BLUETOOTH = TRANSMIT_RADIO | TRANSMIT_SERIAL | TRANSMIT_BLUETOOTH }
enum | SamplingTimerSource { SAMPLING_TIMER_HIGH_FREQ = 0 , SAMPLING_TIMER_LOW_FREQ = 1 }
enum | SamplingTriggerSource { SAMPLING_TRIGGER_FASTMAC = 0 , SAMPLING_TRIGGER_NONE = 1 }
enum | GPSSampleSize { GPS_SAMPLE_SIZE_VALID = 1 , GPS_SAMPLE_SIZE_UTC_DATE_TIME = 8 , GPS_SAMPLE_SIZE_LAT_LON = 8 , GPS_SAMPLE_SIZE_ALT_ELLIPSOID = 4 , GPS_SAMPLE_SIZE_ALT_MSL = 4 , GPS_SAMPLE_SIZE_SOG = 2 , GPS_SAMPLE_SIZE_COG = 2 , GPS_SAMPLE_SIZE_SVS_IN_FIX = 1 , GPS_SAMPLE_SIZE_HDOP = 1 , GPS_SAMPLE_SIZE_EHPE = 4 , GPS_SAMPLE_SIZE_EVPE = 4 , GPS_SAMPLE_SIZE_ETE = 4 , GPS_SAMPLE_SIZE_EHVE = 2 , GPS_SAMPLE_SIZE_ELNPE = 4 , GPS_SAMPLE_SIZE_ELTPE = 4 }
enum | GPSConfigVersion { GPS_V0 = 0 , GPS_V1 , GPS_V2 , GPS_V3 }
enum | GPSType { GPS_ORG1410 = 0 , GPS_ORG1510 , GPS_UBLOX_CAMM8Q , GPS_DETECTING = 0xFF }
enum | GyroFilterBandwith { GYRO_FILTER_256 = 0 , GYRO_FILTER_188 , GYRO_FILTER_98 , GYRO_FILTER_42 , GYRO_FILTER_20 , GYRO_FILTER_10 , GYRO_FILTER_5 }
enum | IMAConfigVersion { IMA_V0 = 0 , IMA_V1 , IMA_V2 , IMA_V3 }
enum | IOModeID { IO_MODE_ADC = 0 , IO_MODE_DAC = 1 , IO_MODE_SYNC = 2 , IO_MODE_TRIGGER_INPUT = 3 , IO_MODE_TRIGGER_OUTPUT = 4 , IO_MODE_INPUT = 5 , IO_MODE_OUTPUT = 6 , IO_MODE_LAST = 7 }
enum | IOMessageID { IO_MESSAGE_TRIGGER_INPUT_EVENT = 1 , IO_MESSAGE_TRIGGER_OUTPUT_FORCE = 0 , IO_MESSAGE_TRIGGER_OUTPUT_EVENT = 1 , IO_MESSAGE_INPUT_READ = 0 , IO_MESSAGE_OUTPUT_WRITE = 0 , IO_MESSAGE_LAST = 255 }
enum | IOCommonModeID { IO_COMMON_MODE_SYNC = 0 , IO_COMMON_MODE_LAST = 1 }
enum | IOCommonMessageID { IO_COMMON_MESSAGE_LAST = 255 }
enum | IOModeTriggerOutputType { IO_MODE_TRIGGER_OUTPUT_NONE = -1 , IO_MODE_TRIGGER_OUTPUT_PULSE = 0 , IO_MODE_TRIGGER_OUTPUT_LEVEL = 1 , IO_MODE_TRIGGRE_OUTPUT_TOGGLE = 2 }
enum | IOModeTriggerInputType { IO_MODE_TRIGGER_INPUT_NONE = -1 , IO_MODE_TRIGGER_INPUT_EDGE = 0 , IO_MODE_TRIGGER_INPUT_LEVEL = 1 }
enum | IOConfigurationDescriptorType { IO_CONFIG_DESCRIPTOR_SPECIFIC = 0 , IO_CONFIG_DESCRIPTOR_COMMON = 1 , IO_CONFIG_DESCRIPTOR_LAST = 2 }
enum | LoggingType { LOGGING_PER_FRAME_NUMBER = 0 , LOGGING_PER_TIMESTAMP = 1 , LOGGING_PER_SAMPLE_NUMBER = 5 }
enum | NexoDAQDescriptorID : uint8_t { NDQ_INPUT_STAGE = 0 , NDQ_SEHV_FRONT_END = 1 , NDQ_DLV_FRONT_END = 2 , NDQ_DCA_FRONT_END = 3 , NDQ_HARDWARE_GAIN = 4 , NDQ_HARDWARE_BIAS = 5 , NDQ_CURRENT_SOURCE = 6 , NDQ_USER_POWER = 7 , NDQ_TEDS = 8 , NDQ_AUTO_RAIL = 9 , NDQ_WAKEUP_SOURCE = 10 , NDQ_TRIGGER_SOURCE = 11 , NDQ_LED_BEHAVIOR = 12 , NDQ_ADC = 13 , NDQ_USER_GPIO = 14 , NDQ_USER_CALIBRATION = 15 , NDQ_METADATA = 16 , NDQ_DESCR_ID_UNKNOWN }
enum | NexoDAQUserGPIOMode : uint8_t { NDQ_USER_GPIO_MODE_DIGITAL_IN = 0 , NDQ_USER_GPIO_MODE_DIGITAL_OUT = 1 , NDQ_USER_GPIO_MODE_ANALOG_IN = 2 , NDQ_USER_GPIO_MODE_LAST }
enum | NexoDAQTEDSMode : uint8_t { NDQ_TEDS_MODE_NONE = 0 , NDQ_TEDS_MODE_C1 = 1 , NDQ_TEDS_MODE_C2 = 2 }
enum | PowerManagementDescriptorID : uint8_t { PM_UNIPOLAR_SUPPLY = 0 , PM_BIPOLAR_SUPPLY = 1 , PM_CHARGING = 2 , PM_DESCR_LAST }
enum | RadioConfigVersion : unsigned { RADIO_V0 = 0 , RADIO_V1 = 1 }
enum | RadioChip : unsigned { RADIO_CC2430 = 0 , RADIO_CC2530 = 1 , RADIO_A0 = 2 , RADIO_A1 = 3 }
enum | RTCConfigVersion { RTC_V0 = 0 , RTC_V1 , RTC_V2 , RTC_V3 }
enum | SchedulerWakeupRecurrence : uint8_t { SCHEDULER_INTERVAL_SECONDS = 0 , SCHEDULER_INTERVAL_MINUTES , SCHEDULER_INTERVAL_HOURS , SCHEDULER_INTERVAL_DAYS }
enum | SingleAxisSensors : uint8_t { BAROMETER_LPS25H = 0 , TEMP_MPU9250 , NEXODAQ_CHANNEL , BAROMETER_LPS27HH , TEMP_ICM42605 , TEMP_LSM6DSR , TEMP_LSM6DSV320X , TEMP_ICM45686 , SINGLE_AXIS_LAST , NEXODAQ_USER_GPIO , NEXODAQ_MONITOR }
enum | DualAxisSensors : uint8_t { DUAL_AXIS_LAST = 0 }
enum | TripleAxisSensors : uint8_t { ACCEL_MPU9250 = 0 , GYRO_MPU9250 , COMPASS_AK8963 , ACCELHG_H3LIS331DL , TRIPLE_TESTSENS , ACCEL_ICM42605 , GYRO_ICM42605 , COMPASS_LIS3MDL , ACCEL_LSM6DSR , GYRO_LSM6DSR , ACCEL_LSM6DSV320X , GYRO_LSM6DSV320X , ACCELHG_LSM6DSV320X , ACCEL_ICM45686 , GYRO_ICM45686 , TRIPLE_AXIS_LAST }
enum | QuadAxisSensors : uint8_t { QUATERNION_MPU9250 = 0 , QUATERNION_SOFTWARE , QUAD_AXIS_LAST }
enum | OtherAxisSensors : uint8_t { OTHER_POWER_MGMT = 0 , OTHER_INPUT_OUTPUT , OTHER_GPS , OTHER_SCHEDULER , OTHER_VL53L8CX = 10 , OTHER_AXIS_LAST }
enum | SensorMode { SENSOR_MODE_NORMAL = 0 , SENSOR_MODE_LOW_POWER = 1 , SENSOR_MODE_SELF_TEST = 2 , SENSOR_MODE_WAKE_ON_MOTION = 3 , SENSOR_MODE_GYRO_TEMP_COMP = 4 , SENSOR_MODE_AUTO_ZERO = 4 }
enum | SensorWakeOnMotionMode { WOM_MODE_NORMAL = 0 , WOM_MODE_LOW_POWER = 1 }
enum | BaroDifferentialMode { BARO_ABSOLUTE_MEASUREMENT = 0 , BARO_DIFFERENCE_MEASUREMENT = 1 }
enum | AccelHighPassFilter { ACCEL_HPF_48 = 0 , ACCEL_HPF_96 = 1 , ACCEL_HPF_192 = 2 , ACCEL_HPF_384 = 3 }
enum | AccelCompare { ACCEL_COMPARE_DISABLED = 0 , ACCEL_COMPARE_CHANNEL_A_HIGH = 1 , ACCEL_COMPARE_CHANNEL_A_LOW = 2 , ACCEL_COMPARE_CHANNEL_B_HIGH = 3 , ACCEL_COMPARE_CHANNEL_B_LOW = 4 }
enum | AccelCompareMode { ACCEL_COMPARE_AND = 0 , ACCEL_COMPARE_OR = 1 }
enum | StatusConfigVersion : uint8_t { STATUS_V0 = 0 , STATUS_V1 , STATUS_V2 , STATUS_V3 , STATUS_V4 , STATUS_V5 , STATUS_V6 , STATUS_V7 }
enum | StatusMeasurementID : unsigned { STATUS_ID_BAT_VOLTAGE = 0 , STATUS_ID_BAT_SOC , STATUS_ID_TEMP_INSIDE , STATUS_ID_TEMP_AMBIENT , STATUS_ID_POWER_INPUT_PRESENT , STATUS_ID_POWER_INPUT_VOLTAGE , STATUS_ID_POWER_CONSUMPTION , STATUS_ID_CHARGE_CURRENT , STATUS_ID_LAST }
enum | TOFConfigVersion : uint8_t { TOF_V0 = 0 , TOF_V1 , TOF_V2 , TOF_V3 }
enum | TOFZones : uint8_t { TOF_ZONE_4x4 = 0 , TOF_ZONE_8x8 = 1 }
enum | VmonBoardType { VMON_NON_DIFF = 0 , VMON_VOLTAGE_IEPE = 1 }
enum | ChannelInputSelect { STRAIGHT_TO_INSTR_AMP = 0 , DECOUPLED_240K , DECOUPLED_24K , DECOUPLED_2_4K }
enum | ResistiveFeedbackSelect { RESISTIVE_FEEDBACK_24K = 0 , RESISTIVE_FEEDBACK_1M , RESISTIVE_FEEDBACK_10M , RESISTIVE_FEEDBACK_100M }
enum | CapacitiveFeedbackSelect { CAPACITIVE_FEEDBACK_10P = 0 , CAPACITIVE_FEEDBACK_100P , CAPACITIVE_FEEDBACK_1N , CAPACITIVE_FEEDBACK_10N }
enum class | DeviceConnection { UNKNOWN , USB , RADIO , BLUETOOTH , BLUETOOTH_LE , EHTERNET , REPLAY , EXTERNAL }
| Device Connection. More...
enum | ServiceVersion : unsigned { SACP_V0 = 0 , SACP_V1 = 1 }
enum | ServiceV0ID : unsigned { SERVICE_0_ECHO_REQUEST = 10 , SERVICE_0_ECHO_RESPONSE = 11 , SERVICE_0_ECHO_ERROR = 12 , SERVICE_0_ADDRESS_ASSIGN = 20 , SERVICE_0_ADDRESS_ANNOUNCE = 21 , SERVICE_0_ADDRESS_SERIAL = 26 , SERVICE_0_ADDRESS_VERSION = 27 , SERVICE_0_LIST_INTERFACE = 30 , SERVICE_0_LIST_ARP = 34 , SERVICE_0_ADD_ARP = 35 , SERVICE_0_REMOVE_ARP = 36 , SERVICE_0_CLEAR_ARP = 37 , SERVICE_0_LIST_FORWARDERS = 40 , SERVICE_0_ADD_FORWARDER = 41 , SERVICE_0_REMOVE_FORWARDER = 42 , SERVICE_0_LIST_CONNECTORS = 44 , SERVICE_0_ADD_CONNECTOR = 45 , SERVICE_0_REMOVE_CONNECTOR = 46 , SERVICE_0_MAC_SLOT_SET = 48 , SERVICE_0_MAC_SLOT_GET = 49 , SERVICE_0_RADIO_CHANNEL_SET = 50 , SERVICE_0_RADIO_CHANNEL_GET = 51 , SERVICE_0_MAC_SLOT_COUNT_SET = 52 , SERVICE_0_MAC_SLOT_COUNT_GET = 53 , SERVICE_0_MAC_SLOT_FREQ_SET = 54 , SERVICE_0_MAC_SLOT_FREQ_GET = 55 , SERVICE_0_RADIO_CONFIG_SET = 56 , SERVICE_0_RADIO_CONFIG_GET = 57 , SERVICE_0_RADIO_ENABLE_SET = 58 , SERVICE_0_RADIO_ENABLE_GET = 59 }
enum | ServiceGroup : unsigned { SERVICE_GROUP_GENERAL = 0 , SERVICE_GROUP_DEVICE = 1 , SERVICE_GROUP_INTERFACE = 2 , SERVICE_GROUP_ARP = 3 , SERVICE_GROUP_FORWARDER = 4 , SERVICE_GROUP_CONNECTOR = 5 , SERVICE_GROUP_RADIO = 16 , SERVICE_GROUP_FASTMAC = 17 , SERVICE_GROUP_RRP = 999 }
enum | ServiceGeneral : uint8_t { SERVICE_GENERAL_ECHO_REQUEST = 0 , SERVICE_GENERAL_RESPONSE = 1 , SERVICE_GENERAL_ERROR = 2 , SERVICE_GENERAL_NETINFO = 3 }
enum | ServiceDevice : uint8_t { SERVICE_DEVICE_ADDRESS_ASSIGN = 0 , SERVICE_DEVICE_ADDRESS_ANNOUNCE = 1 , SERVICE_DEVICE_SERIAL_GET = 2 , SERVICE_DEVICE_VERSION_INFO_GET = 3 , SERVICE_DEVICE_PROCESS_STATS_GET = 4 }
enum | ServiceInterface : uint8_t { SERVICE_INTERFACE_LIST = 0 }
enum | ServiceARP : uint8_t { SERVICE_ARP_LIST = 0 , SERVICE_ARP_ADD = 1 , SERVICE_ARP_REMOVE = 2 , SERVICE_ARP_CLEAR = 3 }
enum | ServiceForwarder : uint8_t { SERVICE_FORWARDER_LIST = 0 , SERVICE_FORWARDER_ADD = 1 , SERVICE_FORWARDER_REMOVE = 2 }
enum | ServiceConnector : uint8_t { SERVICE_CONNECTOR_LIST = 0 , SERVICE_CONNECTOR_ADD = 1 , SERVICE_CONNECTOR_REMOVE = 2 }
enum | ServiceRadio : uint8_t { SERVICE_RADIO_CONF_SET = 0 , SERVICE_RADIO_CONF_GET = 1 , SERVICE_RADIO_ENABLE_SET = 2 , SERVICE_RADIO_ENABLE_GET = 3 }
enum | ServiceFastMac : uint8_t { SERVICE_FASTMAC_SLOT_SET = 0 , SERVICE_FASTMAC_SLOT_GET = 1 , SERVICE_FASTMAC_CHANNEL_SET = 2 , SERVICE_FASTMAC_CHANNEL_GET = 3 , SERVICE_FASTMAC_SLOT_COUNT_SET = 4 , SERVICE_FASTMAC_SLOT_COUNT_GET = 5 , SERVICE_FASTMAC_FREQ_SET = 6 , SERVICE_FASTMAC_FREQ_GET = 7 }
enum | ServiceRRP : uint8_t { SERVICE_RRP_RESPONSE = 0 , SERVICE_RRP_PROGRESS = 1 }
enum | ServiceHardwareTypeID : uint32_t { HW_NONE = 0x00 , HW_PROMOVE_GW = 0x04 , HW_PROMOVE_3D = 0x06 , HW_IDLER_NODE = 0x08 , HW_IDLER_GW = 0x09 , HW_VMON4000_NODE = 0x0A , HW_VMON4000_GW = 0x2A , HW_PROMOVE_MINI_IRM = 0x0B , HW_INERTIA_GW_ADV = 0x0C , HW_INERTIA_GW_BSC = 0x0D , HW_PROMOVE_MINI_BT = 0x0E , HW_PROMOVE_MINI_IRM_GPS = 0x0F , HW_PROMOVE_MINI_BT_GPS = 0x10 , HW_PROMOVE_MINI_BTLE = 0x11 , HW_NEXODAQ = 0x20 , HW_EQUI_PRO_GW_BSC = 0x30 , HW_EQUI_PRO_GW_ADC = 0x31 , HW_EQUI_PRO_GW_STICK = 0x32 , HW_PROMOVE_V_HG_BARO_IRM = 0x40 , HW_PROMOVE_V_HG_BARO_IRM_GNSS = 0x41 , HW_PROMOVE_V_HG_IRM = 0x42 , HW_PROMOVE_V_HG_IRM_GNSS = 0x43 , HW_PROMOVE_V_HG_BARO_BLE = 0x50 , HW_PROMOVE_V_HG_BARO_BLE_GNSS = 0x51 , HW_PROMOVE_V_HG_BLE = 0x52 , HW_PROMOVE_V_HG_BLE_GNSS = 0x53 , HW_INERTIA_GW_STICK = 0x60 }
enum | ServiceFirmwareTypeID : uint8_t { FW_PM_MINI_BT = 0x02 , FW_PM_MINI_GPS = 0xF0 , FW_VMON4000_GW = 0x06 }
enum | ServiceRevisionTypeID : uint8_t { REVISION_NONE = 0 , REVISION_A = 1 , REVISION_B = 2 , REVISION_C = 3 , REVISION_D = 4 , REVISION_E = 5 , REVISION_F = 6 , REVISION_G = 7 }
enum | ServiceFirmwareEntryType : unsigned { FW_MAIN_APPLICATION = 0 , FW_MODULE_PACKAGE = 1 , FW_EXTERNAL_TOOL = 2 , FW_SUB_PCA = 3 , FW_SUB_PCA_FW = 4 }
enum | RRPInfoType : unsigned { RRP_INFO_START = 0 , RRP_INFO_BUSY , RRP_INFO_FWU_VERSION , RRP_INFO_FWU_FACTORY_DEFAULTS , RRP_INFO_DEVICE_HW , RRP_INFO_DEVICE_FW , RRP_INFO_DEVICE_REV , RRP_INFO_DEVICE_VERSION , RRP_INFO_FILE_HW , RRP_INFO_FILE_FW , RRP_INFO_FILE_REV , RRP_INFO_FILE_VERSION , RRP_INFO_COMPONENTS , RRP_INFO_VALIDATE , RRP_INFO_UPLOAD , RRP_INFO_REPROGRAM , RRP_INFO_TIMEOUT , RRP_INFO_RESET_DEFAULTS }
enum | ValueType : unsigned { VALUE_TYPE_DISABLED = 0 , VALUE_TYPE_ACCEL , VALUE_TYPE_COMPASS , VALUE_TYPE_GYRO , VALUE_TYPE_TEMP , VALUE_TYPE_ACCEL_HIGH_G , VALUE_TYPE_PRESSURE , VALUE_TYPE_IMA , VALUE_TYPE_ADC , VALUE_TYPE_ORIENTATION , VALUE_TYPE_STATUS , VALUE_TYPE_GPS , VALUE_TYPE_CUSTOM , MAX_VALUE_TYPES }
enum | ValueIndexStatus : unsigned { VALUE_INDEX_STATUS_BAT_VOLTAGE = 0 , VALUE_INDEX_STATUS_TEMP_INSIDE , VALUE_INDEX_STATUS_POWER_INPUT_PRESENT , VALUE_INDEX_STATUS_RSSI , VALUE_INDEX_STATUS_LOST_SAMPLES_PERCENTAGE , VALUE_INDEX_STATUS_LOST_SAMPLES , VALUE_INDEX_STATUS_BAT_SOC , VALUE_INDEX_STATUS_TEMP_AMBIENT , VALUE_INDEX_STATUS_POWER_INPUT_VOLTAGE , VALUE_INDEX_STATUS_POWER_CONSUMPTION , VALUE_INDEX_STATUS_BAT_PERCENTAGE , VALUE_INDEX_STATUS_CHARGE_CURRENT , MAX_VALUE_INDEX_STATUS }
enum | GroupFunction : unsigned { GROUP_FUNCTION_NONE = 0 , GROUP_FUNCTION_NORM , GROUP_FUNCTION_EULER , MAX_GROUP_FUNCTIONS }
enum | ValueFunction : unsigned { VALUE_FUNCTION_NONE = 0 , VALUE_FUNCTION_FFT , MAX_VALUE_FUNCTIONS }
enum | ConnectionType : unsigned { CONNECTION_USB_SERIAL = 0 , CONNECTION_ETHERNET = 1 , CONNECTION_EXTERNAL = 2 , CONNECTION_BLE = 3 , CONNECTION_UNKNOWN = 4 }
enum | FFTWindowFunction : unsigned { FFT_RECTANGULAR = 0 , FFT_TRIANGULAR , FFT_HAMMING , FFT_HANNING , FFT_BLACKMAN , FFT_END }
| Available FFT window function. More...
enum | ExistBehaviour : unsigned { EXIST_OVERWRITE = 0 , EXIST_APPEND , EXIST_AUTONUMBER , EXIST_DATETIME , EXIST_DATETIME_UTC }
enum | LogFileType : unsigned { LOG_FILETYPE_AUTODETECT = 0 , LOG_FILETYPE_ITLOG , LOG_FILETYPE_CSV , LOG_FILETYPE_BVH , LOG_FILETYPE_MAT , LOG_FILETYPE_V3D , LOG_FILETYPE_LAST }
enum | OrientationAlgorithm : unsigned { ORIENTATION_MADGWICK = 0 , ORIENTATION_VALENTI = 1 , ORIENTATION_KALMAN = 2 , ORIENTATION_VQF = 3 }
enum | FlowControl : unsigned { FLOW_CONTROL_NONE = 0 , FLOW_CONTROL_HARDWARE = 1 }
enum | ProtocolVersion : int { PROTOCOL_NONE = -1 , PROTOCOL_V0 = 0 , PROTOCOL_V1 = 1 , PROTOCOL_V2 = 2 , PROTOCOL_V3 = 3 , PROTOCOL_V4 = 4 , PROTOCOL_FIRST = PROTOCOL_V3 , PROTOCOL_LAST = PROTOCOL_V4 }
enum | MessageType : unsigned { MESSAGE_TYPE_TEXT = 0 , MESSAGE_TYPE_BINARY = 1 , MESSAGE_TYPE_LAST = 2 }
enum | SamplingType : unsigned { SAMPLING_TYPE_NONE = 0 , SAMPLING_TYPE_ALL , SAMPLING_TYPE_INERTIAL , SAMPLING_TYPE_ADC , SAMPLING_TYPE_ACTIVITY , SAMPLING_TYPE_INE_ADC , SAMPLING_TYPE_LAST }
enum | ProgressUpdateType : unsigned { PROGRESS_DOWNLOAD = 0 , PROGRESS_FILL_LOSS_ANALYZE = 1 , PROGRESS_FILL_LOSS_REQ_DATA = 2 , PROGRESS_FILL_LOSS_MERGE = 3 , PROGRESS_CONVERT = 4 , PROGRESS_REPLAY = 5 , PROGRESS_MERGE = 6 , PROGRESS_UPLOAD = 7 }

## Functions
INERTIA_API std::wstring | GetLibraryVersion ()
INERTIA_API std::wstring | GetLibraryVersionFull ()
INERTIA_API std::vector< std::wstring > | SplitCommandLine (std::wstring const &cmdLine)
INERTIA_API const std::map< std::wstring, std::wstring > | GetSerialPortList ()
INERTIA_API const std::map< std::wstring, std::wstring > | GetBluetoothPortList ()
INERTIA_API const std::map< std::wstring, std::wstring > | GetNetworkAdapterList ()
INERTIA_API unsigned | GetSerialDriverVersion ()
INERTIA_API void | GetPcapAvailable (bool &installed, bool &enabled)
INERTIA_API std::vector< LogFileType > | GetSupportedFileTypes ()
INERTIA_API bool | ConnectionUpdate (ConnectionSettings const &settings)
INERTIA_API bool | ConnectionRemove (std::wstring const &connection)
INERTIA_API void | ConnectionAddListener (StreamListenerPtr const &listener, std::wstring const &connection=std::wstring())
INERTIA_API void | ConnectionRemoveListener (StreamListenerPtr const &listener, std::wstring const &connection=std::wstring())
INERTIA_API bool | ConnectionFind (std::wstring const &connection)
INERTIA_API bool | LoggingUpdate (std::wstring const &connection, LogWriterSettings const &logSettings)
INERTIA_API std::wstring | LoggingCheckFileName (std::wstring const &connection, LogWriterSettings const &settings)
INERTIA_API bool | ReplayUpdate (LogReaderSettings const &settings)
INERTIA_API void | ReplayRemove (std::wstring const &filename)
INERTIA_API void | ReplayAddListener (StreamListenerPtr const &listener, std::wstring const &filename=std::wstring())
INERTIA_API void | ReplayRemoveListener (StreamListenerPtr const &listener, std::wstring const &filename=std::wstring())
INERTIA_API bool | ReplayIsActive (std::wstring const &filename)
INERTIA_API unsigned | ReplayGetProgress (std::wstring const &filename)
INERTIA_API std::map< unsigned, std::vector< Sample > > const | ReplayGetSamples (std::wstring const &filename, const unsigned maxItems)
INERTIA_API LogWriterSourceInfo const | ReplayGetSourceInfo (std::wstring const &filename)
INERTIA_API std::vector< Sample > const | DataGetSamples (std::wstring const &connection, const unsigned addrID, const unsigned maxItems, const bool newest=false)
INERTIA_API void | DataGetStats (std::wstring const &connection, const unsigned addrID, unsigned long &lost, unsigned long &received)
INERTIA_API void | DataClearStats (std::wstring const &connection, const unsigned addrID=0)
INERTIA_API bool | DataGetValue (Sample const &sample, ChannelSpec const &spec, double &value)
INERTIA_API const std::vector< unsigned > | GetNodeIDs (std::wstring const &connection)
INERTIA_API void | ClearNodeIDs (std::wstring const &connection, std::vector< unsigned > &addrIDs, const bool onlyInvalidate)
INERTIA_API double | GetSamplingFrequency (std::wstring const &connection, const unsigned addrID, const ConfigType type=CONFIG_GLOBAL_SAMPLING, const unsigned index=0, const int instance=-1)
INERTIA_API const InertiaConfig | GetConfiguration (std::wstring const &connection, const unsigned addrID)
INERTIA_API const DeviceInfo | GetDeviceInfo (std::wstring const &connection, const unsigned addrID)
INERTIA_API bool | SendConfiguration (std::wstring const &connection, InertiaConfig const &config, const unsigned addrID=ADDRESS_BROADCAST)
INERTIA_API bool | SendCommand (std::wstring const &connection, InertiaCommands const &command, const unsigned addrID=ADDRESS_BROADCAST)
INERTIA_API bool | SendServiceRequest (std::wstring const &connection, ServiceRequest const &service, const unsigned addrID=ADDRESS_BROADCAST)
INERTIA_API void | SetAutoUpdateSensorSamplingRate (const bool enable)
INERTIA_API void | SetUseRawADCSamples (const bool enable)
INERTIA_API std::set< unsigned > | CalibrateUpdate (CalibrationSettings const &settings)
INERTIA_API bool | CalibrateRemove (std::wstring const &filename)
INERTIA_API const CalibrationResults | CalibrateGetResults (std::wstring const &filename, unsigned const addrID, ValueType const valueType)
INERTIA_API void | CalibrateGetData (std::wstring const &filename, unsigned const addrID, CalibrationResults const &calibration, std::vector< double > &timestamp, std::vector< double > &norm, std::vector< double > &appliedNorm)
INERTIA_API void | FFTInit (const unsigned points, const unsigned interval, const FFTWindowFunction window, const bool removeDC)
INERTIA_API void | FFTStart (ChannelSpec const &channel)
INERTIA_API void | FFTStop ()
INERTIA_API StreamListenerPtr | FFTGetListener ()
INERTIA_API std::map< unsigned, std::vector< double > > const | FFTGet (std::wstring const &connection, ChannelSpec const &channel, const bool erase=false)
INERTIA_API bool | DownloadFlashStart (std::wstring const &connection, const unsigned addrID, std::wstring const &flashname, LogWriterSettings const &logSettings)
INERTIA_API bool | DownloadFlashStop (std::wstring const &connection, const unsigned addrID, std::wstring const &flashname)
INERTIA_API std::vector< std::wstring > | DownloadFlashGetActive (std::wstring const &connection, const unsigned addrID)
INERTIA_API bool | UploadFlashStart (std::wstring const &connection, const unsigned addrID, std::wstring const &flashname, std::wstring const &filename)
INERTIA_API bool | UploadFlashStop (std::wstring const &connection, const unsigned addrID, std::wstring const &flashname)
INERTIA_API std::vector< std::wstring > | UploadFlashGetActive (std::wstring const &connection, const unsigned addrID)
INERTIA_API bool | ConvertFileStart (std::wstring const &filename, ConvertFileSettings const &convertSettings, std::wstring &createdFile)
INERTIA_API void | ConvertFileStop (std::wstring const &filename)
INERTIA_API bool | ConvertFileIsActive (std::wstring const &filename)
INERTIA_API void | FillLossUpdateSettings (const unsigned retries, const bool keepBackup, const unsigned slots=0, const unsigned maxFlashDiff=60, const bool speedStatistics=true)
INERTIA_API bool | FillLossStart (std::wstring const &filename, std::wstring const &connection)
INERTIA_API void | FillLossStop (std::wstring const &filename)
INERTIA_API bool | FillLossIsActive (std::wstring const &filename)
INERTIA_API bool | MergeFilesStart (LogWriterSettings const &logSettings, std::vector< std::wstring > const &filenames, std::wstring &createdFile)
INERTIA_API void | MergeFilesStop (std::wstring const &filename)
INERTIA_API bool | MergeFilesIsActive (std::wstring const &filename)
INERTIA_API void | OrientationUpdate (std::wstring const &connection, const unsigned addrID)
INERTIA_API void | OrientationRemove (std::wstring const &connection=std::wstring(), const unsigned addrID=0)
INERTIA_API void | OrientationEnable (const bool enable)
INERTIA_API bool | OrientationIsEnabled ()
INERTIA_API OrientationSettings | OrientationGetSettings (std::wstring const &connection=std::wstring(), const unsigned addrID=0)
INERTIA_API void | OrientationUpdateSettings (OrientationSettings const &settings, std::wstring const &connection=std::wstring(), const unsigned addrID=0, const bool reset=true)
INERTIA_API void | OrientationSet (std::wstring const &connection, const unsigned addrID, inertia::Quaternion const &quat)
INERTIA_API void | OrientationCalculate (std::wstring const &connection, const unsigned addrID, inertia::Sample &sample)
INERTIA_API StreamListenerPtr | NetworkUpdateConnection (SocketSettings const &settings, StreamFilter const &filter)
INERTIA_API bool | NetworkFindConnection (std::wstring const &hostname, const unsigned port)
INERTIA_API bool | NetworkRemoveConnection (std::wstring const &hostname, const unsigned port)
INERTIA_API void | FirmwareValidate (std::wstring const &connection, unsigned const addrID, FirmwareSettings const &settings)
INERTIA_API void | FirmwareReprogram (std::wstring const &connection, unsigned const addrID, FirmwareSettings const &settings)
INERTIA_API void | CustomChannelAdd (uint64_t const serialNr, const int samplingChannel, Channel const &customChannel)
INERTIA_API void | CustomChannelRemove (uint64_t const serialNr, const int samplingChannel=-1)
INERTIA_API ChannelMap | CustomChannelGet (uint64_t const serialNr)
INERTIA_API void | Destruct ()

## Detailed Description

Namespace for all Inertia SDK related functions and classes.

## Enumeration Type Documentation

## ◆ AccelCompare

enum inertia::AccelCompare

AccelCompare

## ◆ AccelCompareMode

enum inertia::AccelCompareMode

AccelCompareMode

## ◆ AccelHighPassFilter

enum inertia::AccelHighPassFilter

AccelHighPassFilter

## ◆ AccelRangeLis3DH

enum inertia::AccelRangeLis3DH

AccelRangeLis3DH

## ◆ AccelRateLis3DH

enum inertia::AccelRateLis3DH

AccelRateLis3DH

## ◆ AccelRateLis3LV02

enum inertia::AccelRateLis3LV02

AccelRateLis3LV02

## ◆ AccelType

enum inertia::AccelType

AccelType

## ◆ ADCChannel

enum inertia::ADCChannel

ADCChannel

## ◆ ADCDescriptorType

enum inertia::ADCDescriptorType

ADCDescriptorType

## ◆ ADCInputMode

enum inertia::ADCInputMode

ADCInputMode

## ◆ AxisConfigDescriptorType

enum inertia::AxisConfigDescriptorType

AxisConfigDescriptorType

## ◆ BaroDifferentialMode

enum inertia::BaroDifferentialMode

BaroDifferentialMode

## ◆ CapacitiveFeedbackSelect

enum inertia::CapacitiveFeedbackSelect

CapacitiveFeedbackSelect

## ◆ ChannelDataType

enum inertia::ChannelDataType

Channel data types for custom configuration

Enumerator
CHANNEL_SIGNED | Signed.
CHANNEL_UNSIGNED | Unsigned.
CHANNEL_FIXEDPOINT | Fixed floating point.

## ◆ ChannelInputSelect

enum inertia::ChannelInputSelect

ChannelInputSelect

## ◆ CompassGain

enum inertia::CompassGain

CompassGain

## ◆ CompassRate

enum inertia::CompassRate

CompassRate

## ◆ CompassType

enum inertia::CompassType

CompassType

## ◆ ConfigType

enum inertia::ConfigType : unsigned

Available configuration types

Enumerator
CONFIG_RADIO | Radio Configuration, see RadioConfig.
CONFIG_GLOBAL_SAMPLING | Global Sampling Configuration, see GlobalSamplingConfig.
CONFIG_ACCEL | Acceleration Configuration, see AccelConfig.
CONFIG_COMPASS | Compass Configuration, see CompassConfig.
CONFIG_TRIPLE_AXIS | Triple Axis Configuration, see TripleAxisConfig.
CONFIG_STATUS | Status Configuration, see StatusConfig.
CONFIG_HEARTBEAT | Heartbeat Configuration, see HeartBeatConfig.
CONFIG_TEMPERATURE | Temperature Configuration, see TemperatureConfig.
CONFIG_CORR | Correlation Configuration, see CorrelationConfig.
CONFIG_LOGGING | Logging Configuration, see LoggingConfig.
CONFIG_IMA | IMA Configuration, see IMAConfig.
CONFIG_RTC | RTC Configuration, see RTCConfig.
CONFIG_SINGLE_AXIS | Single Axis Configuration, see SingleAxisConfig.
CONFIG_GYRO | Gyroscope Configuration, see GyroConfig.
CONFIG_QUAD_AXIS | Quad Axis Configuration, see QuadAxisConfig.
CONFIG_ADC | ADC Configuration, see ADCConfig.
CONFIG_DETECTION | Detection Configuration, see DetectionConfig.
CONFIG_ADC2 | ADC2 Configuration, see ADC2Config.
CONFIG_ACCEL_EXT | Extended Acceleration Configuration, see AccelConfigExt.
CONFIG_COMPASS_EXT | Extended Compass Configuration, not used.
CONFIG_DUAL_AXIS | Dual Axis Configuration, see DualAxisConfig.
CONFIG_VMON_BOARD | V-Mon Board Configuration, see VmonBoardConfig.
CONFIG_OTHER_AXIS | Other Axis Configuration, see OtherAxisConfig.
CONFIG_LAST | Valid sensor configurations before this.
CONFIG_CUSTOM | Custom Configuration.
CONFIG_IGNORE | Ignore Configuration.

## ◆ ConnectionType

enum inertia::ConnectionType : unsigned

Available connection types.

Enumerator
CONNECTION_USB_SERIAL | USB Serial Connection, see SerialSettings.
CONNECTION_ETHERNET | Ethernet Connection, see EthernetSettings.
CONNECTION_EXTERNAL | External Connection, see ExternalConnSettings.
CONNECTION_BLE | Bluetooth Low Energy, see BLEConnSettings.

## ◆ DetectionTypes

enum inertia::DetectionTypes

DetectionTypes

## ◆ DeviceConnection

enum class inertia::DeviceConnection
| strong

Device Connection.

The type of connection used by the device.

## ◆ DualAxisSensors

enum inertia::DualAxisSensors : uint8_t

DualAxisSensors

## ◆ ExistBehaviour

enum inertia::ExistBehaviour : unsigned

Options to handle an existing logfile.

Enumerator
EXIST_OVERWRITE | Overwrite the existing file.
EXIST_APPEND | Append data to the existing file.
EXIST_AUTONUMBER | Add a unique number to the new file.
EXIST_DATETIME | Add a local timestamp to the new file.
EXIST_DATETIME_UTC | Add a UTC timestamp to the new file.

## ◆ FFTWindowFunction

enum inertia::FFTWindowFunction : unsigned

Available FFT window function.

Enumerator
FFT_RECTANGULAR | Rectangular window.
FFT_TRIANGULAR | Triangular window.
FFT_HAMMING | Hamming window.
FFT_HANNING | Hanning window.
FFT_BLACKMAN | Blackman window.

## ◆ FilesystemCode

enum inertia::FilesystemCode

FilesystemCode

## ◆ FlashCommands

enum inertia::FlashCommands : uint8_t

FlashCommands

## ◆ FlashStateType

enum inertia::FlashStateType

FlashStateType

## ◆ FlowControl

enum inertia::FlowControl : unsigned

Types of Flow Control

Enumerator
FLOW_CONTROL_NONE | No flow control.
FLOW_CONTROL_HARDWARE | Hardware flow control.

## ◆ GPSConfigVersion

enum inertia::GPSConfigVersion

GPSConfigVersion

## ◆ GPSSampleSize

enum inertia::GPSSampleSize

GPSSampleSize

## ◆ GPSType

enum inertia::GPSType

GPSType

## ◆ GroupFunction

enum inertia::GroupFunction : unsigned

A function that is performed over all values in a group of a ChannelSpec.

Enumerator
GROUP_FUNCTION_NONE | No group function.
GROUP_FUNCTION_NORM | Apply normalization function. The resulting value is at index 0.
GROUP_FUNCTION_EULER | Get Euler angles of ::VALUE_TYPE_ORIENTATION, use index 0=roll, 1=pitch, 2=yaw.

## ◆ GyroFilterBandwith

enum inertia::GyroFilterBandwith

GyroFilterBandwith

## ◆ IMAConfigVersion

enum inertia::IMAConfigVersion

IMAConfigVersion

## ◆ InertiaCommandGroups

enum inertia::InertiaCommandGroups : unsigned

InertiaCommandGroups

## ◆ IOCommands

enum inertia::IOCommands : uint8_t

IOCommands

## ◆ IOCommonMessageID

enum inertia::IOCommonMessageID

IOCommonMessageID

## ◆ IOCommonModeID

enum inertia::IOCommonModeID

IOCommonModeID

## ◆ IOConfigurationDescriptorType

enum inertia::IOConfigurationDescriptorType

IOConfigurationDescriptorType

## ◆ IOMessageID

enum inertia::IOMessageID

IOMessageID

## ◆ IOModeID

enum inertia::IOModeID

IOModeID

## ◆ IOModeTriggerInputType

enum inertia::IOModeTriggerInputType

IOModeTriggerInputType

## ◆ IOModeTriggerOutputType

enum inertia::IOModeTriggerOutputType

IOModeTriggerOutputType

## ◆ LogFileType

enum inertia::LogFileType : unsigned

Supported logfile formats.

Enumerator
LOG_FILETYPE_AUTODETECT | Determine file-type based on extension, defaults to ::LOG_FILETYPE_ITLOG.
LOG_FILETYPE_ITLOG | Inertia Logfile, binary format.
LOG_FILETYPE_CSV | Comma Separated Value format.
LOG_FILETYPE_BVH | BioVision Hierarchy format.
LOG_FILETYPE_MAT | MATLAB format.
LOG_FILETYPE_V3D | Visual3D ASCII format.

## ◆ LoggingCommands

enum inertia::LoggingCommands : uint8_t

LoggingCommands

## ◆ LoggingSearchType

enum inertia::LoggingSearchType

LoggingSearchType

## ◆ LoggingType

enum inertia::LoggingType

LoggingType

## ◆ MessageType

enum inertia::MessageType : unsigned

Type of socket data.

Enumerator
MESSAGE_TYPE_TEXT | ASCII text data.
MESSAGE_TYPE_BINARY | Binary data.

## ◆ OrientationAlgorithm

enum inertia::OrientationAlgorithm : unsigned

Type of Orientation Algorithm

Enumerator
ORIENTATION_MADGWICK | Madgwick Orientation Algorithm.
ORIENTATION_VALENTI | Valenti Orientation Algorithm.
ORIENTATION_KALMAN | Extended Kalman Orientation Algorithm.
ORIENTATION_VQF | Versatile Quaternion-based Filter Algorithm.

## ◆ OtherAxisSensors

enum inertia::OtherAxisSensors : uint8_t

OtherAxisSensors

Enumerator
OTHER_POWER_MGMT | Power Management configuration ID.
OTHER_INPUT_OUTPUT | Input/Output (I/O) configuration ID.
OTHER_GPS | GPS configuration ID.
OTHER_SCHEDULER | Scheduler configuration ID.
OTHER_VL53L8CX | ToF configuration ID.

## ◆ ProgressUpdateType

enum inertia::ProgressUpdateType : unsigned

Enumeration for different types of ProgressUpdate().

Enumerator
PROGRESS_DOWNLOAD | Progress update for flash download.
PROGRESS_FILL_LOSS_ANALYZE | Progress update for fill loss analysis.
PROGRESS_FILL_LOSS_REQ_DATA | Progress update for fill loss requesting data.
PROGRESS_FILL_LOSS_MERGE | Progress update for fill loss merge.
PROGRESS_CONVERT | Progress update for converting file.
PROGRESS_REPLAY | Progress update for replaying file.
PROGRESS_MERGE | Progress update for merging files.
PROGRESS_UPLOAD | Progress update for flash upload.

## ◆ ProtocolVersion

enum inertia::ProtocolVersion : int

Serial Protocol Versions

Enumerator
PROTOCOL_NONE | Unspecified protocol version.
PROTOCOL_V0 | Protocol version 0 (obsolete).
PROTOCOL_V1 | Protocol version 1 (obsolete).
PROTOCOL_V2 | Protocol version 2 (obsolete).
PROTOCOL_V3 | Protocol version 3.
PROTOCOL_V4 | Protocol version 4.
PROTOCOL_FIRST | First supported protocol version.
PROTOCOL_LAST | Last supported protocol version.

## ◆ QuadAxisSensors

enum inertia::QuadAxisSensors : uint8_t

QuadAxisSensors

Enumerator
QUATERNION_MPU9250 | Quaternion configuration ID.
QUATERNION_SOFTWARE | Quaternion configuration ID.

## ◆ RadioChip

enum inertia::RadioChip : unsigned

RadioChip

## ◆ RadioConfigVersion

enum inertia::RadioConfigVersion : unsigned

RadioConfigVersion

## ◆ ReadRangeStatusCode

enum inertia::ReadRangeStatusCode

ReadRangeStatusCode

## ◆ RemoteIOCommands

enum inertia::RemoteIOCommands : uint8_t

RemoteIOCommands

## ◆ RemoteIOsetting

enum inertia::RemoteIOsetting

RemoteIOsetting

## ◆ ResistiveFeedbackSelect

enum inertia::ResistiveFeedbackSelect

ResistiveFeedbackSelect

## ◆ RRPInfoType

enum inertia::RRPInfoType : unsigned

RRPInfoType

## ◆ RTCConfigVersion

enum inertia::RTCConfigVersion

RTCConfigVersion

## ◆ SamplingTimerSource

enum inertia::SamplingTimerSource

SamplingTimerSource

## ◆ SamplingTriggerSource

enum inertia::SamplingTriggerSource

SamplingTriggerSource

## ◆ SamplingType

enum inertia::SamplingType : unsigned

Type of sample data to include.

Enumerator
SAMPLING_TYPE_NONE | No sample data.
SAMPLING_TYPE_ALL | All sample data.
SAMPLING_TYPE_INERTIAL | Inertial sample data.
SAMPLING_TYPE_ADC | ADC sample data.
SAMPLING_TYPE_ACTIVITY | Activity sample data.
SAMPLING_TYPE_INE_ADC | Inertial and ADC sample data.

## ◆ SearchCondition

enum inertia::SearchCondition

SearchCondition

## ◆ SensorMode

enum inertia::SensorMode

SensorMode

## ◆ SensorWakeOnMotionMode

enum inertia::SensorWakeOnMotionMode

SensorWakeOnMotionMode

## ◆ ServiceARP

enum inertia::ServiceARP : uint8_t

ServiceARP

## ◆ ServiceCommands

enum inertia::ServiceCommands : uint8_t

ServiceCommands

## ◆ ServiceConnector

enum inertia::ServiceConnector : uint8_t

ServiceConnector

## ◆ ServiceDevice

enum inertia::ServiceDevice : uint8_t

ServiceDevice

## ◆ ServiceFastMac

enum inertia::ServiceFastMac : uint8_t

ServiceFastMac

## ◆ ServiceFirmwareEntryType

enum inertia::ServiceFirmwareEntryType : unsigned

ServiceFirmwareEntryType

## ◆ ServiceFirmwareTypeID

enum inertia::ServiceFirmwareTypeID : uint8_t

ServiceFirmwareTypeID

## ◆ ServiceForwarder

enum inertia::ServiceForwarder : uint8_t

ServiceForwarder

## ◆ ServiceGeneral

enum inertia::ServiceGeneral : uint8_t

ServiceGeneral

## ◆ ServiceGroup

enum inertia::ServiceGroup : unsigned

ServiceGroup

## ◆ ServiceHardwareTypeID

enum inertia::ServiceHardwareTypeID : uint32_t

ServiceHardwareTypeID

## ◆ ServiceInterface

enum inertia::ServiceInterface : uint8_t

ServiceInterface

## ◆ ServiceRadio

enum inertia::ServiceRadio : uint8_t

ServiceRadio

## ◆ ServiceRevisionTypeID

enum inertia::ServiceRevisionTypeID : uint8_t

ServiceRevisionTypeID

## ◆ ServiceRRP

enum inertia::ServiceRRP : uint8_t

ServiceRRP

## ◆ ServiceV0ID

enum inertia::ServiceV0ID : unsigned

ServiceV0ID

## ◆ ServiceVersion

enum inertia::ServiceVersion : unsigned

ServiceVersion

## ◆ SingleAxisSensors

enum inertia::SingleAxisSensors : uint8_t

SingleAxisSensors

Enumerator
BAROMETER_LPS25H | Barometer configuration ID.
TEMP_MPU9250 | Temperature configuration ID.
NEXODAQ_CHANNEL | NexoDAQ Channel configuration ID.
BAROMETER_LPS27HH | Barometer configuration ID.
TEMP_ICM42605 | Temperature configuration ID.
TEMP_LSM6DSR | Temperature configuration ID.
TEMP_LSM6DSV320X | Temperature configuration ID.
TEMP_ICM45686 | Temperature configuration ID.
NEXODAQ_USER_GPIO | internal ID
NEXODAQ_MONITOR | internal ID

## ◆ StatusConfigVersion

enum inertia::StatusConfigVersion : uint8_t

StatusConfigVersion

## ◆ TransmitType

enum inertia::TransmitType

TransmitType

## ◆ TripleAxisSensors

enum inertia::TripleAxisSensors : uint8_t

TripleAxisSensors

Enumerator
ACCEL_MPU9250 | Accelerometer configuration ID.
GYRO_MPU9250 | Gyroscope configuration ID.
COMPASS_AK8963 | Compass configuration ID.
ACCELHG_H3LIS331DL | High-G Accelerometer configuration ID.
TRIPLE_TESTSENS | Test sensor.
ACCEL_ICM42605 | Accelerometer configuration ID.
GYRO_ICM42605 | Gyroscope configuration ID.
COMPASS_LIS3MDL | Compass configuration ID.
ACCEL_LSM6DSR | Accelerometer configuration ID.
GYRO_LSM6DSR | Gyroscope configuration ID.
ACCEL_LSM6DSV320X | Accelerometer configuration ID.
GYRO_LSM6DSV320X | Gyroscope configuration ID.
ACCELHG_LSM6DSV320X | High-G Accelerometer configuration ID.
ACCEL_ICM45686 | Accelerometer configuration ID.
GYRO_ICM45686 | Gyroscope configuration ID.

## ◆ ValueFunction

enum inertia::ValueFunction : unsigned

A function that is performed over a single value in a ChannelSpec.

Enumerator
VALUE_FUNCTION_NONE | No value function.
VALUE_FUNCTION_FFT | Fast Fourier Transform of value.

## ◆ ValueIndexStatus

enum inertia::ValueIndexStatus : unsigned

Available indexes for VALUE_TYPE_STATUS.

Enumerator
VALUE_INDEX_STATUS_BAT_VOLTAGE | Battery voltage.
VALUE_INDEX_STATUS_TEMP_INSIDE | Inside temperature / CPU temperature.
VALUE_INDEX_STATUS_POWER_INPUT_PRESENT | Power Voltage / External input.
VALUE_INDEX_STATUS_RSSI | Radio Signal Strength (RSSI).
VALUE_INDEX_STATUS_LOST_SAMPLES_PERCENTAGE | Lost samples percentage.
VALUE_INDEX_STATUS_LOST_SAMPLES | Lost samples.
VALUE_INDEX_STATUS_BAT_SOC | Battery percentage.
VALUE_INDEX_STATUS_TEMP_AMBIENT | Ambient temperature.
VALUE_INDEX_STATUS_POWER_INPUT_VOLTAGE | Power input voltage.
VALUE_INDEX_STATUS_POWER_CONSUMPTION | Power consumption.
VALUE_INDEX_STATUS_BAT_PERCENTAGE | Battery percentage. Not used anymore, use VALUE_INDEX_STATUS_BAT_SOC instead.
VALUE_INDEX_STATUS_CHARGE_CURRENT | Charge current.

## ◆ ValueType

enum inertia::ValueType : unsigned

The value type of a ChannelSpec, corresponds with for example a sensor.

Enumerator
VALUE_TYPE_DISABLED | Disabled.
VALUE_TYPE_ACCEL | Accelerometer: index 0=X, 1=Y, 2=Z.
VALUE_TYPE_COMPASS | Compass: index 0=X, 1=Y, 2=Z.
VALUE_TYPE_GYRO | Gyroscope: index 0=X, 1=Y, 2=Z.
VALUE_TYPE_TEMP | Temperature: index 0.
VALUE_TYPE_ACCEL_HIGH_G | High-G Accelerometer: index 0=X, 1=Y, 2=Z.
VALUE_TYPE_PRESSURE | Pressure: index 0.
VALUE_TYPE_IMA | IMA: represents the index within the IMA values.
VALUE_TYPE_ADC | ADC: represents the analog input index.
VALUE_TYPE_ORIENTATION | Orientation: index 0 to 3 represent the quaternion values.
VALUE_TYPE_STATUS | Status values: 0=bat, 1=cpuTemp, 2=extIn, 3=rssi, 4=N.A., 5=lostSamples.
VALUE_TYPE_GPS | GPS values: same order as GPS header.
VALUE_TYPE_CUSTOM | Custom values.

## ◆ VmonBoardType

enum inertia::VmonBoardType

VmonBoardType

## Function Documentation

## ◆ CalibrateGetData()

INERTIA_API void inertia::CalibrateGetData | ( | std::wstring const & | filename,
|  | unsigned const | addrID,
|  | CalibrationResults const & | calibration,
|  | std::vector< double > & | timestamp,
|  | std::vector< double > & | norm,
|  | std::vector< double > & | appliedNorm )

Get detailed calibration data.

Parameters

  filename | the file to use
  addrID | the applicable node
  calibration | the calibration results to apply
  timestamp | the timestamps
  norm | the normalized sensor data
  appliedNorm | the normalized sensor data with applied calibration

## ◆ CalibrateGetResults()

INERTIA_API const CalibrationResults inertia::CalibrateGetResults | ( | std::wstring const & | filename,
|  | unsigned const | addrID,
|  | ValueType const | valueType )

Get the calibration results.

Parameters

  filename | the file used
  addrID | the applicable node
  valueType | the type of data

Returns
  CalibrationResults

## ◆ CalibrateRemove()

INERTIA_API bool inertia::CalibrateRemove | ( | std::wstring const & | filename | ) |

Remove calibration data of the given file.

Parameters

  filename | the file for which calibration needs to be removed

Returns
  true if successful, else false

## ◆ CalibrateUpdate()

INERTIA_API std::set< unsigned > inertia::CalibrateUpdate | ( | CalibrationSettings const & | settings | ) |

Update calibration settings, and parse the file when applicable. Note: this function will not return until the calibration file is read.

Parameters

  settings | the calibration settings

Returns
  a set with detected nodes

## ◆ ClearNodeIDs()

INERTIA_API void inertia::ClearNodeIDs | ( | std::wstring const & | connection,
|  | std::vector< unsigned > & | addrIDs,
|  | const bool | onlyInvalidate )

Clear all information (configurations, node info) of the specified addrIDs.

Parameters

  connection | the name of the connection or file
  addrIDs | a vector with addrIDs to clear
  onlyInvalidate | keep info but request it again from the node

## ◆ ConnectionAddListener()

INERTIA_API void inertia::ConnectionAddListener | ( | StreamListenerPtr const & | listener,
|  | std::wstring const & | connection = std::wstring() )

Add a listener for stream events to a connection. Use an empty name to add the listener as default listener, it will be used for all existing and new connections. If a name of a connection is provided that is not (yet) opened, the pointer to the listener is stored until the connection is opened, or until the listener is removed.

Parameters

  listener | the class that receives stream events
  connection | the name of the connection used in ConnectionUpdate, empty for default listener

## ◆ ConnectionFind()

INERTIA_API bool inertia::ConnectionFind | ( | std::wstring const & | connection | ) |

Check if a connection is handled.

Parameters

  connection | the name of the connection

Returns
  true if the connection has a handler

## ◆ ConnectionRemove()

INERTIA_API bool inertia::ConnectionRemove | ( | std::wstring const & | connection | ) |

Try to remove the connection with the given name.

Parameters

  connection | the name of the connection

Returns
  false when it could not be removed

## ◆ ConnectionRemoveListener()

INERTIA_API void inertia::ConnectionRemoveListener | ( | StreamListenerPtr const & | listener,
|  | std::wstring const & | connection = std::wstring() )

Remove a listener for stream events from a connection.

Parameters

  listener | the class that receives stream events
  connection | the name of the connection used in ConnectionUpdates, empty for default listener

## ◆ ConnectionUpdate()

INERTIA_API bool inertia::ConnectionUpdate | ( | ConnectionSettings const & | settings | ) |

Add/update and open a connection (serial, ethernet) with the given properties.

Parameters

  settings | settings for connection

Returns
  true on success

## ◆ ConvertFileIsActive()

INERTIA_API bool inertia::ConvertFileIsActive | ( | std::wstring const & | filename | ) |

Check if a file is being converted.

Parameters

  filename | the source filename to check

Returns
  true if active

## ◆ ConvertFileStart()

INERTIA_API bool inertia::ConvertFileStart | ( | std::wstring const & | filename,
|  | ConvertFileSettings const & | convertSettings,
|  | std::wstring & | createdFile )

Convert a binary file to a different format.

Parameters

  filename | the binary source file
  convertSettings | settings for converting a log file
  createdFile | the actual filename that will be converted in to

Returns
  true when successfully started

## ◆ ConvertFileStop()

INERTIA_API void inertia::ConvertFileStop | ( | std::wstring const & | filename | ) |

Stop conversion if it is still running.

Parameters

  filename | the binary source file

## ◆ CustomChannelAdd()

INERTIA_API void inertia::CustomChannelAdd | ( | uint64_t const | serialNr,
|  | const int | samplingChannel,
|  | Channel const & | customChannel )

Add a custom sampling channel.

Parameters

  serialNr | the serial number of the applicable device
  samplingChannel | the sampling channel to add, value from 0 to 255
  customChannel | channel information

## ◆ CustomChannelGet()

INERTIA_API ChannelMap inertia::CustomChannelGet | ( | uint64_t const | serialNr | ) |

Get the custom sampling channels.

Parameters

  serialNr | the serial number of the applicable device

Returns
  a map of channels

## ◆ CustomChannelRemove()

INERTIA_API void inertia::CustomChannelRemove | ( | uint64_t const | serialNr,
|  | const int | samplingChannel = -1 )

Remove a custom sampling channel.

Parameters

  serialNr | the serial number of the applicable device
  samplingChannel | the sampling channel to remove, -1 to clear all channels

## ◆ DataClearStats()

INERTIA_API void inertia::DataClearStats | ( | std::wstring const & | connection,
|  | const unsigned | addrID = 0 )

Clear sample statistics.

Parameters

  connection | the name of the connection (or file)
  addrID | the applicable node, 0 for all

## ◆ DataGetSamples()

INERTIA_API std::vector< Sample > const inertia::DataGetSamples | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | const unsigned | maxItems,
|  | const bool | newest = false )

Get samples from the specified connection and addrID.

Parameters

  connection | the name of the connection (or file)
  addrID | the applicable node
  maxItems | the maximum number of items to fetch
  newest | only get the newest samples, dropping any previously received samples

Returns
  a vector of samples

## ◆ DataGetStats()

INERTIA_API void inertia::DataGetStats | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | unsigned long & | lost,
|  | unsigned long & | received )

Get lost and total sample statistics.

Parameters

  connection | the name of the connection (or file)
  addrID | the applicable node
  lost | the lost samples
  received | the received samples

## ◆ DataGetValue()

INERTIA_API bool inertia::DataGetValue | ( | Sample const & | sample,
|  | ChannelSpec const & | spec,
|  | double & | value )

Get the value based on the provided channel specification.

Parameters

  sample | a sample including measurements taken at a certain time
  spec | the channel specification
  value | the sample value, NaN when invalid

Returns
  true when a valid sample is returned

## ◆ Destruct()

INERTIA_API void inertia::Destruct | ( |  | ) |

Stop and destruct all asynchronous threads used in the Library Should only be called at end of program.

## ◆ DownloadFlashGetActive()

INERTIA_API std::vector< std::wstring > inertia::DownloadFlashGetActive | ( | std::wstring const & | connection,
|  | const unsigned | addrID )

Get a list of files being downloaded or queued. Use an empty connection name to get all files of all connections and nodes.

Parameters

  connection | the name of the connection
  addrID | the applicable node

Returns
  a vector with pending downloads

## ◆ DownloadFlashStart()

INERTIA_API bool inertia::DownloadFlashStart | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | std::wstring const & | flashname,
|  | LogWriterSettings const & | logSettings )

Start downloading a new file, or add it to the queue.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  flashname | the file to download
  logSettings | the settings used for writing the file

Returns
  true when successfully added

## ◆ DownloadFlashStop()

INERTIA_API bool inertia::DownloadFlashStop | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | std::wstring const & | flashname )

Cancel downloading a file, or remove it from the queue.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  flashname | the file to cancel

Returns
  true when successfully canceled

## ◆ FFTGet()

INERTIA_API std::map< unsigned, std::vector< double > > const inertia::FFTGet | ( | std::wstring const & | connection,
|  | ChannelSpec const & | channel,
|  | const bool | erase = false )

Get the last calculated FFTs of the given connection and channel.

Parameters

  connection | the name of the connection (or file)
  channel | the channel specification
  erase | remove the existing FFT so the next call will return either a new FFT or an empty map

Returns
  a map with values for each addrID

## ◆ FFTGetListener()

INERTIA_API StreamListenerPtr inertia::FFTGetListener | ( |  | ) |

Get the FFT listener.

Returns
  the FFT StreamListener

## ◆ FFTInit()

INERTIA_API void inertia::FFTInit | ( | const unsigned | points,
|  | const unsigned | interval,
|  | const FFTWindowFunction | window,
|  | const bool | removeDC )

Initialize the number of FFT samples and FFT window method, and start listening to samples.

Parameters

  points | use 2^p points for the FFT calculation
  interval | number of milliseconds between FFT calculations
  window | the FFTWindowFunction method to use
  removeDC | remove the mean DC signal to reduce the 0-component

## ◆ FFTStart()

INERTIA_API void inertia::FFTStart | ( | ChannelSpec const & | channel | ) |

Start FFT capturing for the specified channel.

Parameters

  channel | the channel to capture

## ◆ FFTStop()

INERTIA_API void inertia::FFTStop | ( |  | ) |

Stop FFT capturing for all channels.

## ◆ FillLossIsActive()

INERTIA_API bool inertia::FillLossIsActive | ( | std::wstring const & | filename | ) |

Check if a file is being filled in.

Parameters

  filename | filename to check

Returns
  true if active

## ◆ FillLossStart()

INERTIA_API bool inertia::FillLossStart | ( | std::wstring const & | filename,
|  | std::wstring const & | connection )

Fill lost samples in a binary file.

Parameters

  filename | the binary source file
  connection | the name of the connection

Returns
  true when successfully started

## ◆ FillLossStop()

INERTIA_API void inertia::FillLossStop | ( | std::wstring const & | filename | ) |

Stop filling in lost samples.

Parameters

  filename | the binary source file

## ◆ FillLossUpdateSettings()

INERTIA_API void inertia::FillLossUpdateSettings | ( | const unsigned | retries,
|  | const bool | keepBackup,
|  | const unsigned | slots = 0,
|  | const unsigned | maxFlashDiff = 60,
|  | const bool | speedStatistics = true )

Set the number of retries to use when filling lost samples misses some samples.

Parameters

  retries | the number of retries
  keepBackup | create a copy of the unfilled file
  slots | change number of slots during fill-loss (0 = don't change)
  maxFlashDiff | the maximum time difference (in seconds) allowed between the file to fill and the timestamp of the flash logs
  speedStatistics | add messages to fill-loss callbacks with estimated speed statistics

## ◆ FirmwareReprogram()

INERTIA_API void inertia::FirmwareReprogram | ( | std::wstring const & | connection,
|  | unsigned const | addrID,
|  | FirmwareSettings const & | settings )

Validate and reprogram with the given parameters. Results are forwarded via the asynchronous RRPProgress service response.

Parameters

  connection | the name of the connection the device is connected to
  addrID | the ID of the node
  settings | firmware update settings

## ◆ FirmwareValidate()

INERTIA_API void inertia::FirmwareValidate | ( | std::wstring const & | connection,
|  | unsigned const | addrID,
|  | FirmwareSettings const & | settings )

Validate the given parameters. Results are forwarded via the asynchronous RRPProgress service response.

Parameters

  connection | the name of the connection the device is connected to. Leave empty to validate only filename
  addrID | the ID of the node
  settings | firmware update settings

## ◆ GetBluetoothPortList()

INERTIA_API const std::map< std::wstring, std::wstring > inertia::GetBluetoothPortList | ( |  | ) |

Get a map with available bluetooth ports and the name of the connected device (if available). For BLE devices the port is the MAC address of the device.

Returns
  a map with connectionName - deviceName

## ◆ GetConfiguration()

INERTIA_API const InertiaConfig inertia::GetConfiguration | ( | std::wstring const & | connection,
|  | const unsigned | addrID )

Get the configuration of a node.

Parameters

  connection | the name of the connection or file
  addrID | the applicable node

Returns
  the configuration of the node

## ◆ GetDeviceInfo()

INERTIA_API const DeviceInfo inertia::GetDeviceInfo | ( | std::wstring const & | connection,
|  | const unsigned | addrID )

Get the device info of a node.

Parameters

  connection | the name of the connection or file
  addrID | the applicable node

Returns
  the device info of the node

## ◆ GetLibraryVersion()

INERTIA_API std::wstring inertia::GetLibraryVersion | ( |  | ) |

Get the library version, format 'x.x.x'.

Returns
  the version

## ◆ GetLibraryVersionFull()

INERTIA_API std::wstring inertia::GetLibraryVersionFull | ( |  | ) |

Get the full library version, format 'x.x.x.x (rev)'.

Returns
  the full version

## ◆ GetNetworkAdapterList()

INERTIA_API const std::map< std::wstring, std::wstring > inertia::GetNetworkAdapterList | ( |  | ) |

Get a map with available network adapters and the MAC address of the adapter.

Returns
  a map with adapterName - MAC address

## ◆ GetNodeIDs()

INERTIA_API const std::vector< unsigned > inertia::GetNodeIDs | ( | std::wstring const & | connection | ) |

Get all the addrIDs that are detected on the specified connection.

Parameters

  connection | the name of the connection or file

Returns
  a vector with the addrIDs

## ◆ GetPcapAvailable()

INERTIA_API void inertia::GetPcapAvailable | ( | bool & | installed,
|  | bool & | enabled )

Check if connecting to network adapters is supported. Requires Npcap or WinPcap on Windows, libpcap on Linux and macOS.

Parameters

  installed | set to true when the library is detected
  enabled | set to true when the pcap is able to detect network interfaces

## ◆ GetSamplingFrequency()

INERTIA_API double inertia::GetSamplingFrequency | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | const ConfigType | type = CONFIG_GLOBAL_SAMPLING,
|  | const unsigned | index = 0,
|  | const int | instance = -1 )

Get the sampling frequency of specified node and config type.

Parameters

  connection | the name of the connection or file
  addrID | the applicable node
  type | the optional configuration type (e.g accelerometer, ADC)
  index | the optional group (for ADC2 configs) or sensorID (for xAxisConfigs)
  instance | the optional instance of a sensorID (for xAxisConfigs)

Returns
  the sampling frequency in Hz, -1 when the addrID has no configuration, or the global sampling frequency when the specific configuration is not available

## ◆ GetSerialDriverVersion()

INERTIA_API unsigned inertia::GetSerialDriverVersion | ( |  | ) |

Get the version of the Inertia Driver (Windows only). An Inertia device must have been connected at least once, otherwise 0 will be returned. If a device is connected and the driver is not installed, -1 will be returned.

Returns
  the driver version

## ◆ GetSerialPortList()

INERTIA_API const std::map< std::wstring, std::wstring > inertia::GetSerialPortList | ( |  | ) |

Get a map with available serial ports and the name of the connected device (if available).

Returns
  a map with connectionName - deviceName

## ◆ GetSupportedFileTypes()

INERTIA_API std::vector< LogFileType > inertia::GetSupportedFileTypes | ( |  | ) |

Get the supported LogWriter and export file types.

Returns
  a vector with supported LogFileTypes

## ◆ LoggingCheckFileName()

INERTIA_API std::wstring inertia::LoggingCheckFileName | ( | std::wstring const & | connection,
|  | LogWriterSettings const & | settings )

Check which filename will be used when starting a log file. When already logging, return the file that is created.

Parameters

  connection | the (optional) connection name (to get the filename when already logging)
  settings | the settings used for logging

Returns
  the filename that will be created or is being used

## ◆ LoggingUpdate()

INERTIA_API bool inertia::LoggingUpdate | ( | std::wstring const & | connection,
|  | LogWriterSettings const & | logSettings )

Update logging settings for a connection.

Parameters

  connection | the name of the connection
  logSettings | logging settings

Returns
  false if updating failed

## ◆ MergeFilesIsActive()

INERTIA_API bool inertia::MergeFilesIsActive | ( | std::wstring const & | filename | ) |

Check if a file is being merged.

Parameters

  filename | the file to check

Returns
  true if active

## ◆ MergeFilesStart()

INERTIA_API bool inertia::MergeFilesStart | ( | LogWriterSettings const & | logSettings,
|  | std::vector< std::wstring > const & | filenames,
|  | std::wstring & | createdFile )

Merge multiple itlog files into one file.

Parameters

  logSettings | settings for creating a log file
  filenames | the binary source files
  createdFile | the actual filename that will be merged in to

Returns
  true when successfully started

## ◆ MergeFilesStop()

INERTIA_API void inertia::MergeFilesStop | ( | std::wstring const & | filename | ) |

Stop merging files.

Parameters

  filename | the file that is being created (filename from MergeFilesStart logSettings.fileSettings.logfile)

## ◆ NetworkFindConnection()

INERTIA_API bool inertia::NetworkFindConnection | ( | std::wstring const & | hostname,
|  | const unsigned | port )

Check if a TCP socket is handled.

Parameters

  hostname | hostname when using TCP client, for TCP server use an empty string
  port | port of TCP server to listen on or TCP client to connect to

Returns
  true if the port has a handler

## ◆ NetworkRemoveConnection()

INERTIA_API bool inertia::NetworkRemoveConnection | ( | std::wstring const & | hostname,
|  | const unsigned | port )

Try to remove TCP socket with given parameters.

Parameters

  hostname | hostname when using TCP client, for TCP server use an empty string
  port | port of TCP server to listen on or TCP client to connect to

Returns
  false when it could not be removed

## ◆ NetworkUpdateConnection()

INERTIA_API StreamListenerPtr inertia::NetworkUpdateConnection | ( | SocketSettings const & | settings,
|  | StreamFilter const & | filter )

Add or update a TCP connection with given properties, return true upon success. The TCP connection can be used to control the InertiaSDK (as server) or to let the InertiaSDK send data to a remote connection (as client).

Parameters

  settings | new or updated socket settings
  filter | new or updated stream filter settings

Returns
  callback class for receiving stream status updates from a connection, nullptr on failure

## ◆ OrientationCalculate()

INERTIA_API void inertia::OrientationCalculate | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | inertia::Sample & | sample )

Calculate orientation directly from sensor data.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  sample | the sample with the sensor data that will get the quaternion

## ◆ OrientationEnable()

INERTIA_API void inertia::OrientationEnable | ( | const bool | enable | ) |

Enable or disable using orientation algorithms.

Parameters

  enable | true to enable

## ◆ OrientationGetSettings()

INERTIA_API OrientationSettings inertia::OrientationGetSettings | ( | std::wstring const & | connection = std::wstring(),
|  | const unsigned | addrID = 0 )

Get the Orientation Algorithm settings.

Parameters

  connection | the name of the connection, empty for default settings
  addrID | the applicable node, 0 for default settings

Returns
  the settings

## ◆ OrientationIsEnabled()

INERTIA_API bool inertia::OrientationIsEnabled | ( |  | ) |

Check if using orientation algorithms are enabled.

Returns
  true when enabled

## ◆ OrientationRemove()

INERTIA_API void inertia::OrientationRemove | ( | std::wstring const & | connection = std::wstring(),
|  | const unsigned | addrID = 0 )

Remove an orientation algorithm.

Parameters

  connection | the name of the connection, empty to remove all
  addrID | the applicable node, 0 to remove all

## ◆ OrientationSet()

INERTIA_API void inertia::OrientationSet | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | inertia::Quaternion const & | quat )

Set the orientation algorithm to a specific orientation.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  quat | the orientation to appy

## ◆ OrientationUpdate()

INERTIA_API void inertia::OrientationUpdate | ( | std::wstring const & | connection,
|  | const unsigned | addrID )

Create a new orientation algorithm, or reset an existing algorithm.

Parameters

  connection | the name of the connection
  addrID | the applicable node

## ◆ OrientationUpdateSettings()

INERTIA_API void inertia::OrientationUpdateSettings | ( | OrientationSettings const & | settings,
|  | std::wstring const & | connection = std::wstring(),
|  | const unsigned | addrID = 0,
|  | const bool | reset = true )

Update the Orientation Algorithm settings. If the OrientationAlgorithm is changed, all algorithms are reset.

Parameters

  settings | the settings to use
  connection | the name of the connection, empty for all connections
  addrID | the applicable node, 0 for all nodes
  reset | this will reset the Orientation Algorithm, setting a different algorithm will always reset it

## ◆ ReplayAddListener()

INERTIA_API void inertia::ReplayAddListener | ( | StreamListenerPtr const & | listener,
|  | std::wstring const & | filename = std::wstring() )

Add a listener for stream events to a replay. Use an empty name to add the listener as default listener, it will be used for all existing and new replays. If a filename of a replay is provided that is not (yet) started, the pointer to the listener is stored until the replay is started, or until the listener is removed.

Parameters

  listener | the class that receives stream events
  filename | the name of the replay file used in ReplayUpdate, empty for default listener

## ◆ ReplayGetProgress()

INERTIA_API unsigned inertia::ReplayGetProgress | ( | std::wstring const & | filename | ) |

The percentage of the file that has been read.

Parameters

  filename | name of file to check

Returns
  the percentage

## ◆ ReplayGetSamples()

INERTIA_API std::map< unsigned, std::vector< Sample > > const inertia::ReplayGetSamples | ( | std::wstring const & | filename,
|  | const unsigned | maxItems )

Get samples from a replay, when reading the file synchronous.

Parameters

  filename | to log file to read samples from
  maxItems | maximum number of samples to fetch

Returns
  map with addrID and vector of samples

## ◆ ReplayGetSourceInfo()

INERTIA_API LogWriterSourceInfo const inertia::ReplayGetSourceInfo | ( | std::wstring const & | filename | ) |

Get source file information encoded in the logfile. Requires at least 1 call to ReplayGetSamples() before info is available.

Parameters

  filename | to log file to get info from

Returns
  source info

## ◆ ReplayIsActive()

INERTIA_API bool inertia::ReplayIsActive | ( | std::wstring const & | filename | ) |

Check if a file is being read.

Parameters

  filename | name of file to check

Returns
  true when file is being read, false when file has not been read or has finished

## ◆ ReplayRemove()

INERTIA_API void inertia::ReplayRemove | ( | std::wstring const & | filename | ) |

Stop reading from given log file.

Parameters

  filename | name of file to stop reading

## ◆ ReplayRemoveListener()

INERTIA_API void inertia::ReplayRemoveListener | ( | StreamListenerPtr const & | listener,
|  | std::wstring const & | filename = std::wstring() )

Remove a listener for stream events from a replay.

Parameters

  listener | the class that receives stream events
  filename | the name of the replay file used in ReplayUpdate, empty for default listener

## ◆ ReplayUpdate()

INERTIA_API bool inertia::ReplayUpdate | ( | LogReaderSettings const & | settings | ) |

Read samples from given log reader settings.

Parameters

  settings | log reader settings

Returns
  false if updating failed

## ◆ SendCommand()

INERTIA_API bool inertia::SendCommand | ( | std::wstring const & | connection,
|  | InertiaCommands const & | command,
|  | const unsigned | addrID = ADDRESS_BROADCAST )

Send a command to a device.

Parameters

  connection | the name of the connection
  command | the command to send
  addrID | the applicable node, default is ADDRESS_BROADCAST for broadcast

Returns
  true when the command is successfully scheduled

## ◆ SendConfiguration()

INERTIA_API bool inertia::SendConfiguration | ( | std::wstring const & | connection,
|  | InertiaConfig const & | config,
|  | const unsigned | addrID = ADDRESS_BROADCAST )

Send a configuration to a device.

Parameters

  connection | the name of the connection
  config | the configuration to send
  addrID | the applicable node, default is ADDRESS_BROADCAST for broadcast

Returns
  true when the configuration is successfully scheduled

## ◆ SendServiceRequest()

INERTIA_API bool inertia::SendServiceRequest | ( | std::wstring const & | connection,
|  | ServiceRequest const & | service,
|  | const unsigned | addrID = ADDRESS_BROADCAST )

Send a service request to a device.

Parameters

  connection | the name of the connection
  service | the service request to send
  addrID | the applicable node, default is ADDRESS_BROADCAST for broadcast

Returns
  true when the service message is successfully scheduled

## ◆ SetAutoUpdateSensorSamplingRate()

INERTIA_API void inertia::SetAutoUpdateSensorSamplingRate | ( | const bool | enable | ) |

Enable automatically modifying an individual sensors sampling rate when the global sampling rate changes, so the sensors keep sampling at allowed sampling rates.

Parameters

  enable | true to automatically update the sampling rates

## ◆ SetUseRawADCSamples()

INERTIA_API void inertia::SetUseRawADCSamples | ( | const bool | enable | ) |

Set to use raw or converted ADC samples. By default, the ADC samples are converted to Voltage. Use this to enable or disable this conversion.

Parameters

  enable | Enable raw ADC Samples

## ◆ SplitCommandLine()

INERTIA_API std::vector< std::wstring > inertia::SplitCommandLine | ( | std::wstring const & | cmdLine | ) |

Split a command line string into separate arguments, separated by spaces.

Parameters

  cmdLine | the command line

Returns
  a vector with command strings

## ◆ UploadFlashGetActive()

INERTIA_API std::vector< std::wstring > inertia::UploadFlashGetActive | ( | std::wstring const & | connection,
|  | const unsigned | addrID )

Get a list of files being uploaded or queued. Use an empty connection name to get all files of all connections and nodes.

Parameters

  connection | the name of the connection
  addrID | the applicable node

Returns
  a vector with pending uploads

## ◆ UploadFlashStart()

INERTIA_API bool inertia::UploadFlashStart | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | std::wstring const & | flashname,
|  | std::wstring const & | filename )

Start uploading a file, or add it to the queue.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  flashname | the filename in the flash on the node
  filename | the file to upload

Returns
  true when successfully added

## ◆ UploadFlashStop()

INERTIA_API bool inertia::UploadFlashStop | ( | std::wstring const & | connection,
|  | const unsigned | addrID,
|  | std::wstring const & | flashname )

Cancel uploading a file, or remove it from the queue.

Parameters

  connection | the name of the connection
  addrID | the applicable node
  flashname | the file to cancel

Returns
  true when successfully canceled