MIP_SDK
v3.0.0
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace commands_gnss {
46 static constexpr
const uint16_t GNSS_GPS_ENABLE_L1CA = 0x0001;
47 static constexpr
const uint16_t GNSS_GPS_ENABLE_L2C = 0x0002;
48 static constexpr
const uint16_t GNSS_GPS_ENABLE_L5 = 0x0004;
49 static constexpr
const uint16_t GNSS_GLONASS_ENABLE_L1OF = 0x0001;
50 static constexpr
const uint16_t GNSS_GLONASS_ENABLE_L2OF = 0x0002;
51 static constexpr
const uint16_t GNSS_GALILEO_ENABLE_E1 = 0x0001;
52 static constexpr
const uint16_t GNSS_GALILEO_ENABLE_E5B = 0x0002;
53 static constexpr
const uint16_t GNSS_GALILEO_ENABLE_E5A = 0x0004;
54 static constexpr
const uint16_t GNSS_BEIDOU_ENABLE_B1 = 0x0001;
55 static constexpr
const uint16_t GNSS_BEIDOU_ENABLE_B2 = 0x0002;
56 static constexpr
const uint16_t GNSS_BEIDOU_ENABLE_B2A = 0x0004;
87 static constexpr
const char*
NAME =
"ReceiverInfo";
88 static constexpr
const char*
DOC_NAME =
"ReceiverInfo";
93 return std::make_tuple();
98 return std::make_tuple();
115 static constexpr
const char*
NAME =
"ReceiverInfo::Response";
116 static constexpr
const char*
DOC_NAME =
"ReceiverInfo Response";
160 static constexpr
const char*
NAME =
"SignalConfiguration";
161 static constexpr
const char*
DOC_NAME =
"SignalConfiguration";
198 static constexpr
const char*
NAME =
"SignalConfiguration::Response";
199 static constexpr
const char*
DOC_NAME =
"SignalConfiguration Response";
244 static constexpr
const char*
NAME =
"RtkDongleConfiguration";
245 static constexpr
const char*
DOC_NAME =
"RtkDongleConfiguration";
279 static constexpr
const char*
NAME =
"RtkDongleConfiguration::Response";
280 static constexpr
const char*
DOC_NAME =
"RtkDongleConfiguration Response";
FunctionSelector function
Parameters.
Definition: commands_gnss.hpp:236
char description[32]
Ascii description of receiver. Contains the following info (comma-delimited): Module name/model Fir...
Definition: commands_gnss.hpp:76
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:245
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:159
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:158
@ CMD_RTK_DONGLE_CONFIGURATION
Definition: commands_gnss.hpp:35
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:259
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:277
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:197
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:112
auto asTuple()
Definition: commands_gnss.hpp:169
auto asTuple() const
Definition: commands_gnss.hpp:119
uint8_t reserved[3]
Definition: commands_gnss.hpp:273
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:84
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:195
auto asTuple()
Definition: commands_gnss.hpp:288
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:246
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:33
@ REPLY_RTK_DONGLE_CONFIGURATION
Definition: commands_gnss.hpp:39
uint8_t galileo_enable
Bitfield 0: Enable E1, 1: Enable E5B, 2: Enable E5A.
Definition: commands_gnss.hpp:152
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:278
static constexpr const char * NAME
Definition: commands_gnss.hpp:87
TypedResult< SignalConfiguration > loadSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:226
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:242
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:89
uint8_t reserved[4]
Definition: commands_gnss.hpp:192
auto asTuple()
Definition: commands_gnss.hpp:207
auto asTuple() const
Definition: commands_gnss.hpp:283
uint8_t reserved[4]
Definition: commands_gnss.hpp:154
static constexpr const char * NAME
Definition: commands_gnss.hpp:244
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:53
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:113
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:85
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:61
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
FunctionSelector function
Parameters.
Definition: commands_gnss.hpp:149
Definition: commands_gnss.hpp:269
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:157
uint8_t enable
Parameters.
Definition: commands_gnss.hpp:272
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:86
auto asTuple() const
Definition: commands_gnss.hpp:248
uint8_t num_receivers
Parameters.
Definition: commands_gnss.hpp:108
uint8_t galileo_enable
Bitfield 0: Enable E1, 1: Enable E5B, 2: Enable E5A.
Definition: commands_gnss.hpp:190
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:241
TypedResult< SignalConfiguration > defaultSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:236
TypedResult< RtkDongleConfiguration > readRtkDongleConfiguration(C::mip_interface &device, uint8_t *enableOut, uint8_t *reservedOut)
Definition: commands_gnss.cpp:306
uint8_t reserved[3]
Definition: commands_gnss.hpp:238
@ DESCRIPTOR_SET
Definition: commands_gnss.hpp:31
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:44
auto asTuple()
Definition: commands_gnss.hpp:124
Info receiver_info[5]
Definition: commands_gnss.hpp:109
@ CMD_LIST_RECEIVERS
Definition: commands_gnss.hpp:33
Definition: commands_gnss.hpp:185
Definition: commands_gnss.hpp:69
TypedResult< RtkDongleConfiguration > loadRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:343
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:281
FunctionSelector
Definition: mip_descriptors.hpp:68
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:114
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:162
static SignalConfiguration create_sld_all(::mip::FunctionSelector function)
Definition: commands_gnss.hpp:174
@ REPLY_LIST_RECEIVERS
Definition: commands_gnss.hpp:37
static constexpr const char * NAME
Definition: commands_gnss.hpp:115
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:200
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:273
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:199
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:276
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:161
TypedResult< SignalConfiguration > writeSignalConfiguration(C::mip_interface &device, uint8_t gpsEnable, uint8_t glonassEnable, uint8_t galileoEnable, uint8_t beidouEnable, const uint8_t *reserved)
Definition: commands_gnss.cpp:158
auto asTuple() const
Definition: commands_gnss.hpp:91
TypedResult< RtkDongleConfiguration > saveRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:333
uint8_t beidou_enable
Bitfield 0: Enable B1, 1: Enable B2, 2: Enable B2A.
Definition: commands_gnss.hpp:191
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:143
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:88
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:196
Definition: commands_gnss.hpp:233
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:109
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:281
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:48
auto asTuple() const
Definition: commands_gnss.hpp:202
static constexpr const char * NAME
Definition: commands_gnss.hpp:160
Definition: commands_gnss.hpp:71
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:243
auto asTuple()
Definition: commands_gnss.hpp:253
TypedResult< RtkDongleConfiguration > writeRtkDongleConfiguration(C::mip_interface &device, uint8_t enable, const uint8_t *reserved)
Definition: commands_gnss.cpp:290
uint8_t mip_data_descriptor_set
MIP descriptor set associated with this receiver.
Definition: commands_gnss.hpp:75
static RtkDongleConfiguration create_sld_all(::mip::FunctionSelector function)
Definition: commands_gnss.hpp:258
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:280
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:246
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:23
uint8_t glonass_enable
Bitfield 0: Enable L1OF, 1: Enable L2OF.
Definition: commands_gnss.hpp:151
uint8_t gps_enable
Parameters.
Definition: commands_gnss.hpp:188
uint8_t gps_enable
Bitfield 0: Enable L1CA, 1: Enable L2C, 2: Enable L5.
Definition: commands_gnss.hpp:150
auto asTuple() const
Definition: commands_gnss.hpp:164
TypedResult< RtkDongleConfiguration > defaultRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:353
auto asTuple()
Definition: commands_gnss.hpp:96
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:90
TypedResult< SignalConfiguration > readSignalConfiguration(C::mip_interface &device, uint8_t *gpsEnableOut, uint8_t *glonassEnableOut, uint8_t *galileoEnableOut, uint8_t *beidouEnableOut, uint8_t *reservedOut)
Definition: commands_gnss.cpp:180
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:117
Definition: commands_gnss.hpp:105
TypedResult< SignalConfiguration > saveSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:216
@ CMD_SIGNAL_CONFIGURATION
Definition: commands_gnss.hpp:34
TypedResult< ReceiverInfo > receiverInfo(C::mip_interface &device, uint8_t *numReceiversOut, uint8_t numReceiversOutMax, ReceiverInfo::Info *receiverInfoOut)
Definition: commands_gnss.cpp:69
uint8_t glonass_enable
Bitfield 0: Enable L1OF, 1: Enable L2OF.
Definition: commands_gnss.hpp:189
static constexpr const char * NAME
Definition: commands_gnss.hpp:198
Definition: commands_gnss.hpp:146
uint8_t beidou_enable
Bitfield 0: Enable B1, 1: Enable B2, 2: Enable B2A.
Definition: commands_gnss.hpp:153
uint8_t receiver_id
Parameters.
Definition: commands_gnss.hpp:74
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:129
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:100
@ REPLY_SIGNAL_CONFIGURATION
Definition: commands_gnss.hpp:38
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:116
uint8_t enable
0 - Disabled, 1- Enabled
Definition: commands_gnss.hpp:237
static constexpr const char * NAME
Definition: commands_gnss.hpp:279