Skip to main content

Device Configuration Import/Export

Messages for importing/exporting device configuration. More...

Classes Index

structExportDataMessage

Export data from the device (MessageType::EXPORT_DATA, version 1). More...

structImportDataMessage

Import data from the host to the device (MessageType::IMPORT_DATA, version 1). More...

structPlatformStorageDataMessage

Message for reporting platform storage data (MessageType::PLATFORM_STORAGE_DATA, version 1). More...

Enumerations Index

enum classDataType : uint8_t { ... }

Type of data stored on device. More...

Operators Index

p1_ostream &operator<< (p1_ostream &stream, DataType val)

DataType stream operator. More...

Functions Index

P1_CONSTEXPR_FUNC const char *to_string (DataType type)

Get a string representation of a DataType. More...

Description

Messages for importing/exporting device configuration.

See also Device Configuration Settings Control.

Enumerations

DataType

enum class point_one::fusion_engine::messages::DataType : uint8_t
strong

Type of data stored on device.

Enumeration values
CALIBRATION_STATE (= 0)
CRASH_LOG (= 1)
FILTER_STATE (= 2)
USER_CONFIG (= 3)
INVALID (= 255)

Definition at line 1350 of file configuration.h.

1350enum class DataType : uint8_t {
1352 CRASH_LOG = 1,
1353 FILTER_STATE = 2,
1354 USER_CONFIG = 3,
1355 INVALID = 255
1356};

Operators

operator<<()

p1_ostream & point_one::fusion_engine::messages::operator<< (p1_ostream & stream, DataType val)
inline

DataType stream operator.

Definition at line 1387 of file configuration.h.

1388 stream << to_string(val) << " (" << (int)val << ")";
1389 return stream;
1390}

Functions

to_string()

P1_CONSTEXPR_FUNC const char * point_one::fusion_engine::messages::to_string (DataType type)

Get a string representation of a DataType.

Parameters
type

The requested type.

Returns

The corresponding string name.

Definition at line 1366 of file configuration.h.

1367 switch (type) {
1369 return "CalibrationState";
1371 return "CrashLog";
1373 return "FilterState";
1375 return "UserConfig";
1377 return "Invalid";
1378 }
1379
1380 return "Unrecognized";
1381}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.