MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace commands_base {
118 operator uint32_t()
const {
return value; }
202 static constexpr
const char*
NAME =
"Ping";
208 return std::make_tuple();
213 return std::make_tuple();
242 static constexpr
const char*
NAME =
"SetIdle";
243 static constexpr
const char*
DOC_NAME =
"Set to idle";
248 return std::make_tuple();
253 return std::make_tuple();
278 static constexpr
const char*
NAME =
"GetDeviceInfo";
279 static constexpr
const char*
DOC_NAME =
"Get device information";
284 return std::make_tuple();
289 return std::make_tuple();
305 static constexpr
const char*
NAME =
"GetDeviceInfo::Response";
306 static constexpr
const char*
DOC_NAME =
"Get device information Response";
344 static constexpr
const char*
NAME =
"GetDeviceDescriptors";
345 static constexpr
const char*
DOC_NAME =
"Get device descriptors";
350 return std::make_tuple();
355 return std::make_tuple();
372 static constexpr
const char*
NAME =
"GetDeviceDescriptors::Response";
373 static constexpr
const char*
DOC_NAME =
"Get device descriptors Response";
413 static constexpr
const char*
NAME =
"BuiltInTest";
414 static constexpr
const char*
DOC_NAME =
"Built in test";
419 return std::make_tuple();
424 return std::make_tuple();
440 static constexpr
const char*
NAME =
"BuiltInTest::Response";
441 static constexpr
const char*
DOC_NAME =
"Built in test Response";
446 return std::make_tuple(
result);
451 return std::make_tuple(std::ref(
result));
478 static constexpr
const char*
NAME =
"Resume";
484 return std::make_tuple();
489 return std::make_tuple();
517 static constexpr
const char*
NAME =
"GetExtendedDescriptors";
518 static constexpr
const char*
DOC_NAME =
"Get device descriptors (extended)";
523 return std::make_tuple();
528 return std::make_tuple();
545 static constexpr
const char*
NAME =
"GetExtendedDescriptors::Response";
546 static constexpr
const char*
DOC_NAME =
"Get device descriptors (extended) Response";
583 static constexpr
const char*
NAME =
"ContinuousBit";
584 static constexpr
const char*
DOC_NAME =
"Continuous built-in test";
589 return std::make_tuple();
594 return std::make_tuple();
610 static constexpr
const char*
NAME =
"ContinuousBit::Response";
611 static constexpr
const char*
DOC_NAME =
"Continuous built-in test Response";
616 return std::make_tuple(
result);
621 return std::make_tuple(std::ref(
result));
665 static constexpr
const char*
NAME =
"CommSpeed";
666 static constexpr
const char*
DOC_NAME =
"Comm Port Speed";
676 return std::make_tuple(std::ref(
port),std::ref(
baud));
701 static constexpr
const char*
NAME =
"CommSpeed::Response";
702 static constexpr
const char*
DOC_NAME =
"Comm Port Speed Response";
712 return std::make_tuple(std::ref(
port),std::ref(
baud));
755 static constexpr
const char*
NAME =
"GpsTimeUpdate";
756 static constexpr
const char*
DOC_NAME =
"GPS Time Update Command";
800 static constexpr
const char*
NAME =
"SoftReset";
801 static constexpr
const char*
DOC_NAME =
"Reset device";
806 return std::make_tuple();
811 return std::make_tuple();
TypedResult< SoftReset > softReset(C::mip_interface &device)
Definition: commands_base.cpp:470
TypedResult< GetDeviceDescriptors > getDeviceDescriptors(C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
Definition: commands_base.cpp:151
@ REPLY_GPS_CORRELATION_SECONDS
Definition: commands_base.hpp:49
void gnssReceiver1Fault(bool val)
Definition: commands_base.hpp:163
@ COMMS_FAULT
Definition: commands_base.hpp:93
uint16_t firmware_version
Parameters.
Definition: commands_base.hpp:62
Definition: commands_base.hpp:472
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:276
TypedResult< CommSpeed > defaultCommSpeed(C::mip_interface &device, uint8_t port)
Definition: commands_base.cpp:410
Definition: commands_base.hpp:79
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:584
CommandedTestBitsGq7 & operator=(int val)
Definition: commands_base.hpp:120
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:519
uint8_t port
Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to a...
Definition: commands_base.hpp:658
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
bool imuAccelFault() const
Definition: commands_base.hpp:142
auto asTuple()
Definition: commands_base.hpp:764
@ GNSS_ANTENNA1_FAULT
Definition: commands_base.hpp:105
uint32_t Type
Definition: commands_base.hpp:81
void extract(Serializer &serializer)
Definition: commands_base.cpp:434
void extract(Serializer &serializer)
Definition: commands_base.cpp:213
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:518
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:756
Definition: commands_base.hpp:236
void gnssAntenna1Fault(bool val)
Definition: commands_base.hpp:165
auto asTuple() const
Definition: commands_base.hpp:417
BaseDeviceInfo device_info
Parameters.
Definition: commands_base.hpp:299
auto asTuple()
Definition: commands_base.hpp:554
auto asTuple() const
Definition: commands_base.hpp:348
@ IMU_MAG_FAULT
Definition: commands_base.hpp:96
void extract(Serializer &serializer)
Definition: commands_base.cpp:144
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:543
@ CMD_GET_EXTENDED_DESCRIPTORS
Definition: commands_base.hpp:39
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:757
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:241
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:582
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:422
FunctionSelector function
Parameters.
Definition: commands_base.hpp:747
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:204
@ IMU_ACCEL_FAULT
Definition: commands_base.hpp:94
void filtReserved(uint32_t val)
Definition: commands_base.hpp:157
bool imuPressFault() const
Definition: commands_base.hpp:148
void extract(Serializer &serializer)
Definition: commands_base.cpp:226
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:330
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:585
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
Definition: commands_base.hpp:196
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:307
TypedResult< GetDeviceInfo > getDeviceInfo(C::mip_interface &device, BaseDeviceInfo *deviceInfoOut)
Definition: commands_base.cpp:110
bool imuMagFault() const
Definition: commands_base.hpp:146
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:201
@ CMD_COMM_SPEED
Definition: commands_base.hpp:41
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:801
TypedResult< CommSpeed > loadCommSpeed(C::mip_interface &device, uint8_t port)
Definition: commands_base.cpp:398
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:799
char serial_number[16]
Definition: commands_base.hpp:65
bool generalHardwareFault() const
Definition: commands_base.hpp:124
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:239
auto asTuple()
Definition: commands_base.hpp:619
CommandedTestBitsGq7(int val)
Definition: commands_base.hpp:117
auto asTuple()
Definition: commands_base.hpp:381
@ IPC_NAV_FAULT
Definition: commands_base.hpp:91
bool bufferOverrun() const
Definition: commands_base.hpp:130
bool commsFault() const
Definition: commands_base.hpp:140
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:280
FieldId
Definition: commands_base.hpp:740
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:476
void reserved(uint32_t val)
Definition: commands_base.hpp:133
Definition: commands_base.hpp:511
auto asTuple() const
Definition: commands_base.hpp:669
CommandedTestBitsGq7 & operator=(uint32_t val)
Definition: commands_base.hpp:119
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:699
Definition: commands_base.hpp:691
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:700
void Response
Definition: commands_base.hpp:780
void extract(Serializer &serializer)
Definition: commands_base.cpp:174
void timingOverload(bool val)
Definition: commands_base.hpp:129
uint32_t imuReserved() const
Definition: commands_base.hpp:150
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:612
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:231
auto asTuple() const
Definition: commands_base.hpp:482
static constexpr const char * NAME
Definition: commands_base.hpp:278
Definition: commands_base.hpp:535
@ IMU_CAL_ERROR
Definition: commands_base.hpp:99
auto asTuple() const
Definition: commands_base.hpp:705
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:546
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:798
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:77
CommandedTestBitsGq7 & operator&=(uint32_t val)
Definition: commands_base.hpp:122
auto asTuple()
Definition: commands_base.hpp:314
uint32_t baud
Port baud rate. Must be a supported rate.
Definition: commands_base.hpp:659
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:342
static constexpr const char * NAME
Definition: commands_base.hpp:413
void setAll()
Definition: commands_base.hpp:179
@ TIME_OF_WEEK
Time of week in seconds.
void extract(Serializer &serializer)
Definition: commands_base.cpp:184
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:411
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:304
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:752
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:345
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:373
uint32_t filtReserved() const
Definition: commands_base.hpp:156
@ IMU_GENERAL_FAULT
Definition: commands_base.hpp:100
auto asTuple() const
Definition: commands_base.hpp:246
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:581
@ CMD_GET_DEVICE_DESCRIPTORS
Definition: commands_base.hpp:36
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
Definition: commands_base.hpp:794
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:515
char device_options[16]
Definition: commands_base.hpp:67
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:698
Definition: commands_base.hpp:738
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:275
CommandedTestBitsGq7()
Definition: commands_base.hpp:116
@ IMU_RESERVED
Definition: commands_base.hpp:98
@ TIMING_OVERLOAD
Definition: commands_base.hpp:87
static constexpr const char * NAME
Definition: commands_base.hpp:665
bool filtSolutionFault() const
Definition: commands_base.hpp:158
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:346
auto asTuple() const
Definition: commands_base.hpp:444
void extract(Serializer &serializer)
Definition: commands_base.cpp:81
@ FILT_GENERAL_FAULT
Definition: commands_base.hpp:103
void extract(Serializer &serializer)
Definition: commands_base.cpp:94
void ipcNavFault(bool val)
Definition: commands_base.hpp:137
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:410
auto asTuple()
Definition: commands_base.hpp:287
void Response
Definition: commands_base.hpp:260
void imuReserved(uint32_t val)
Definition: commands_base.hpp:151
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:542
static constexpr const char * NAME
Definition: commands_base.hpp:372
uint8_t descriptors_count
Definition: commands_base.hpp:366
auto asTuple()
Definition: commands_base.hpp:710
void imuGeneralFault(bool val)
Definition: commands_base.hpp:155
TypedResult< ContinuousBit > continuousBit(C::mip_interface &device, uint8_t *resultOut)
Definition: commands_base.cpp:285
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:240
static constexpr const char * NAME
Definition: commands_base.hpp:701
@ CMD_SOFT_RESET
Definition: commands_base.hpp:43
static CommSpeed create_sld_all(::mip::FunctionSelector function)
Definition: commands_base.hpp:679
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:90
bool imuGyroFault() const
Definition: commands_base.hpp:144
void imuPressFault(bool val)
Definition: commands_base.hpp:149
static constexpr const char * NAME
Definition: commands_base.hpp:610
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:222
@ GNSS_ANTENNA2_FAULT
Definition: commands_base.hpp:107
bool gnssSolutionFault() const
Definition: commands_base.hpp:174
char model_name[16]
Definition: commands_base.hpp:63
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:667
uint32_t value
Definition: commands_base.hpp:114
auto asTuple() const
Definition: commands_base.hpp:309
uint32_t value
Week number or time of week, depending on the field_id.
Definition: commands_base.hpp:749
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:23
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:480
@ REPLY_DEVICE_INFO
Definition: commands_base.hpp:45
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:371
bool gnssRtkFault() const
Definition: commands_base.hpp:172
@ NONE
Definition: commands_base.hpp:84
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:441
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:272
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:609
Definition: commands_base.hpp:272
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:753
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:341
void extract(Serializer &serializer)
Definition: commands_base.cpp:278
static constexpr const char * NAME
Definition: commands_base.hpp:517
FunctionSelector
Definition: mip_descriptors.hpp:66
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:244
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:279
TypedResult< GetExtendedDescriptors > getExtendedDescriptors(C::mip_interface &device, uint16_t *descriptorsOut, size_t descriptorsOutMax, uint8_t *descriptorsOutCount)
Definition: commands_base.cpp:244
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:99
char lot_number[16]
Definition: commands_base.hpp:66
bool gnssReceiver1Fault() const
Definition: commands_base.hpp:162
@ GNSS_RECEIVER2_FAULT
Definition: commands_base.hpp:106
static constexpr const char * NAME
Definition: commands_base.hpp:583
void filtSolutionFault(bool val)
Definition: commands_base.hpp:159
auto asTuple()
Definition: commands_base.hpp:526
bool imuCalError() const
Definition: commands_base.hpp:152
void generalHardwareFault(bool val)
Definition: commands_base.hpp:125
auto asTuple()
Definition: commands_base.hpp:809
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:438
@ REPLY_CONTINUOUS_BIT
Definition: commands_base.hpp:51
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:580
auto asTuple()
Definition: commands_base.hpp:449
void gnssReceiver2Fault(bool val)
Definition: commands_base.hpp:167
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:305
Definition: commands_base.hpp:601
void commsFault(bool val)
Definition: commands_base.hpp:141
uint32_t reserved() const
Definition: commands_base.hpp:132
auto asTuple()
Definition: commands_base.hpp:422
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:664
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:663
bool generalFirmwareFault() const
Definition: commands_base.hpp:126
TypedResult< Ping > ping(C::mip_interface &device)
Definition: commands_base.cpp:73
Definition: commands_base.hpp:59
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:662
bool imuGeneralFault() const
Definition: commands_base.hpp:154
@ REPLY_DEVICE_DESCRIPTORS
Definition: commands_base.hpp:46
CommandedTestBitsGq7 & operator|=(uint32_t val)
Definition: commands_base.hpp:121
static constexpr const uint32_t ALL_PORTS
Definition: commands_base.hpp:655
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:199
void Response
Definition: commands_base.hpp:818
@ REPLY_COMM_SPEED
Definition: commands_base.hpp:52
bool filtGeneralFault() const
Definition: commands_base.hpp:160
void extract(Serializer &serializer)
Definition: commands_base.cpp:43
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:702
Definition: commands_base.hpp:407
void filtGeneralFault(bool val)
Definition: commands_base.hpp:161
static constexpr const char * NAME
Definition: commands_base.hpp:755
bool ipcNavFault() const
Definition: commands_base.hpp:136
uint32_t baud
Port baud rate. Must be a supported rate.
Definition: commands_base.hpp:695
uint8_t descriptors_count
Definition: commands_base.hpp:539
Definition: commands_base.hpp:577
bool gnssRtcmFailure() const
Definition: commands_base.hpp:170
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:607
TypedResult< CommSpeed > writeCommSpeed(C::mip_interface &device, uint8_t port, uint32_t baud)
Definition: commands_base.cpp:345
void ipcGnssFault(bool val)
Definition: commands_base.hpp:139
void Response
Definition: commands_base.hpp:220
bool timingOverload() const
Definition: commands_base.hpp:128
@ CMD_SET_TO_IDLE
Definition: commands_base.hpp:34
@ CMD_BUILT_IN_TEST
Definition: commands_base.hpp:37
static constexpr const char * NAME
Definition: commands_base.hpp:305
bool gnssAntenna2Fault() const
Definition: commands_base.hpp:168
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:277
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:666
@ GNSS_RTCM_FAILURE
Definition: commands_base.hpp:108
auto asTuple()
Definition: commands_base.hpp:592
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
void gnssRtkFault(bool val)
Definition: commands_base.hpp:173
void extract(Serializer &serializer)
Definition: commands_base.cpp:317
static constexpr const char * NAME
Definition: commands_base.hpp:202
void imuGyroFault(bool val)
Definition: commands_base.hpp:145
void bufferOverrun(bool val)
Definition: commands_base.hpp:131
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:209
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:415
auto asTuple()
Definition: commands_base.hpp:211
void imuAccelFault(bool val)
Definition: commands_base.hpp:143
@ CMD_GET_DEVICE_INFO
Definition: commands_base.hpp:35
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:477
bool allSet() const
Definition: commands_base.hpp:178
@ GNSS_RECEIVER1_FAULT
Definition: commands_base.hpp:104
@ IMU_PRESS_FAULT
Definition: commands_base.hpp:97
_enumType
Definition: commands_base.hpp:82
FieldId field_id
Determines how to interpret value.
Definition: commands_base.hpp:748
void gnssRtcmFailure(bool val)
Definition: commands_base.hpp:171
void Response
Definition: commands_base.hpp:496
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:303
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:370
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:64
uint16_t descriptors[253]
Parameters.
Definition: commands_base.hpp:365
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:797
void generalFirmwareFault(bool val)
Definition: commands_base.hpp:127
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:754
@ GNSS_RTK_FAULT
Definition: commands_base.hpp:109
@ GNSS_SOLUTION_FAULT
Definition: commands_base.hpp:110
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:611
TypedResult< SetIdle > setIdle(C::mip_interface &device)
Definition: commands_base.cpp:86
uint32_t result
Parameters.
Definition: commands_base.hpp:434
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:306
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:179
auto asTuple() const
Definition: commands_base.hpp:282
uint8_t port
Parameters.
Definition: commands_base.hpp:694
@ IPC_IMU_FAULT
Definition: commands_base.hpp:90
void extract(Serializer &serializer)
Definition: commands_base.cpp:68
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:703
TypedResult< Resume > resume(C::mip_interface &device)
Definition: commands_base.cpp:218
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:414
static constexpr const char * NAME
Definition: commands_base.hpp:478
void imuCalError(bool val)
Definition: commands_base.hpp:153
static GpsTimeUpdate create_sld_all(::mip::FunctionSelector function)
Definition: commands_base.hpp:769
static constexpr const char * NAME
Definition: commands_base.hpp:242
@ CMD_PING
Definition: commands_base.hpp:33
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:200
void imuMagFault(bool val)
Definition: commands_base.hpp:147
auto asTuple() const
Definition: commands_base.hpp:614
@ REPLY_GET_EXTENDED_DESCRIPTORS
Definition: commands_base.hpp:50
auto asTuple()
Definition: commands_base.hpp:674
@ FILT_RESERVED
Definition: commands_base.hpp:101
auto asTuple() const
Definition: commands_base.hpp:759
bool gnssGeneralFault() const
Definition: commands_base.hpp:176
@ IMU_GYRO_FAULT
Definition: commands_base.hpp:95
static constexpr const char * NAME
Definition: commands_base.hpp:545
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:129
void gnssAntenna2Fault(bool val)
Definition: commands_base.hpp:169
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:243
static constexpr const char * NAME
Definition: commands_base.hpp:800
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:442
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:514
auto asTuple() const
Definition: commands_base.hpp:549
@ GENERAL_FIRMWARE_FAULT
Definition: commands_base.hpp:86
auto asTuple() const
Definition: commands_base.hpp:206
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:479
static constexpr const char * NAME
Definition: commands_base.hpp:440
auto asTuple() const
Definition: commands_base.hpp:804
FunctionSelector function
Parameters.
Definition: commands_base.hpp:657
@ REPLY_GPS_CORRELATION_WEEK
Definition: commands_base.hpp:48
Definition: commands_base.hpp:338
void gnssSolutionFault(bool val)
Definition: commands_base.hpp:175
void extract(Serializer &serializer)
Definition: commands_base.cpp:337
void extract(Serializer &serializer)
Definition: commands_base.cpp:267
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:547
Definition: commands_base.hpp:431
@ REPLY_BUILT_IN_TEST
Definition: commands_base.hpp:47
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:802
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:412
auto asTuple() const
Definition: commands_base.hpp:587
@ BUFFER_OVERRUN
Definition: commands_base.hpp:88
@ CMD_RESUME
Definition: commands_base.hpp:38
void extract(Serializer &serializer)
Definition: commands_base.cpp:133
@ FILT_SOLUTION_FAULT
Definition: commands_base.hpp:102
@ WEEK_NUMBER
Week number.
bool gnssAntenna1Fault() const
Definition: commands_base.hpp:164
Definition: commands_base.hpp:362
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:21
@ GPS
GPS time, a = week number since 1980, b = time of week in milliseconds.
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:263
TypedResult< BuiltInTest > builtInTest(C::mip_interface &device, uint32_t *resultOut)
Definition: commands_base.cpp:190
TypedResult< GpsTimeUpdate > writeGpsTimeUpdate(C::mip_interface &device, GpsTimeUpdate::FieldId fieldId, uint32_t value)
Definition: commands_base.cpp:447
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:170
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:138
static constexpr const char * NAME
Definition: commands_base.hpp:344
uint8_t result[16]
Parameters.
Definition: commands_base.hpp:604
@ DESCRIPTOR_SET
Definition: commands_base.hpp:31
@ IPC_GNSS_FAULT
Definition: commands_base.hpp:92
uint16_t descriptors[253]
Parameters.
Definition: commands_base.hpp:538
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:439
void ipcImuFault(bool val)
Definition: commands_base.hpp:135
@ GENERAL_HARDWARE_FAULT
Definition: commands_base.hpp:85
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:475
void insert(Serializer &serializer) const
Serialization.
Definition: commands_base.cpp:461
TypedResult< CommSpeed > readCommSpeed(C::mip_interface &device, uint8_t port, uint32_t *baudOut)
Definition: commands_base.cpp:359
char model_number[16]
Definition: commands_base.hpp:64
auto asTuple() const
Definition: commands_base.hpp:521
auto asTuple()
Definition: commands_base.hpp:251
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:343
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:544
@ RESERVED
Definition: commands_base.hpp:89
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:302
bool ipcImuFault() const
Definition: commands_base.hpp:134
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:61
TypedResult< CommSpeed > saveCommSpeed(C::mip_interface &device, uint8_t port)
Definition: commands_base.cpp:386
bool ipcGnssFault() const
Definition: commands_base.hpp:138
Definition: commands_base.hpp:296
static constexpr const char * DOC_NAME
Definition: commands_base.hpp:203
void extract(Serializer &serializer)
Definition: commands_base.cpp:465
@ CMD_GPS_TIME_UPDATE
Definition: commands_base.hpp:42
@ CMD_CONTINUOUS_BIT
Definition: commands_base.hpp:40
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_base.hpp:374
void extract(Serializer &serializer)
Definition: commands_base.cpp:104
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:97
bool gnssReceiver2Fault() const
Definition: commands_base.hpp:166
auto asTuple()
Definition: commands_base.hpp:353
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:437
void gnssGeneralFault(bool val)
Definition: commands_base.hpp:177
@ ALL
Definition: commands_base.hpp:112
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_base.hpp:516
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_base.hpp:369
Definition: commands_base.hpp:653
void extract(Serializer &serializer)
Definition: commands_base.cpp:237
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_base.hpp:608
auto asTuple() const
Definition: commands_base.hpp:376
auto asTuple()
Definition: commands_base.hpp:487
TimeFormat
Definition: commands_base.hpp:74
@ GNSS_GENERAL_FAULT
Definition: commands_base.hpp:111