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.0). More...

structImportDataMessage

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

structPlatformStorageDataMessage

Message for reporting platform storage data (MessageType::PLATFORM_STORAGE_DATA, version 1.0). 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 1353 of file configuration.h.

1353enum class DataType : uint8_t {
1355 CRASH_LOG = 1,
1356 FILTER_STATE = 2,
1357 USER_CONFIG = 3,
1358 INVALID = 255
1359};

Operators

operator<<()

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

DataType stream operator.

Definition at line 1390 of file configuration.h.

1391 stream << to_string(val) << " (" << (int)val << ")";
1392 return stream;
1393}

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 1369 of file configuration.h.

1370 switch (type) {
1372 return "CalibrationState";
1374 return "CrashLog";
1376 return "FilterState";
1378 return "UserConfig";
1380 return "Invalid";
1381 }
1382
1383 return "Unrecognized";
1384}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.