MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
19 "commands_base::Ping",
21 "Test Communications with a device.\n\nThe Device will respond with an ACK, if present and operating correctly.\n\nIf the device is not in a normal operating mode, it may NACK.",
36 "commands_base::SetIdle",
38 "Turn off all device data streams.\n\nThe Device will respond with an ACK, if present and operating correctly.\nThis command will suspend streaming (if enabled) or wake the device from sleep (if sleeping) to allow it to respond to status and setup commands.\nYou may restore the device mode by issuing the Resume command.",
128 {
true,
false,
false,
false,
false},
135 "commands_base::GetDeviceInfo::Response",
152 "commands_base::GetDeviceInfo",
153 "Get device information",
154 "Get the device ID strings and firmware version number.",
174 {
true,
false,
false,
false,
false},
183 {
false,
false,
false,
false,
false,
false,
true},
190 "commands_base::GetDeviceDescriptors::Response",
207 "commands_base::GetDeviceDescriptors",
208 "Get device descriptors",
209 "Get the command and data descriptors supported by the device.\n\nReply has two fields: 'ACK/NACK' and 'Descriptors'. The 'Descriptors' field is an array of 16 bit values.\nThe MSB specifies the descriptor set and the LSB specifies the descriptor.",
229 {
true,
false,
false,
false,
false},
236 "commands_base::BuiltInTest::Response",
253 "commands_base::BuiltInTest",
255 "Run the device Built-In Test (BIT).\n\nThe Built-In Test command always returns a 32 bit value.\nA value of 0 means that all tests passed.\nA non-zero value indicates that not all tests passed.\nReference the device user manual to decode the result.",
270 "commands_base::Resume",
272 "Take the device out of idle mode.\n\nThe device responds with ACK upon success.",
282 struct MetadataFor<commands_base::GetExtendedDescriptors::Response>
292 {
true,
false,
false,
false,
false},
301 {
false,
false,
false,
false,
false,
false,
true},
308 "commands_base::GetExtendedDescriptors::Response",
325 "commands_base::GetExtendedDescriptors",
326 "Get device descriptors (extended)",
327 "Get the command and data descriptors supported by the device.\n\nReply has two fields: 'ACK/NACK' and 'Descriptors'. The 'Descriptors' field is an array of 16 bit values.\nThe MSB specifies the descriptor set and the LSB specifies the descriptor.",
344 "Device-specific bitfield (128 bits). See device user manual.\nBits are least-significant-byte first. For example, bit 0 is\nlocated at bit 0 of result[0], bit 1 is located at bit 1 of result[0],\nbit 8 is located at bit 0 of result[1], and bit 127 is located at bit\n7 of result[15].",
347 {
true,
false,
false,
false,
false},
354 "commands_base::ContinuousBit::Response",
371 "commands_base::ContinuousBit",
372 "Continuous built-in test",
373 "Report result of continuous built-in test.\n\nThis test is non-disruptive but is not as thorough as the commanded BIT.",
390 "Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all ports. See the device user manual for details.",
393 {
true,
true,
true,
true,
true,
true},
399 "Port baud rate. Must be a supported rate.",
402 {
true,
false,
false,
false,
false},
409 "commands_base::CommSpeed::Response",
426 FUNCTION_SELECTOR_PARAM,
429 "Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all ports. See the device user manual for details.",
432 {
true,
true,
true,
true,
true,
true},
438 "Port baud rate. Must be a supported rate.",
441 {
true,
false,
false,
false,
false},
448 "commands_base::CommSpeed",
450 "Controls the baud rate of a specific port on the device.\n\nPlease see the device user manual for supported baud rates on each port.\n\nThe device will wait until all incoming and outgoing data has been sent, up\nto a maximum of 250 ms, before applying any change.\n\nNo guarantee is provided as to what happens to commands issued during this\ndelay period; They may or may not be processed and any responses aren't\nguaranteed to be at one rate or the other. The same applies to data packets.\n\nIt is highly recommended that the device be idle before issuing this command\nand that it be issued in its own packet. Users should wait 250 ms after\nsending this command before further interaction.",
453 {
true,
true,
true,
true,
true},
465 { uint32_t(1),
"WEEK_NUMBER",
"Week number." },
466 { uint32_t(2),
"TIME_OF_WEEK",
"Time of week in seconds." },
484 FUNCTION_SELECTOR_PARAM,
487 "Determines how to interpret value.",
490 {
true,
false,
false,
false,
false},
496 "Week number or time of week, depending on the field_id.",
499 {
true,
false,
false,
false,
false},
506 "commands_base::GpsTimeUpdate",
507 "GPS Time Update Command",
508 "Set device internal GPS time\nWhen combined with a PPS input signal applied to the I/O connector, this command enables complete synchronization of data outputs\nwith an external time base, such as GPS system time. Since the hardware PPS synchronization can only detect the fractional number of seconds when pulses arrive,\ncomplete synchronization requires that the user provide the whole number of seconds via this command. After achieving PPS synchronization, this command should be sent twice: once to set the time-of-week and once to set the week number. PPS synchronization can be verified by monitoring the time sync status message (0xA0, 0x02) or the valid flags of any shared external timestamp (0x--, D7) data field.",
511 {
true,
false,
false,
false,
false},
523 "commands_base::SoftReset",
525 "Resets the device.\n\nDevice responds with ACK and immediately resets.",
535 static constexpr
inline std::initializer_list<const FieldInfo*> COMMANDS_BASE = {
Definition: commands_base.hpp:472
Definition: commands_base.hpp:236
Definition: commands_base.hpp:196
static constexpr FieldInfo value
Definition: commands_base.hpp:307
FieldId
Definition: commands_base.hpp:740
Definition: commands_base.hpp:511
Definition: commands_base.hpp:691
Definition: commands_base.hpp:535
Definition: commands_base.hpp:794
Definition: commands_base.hpp:738
static constexpr FieldInfo value
Definition: commands_base.hpp:324
Definition: mip_structures.hpp:67
Definition: commands_base.hpp:272
Definition: commands_base.hpp:601
Definition: commands_base.hpp:59
Definition: commands_base.hpp:407
Definition: commands_base.hpp:577
Represents an index ranging from 0..N excluding N.
Definition: index.hpp:28
Definition: commands_base.hpp:338
Definition: commands_base.hpp:431
Definition: commands_base.hpp:362
Definition: commands_base.hpp:296
Definition: commands_base.hpp:653