MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
commands_gnss.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 #include <mip/mip_result.hpp>
6 #include <mip/mip_interface.hpp>
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 
11 namespace mip {
12 namespace C {
13 struct mip_interface;
14 } // namespace C
15 
16 namespace commands_gnss {
17 
24 
26 // Descriptors
28 
29 enum
30 {
32 
36 
40 };
41 
43 // Shared Type Definitions
45 
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;
57 
59 // Mip Fields
61 
68 
70 {
71  struct Info
72  {
74  uint8_t receiver_id = 0;
76  char description[32] = {0};
77 
79  void insert(Serializer& serializer) const;
80  void extract(Serializer& serializer);
81 
82  };
84  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
87  static constexpr const char* NAME = "ReceiverInfo";
88  static constexpr const char* DOC_NAME = "ReceiverInfo";
89  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
90 
91  auto asTuple() const
92  {
93  return std::make_tuple();
94  }
95 
96  auto asTuple()
97  {
98  return std::make_tuple();
99  }
100 
102  void insert(Serializer& serializer) const;
103  void extract(Serializer& serializer);
104 
105  struct Response
106  {
108  uint8_t num_receivers = 0;
110 
112  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
115  static constexpr const char* NAME = "ReceiverInfo::Response";
116  static constexpr const char* DOC_NAME = "ReceiverInfo Response";
117  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
118 
119  auto asTuple() const
120  {
121  return std::make_tuple(num_receivers,receiver_info);
122  }
123 
124  auto asTuple()
125  {
126  return std::make_tuple(std::ref(num_receivers),std::ref(receiver_info));
127  }
128 
130  void insert(Serializer& serializer) const;
131  void extract(Serializer& serializer);
132 
133  };
134 };
135 TypedResult<ReceiverInfo> receiverInfo(C::mip_interface& device, uint8_t* numReceiversOut, uint8_t numReceiversOutMax, ReceiverInfo::Info* receiverInfoOut);
136 
145 
147 {
149  FunctionSelector function = static_cast<FunctionSelector>(0);
150  uint8_t gps_enable = 0;
151  uint8_t glonass_enable = 0;
152  uint8_t galileo_enable = 0;
153  uint8_t beidou_enable = 0;
154  uint8_t reserved[4] = {0};
155 
157  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
160  static constexpr const char* NAME = "SignalConfiguration";
161  static constexpr const char* DOC_NAME = "SignalConfiguration";
162  static constexpr const bool HAS_FUNCTION_SELECTOR = true;
163 
164  auto asTuple() const
165  {
167  }
168 
169  auto asTuple()
170  {
171  return std::make_tuple(std::ref(gps_enable),std::ref(glonass_enable),std::ref(galileo_enable),std::ref(beidou_enable),std::ref(reserved));
172  }
173 
175  {
177  cmd.function = function;
178  return cmd;
179  }
180 
182  void insert(Serializer& serializer) const;
183  void extract(Serializer& serializer);
184 
185  struct Response
186  {
188  uint8_t gps_enable = 0;
189  uint8_t glonass_enable = 0;
190  uint8_t galileo_enable = 0;
191  uint8_t beidou_enable = 0;
192  uint8_t reserved[4] = {0};
193 
195  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
198  static constexpr const char* NAME = "SignalConfiguration::Response";
199  static constexpr const char* DOC_NAME = "SignalConfiguration Response";
200  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
201 
202  auto asTuple() const
203  {
205  }
206 
207  auto asTuple()
208  {
209  return std::make_tuple(std::ref(gps_enable),std::ref(glonass_enable),std::ref(galileo_enable),std::ref(beidou_enable),std::ref(reserved));
210  }
211 
213  void insert(Serializer& serializer) const;
214  void extract(Serializer& serializer);
215 
216  };
217 };
218 TypedResult<SignalConfiguration> writeSignalConfiguration(C::mip_interface& device, uint8_t gpsEnable, uint8_t glonassEnable, uint8_t galileoEnable, uint8_t beidouEnable, const uint8_t* reserved);
219 TypedResult<SignalConfiguration> readSignalConfiguration(C::mip_interface& device, uint8_t* gpsEnableOut, uint8_t* glonassEnableOut, uint8_t* galileoEnableOut, uint8_t* beidouEnableOut, uint8_t* reservedOut);
223 
232 
234 {
236  FunctionSelector function = static_cast<FunctionSelector>(0);
237  uint8_t enable = 0;
238  uint8_t reserved[3] = {0};
239 
241  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
244  static constexpr const char* NAME = "RtkDongleConfiguration";
245  static constexpr const char* DOC_NAME = "RtkDongleConfiguration";
246  static constexpr const bool HAS_FUNCTION_SELECTOR = true;
247 
248  auto asTuple() const
249  {
250  return std::make_tuple(enable,reserved);
251  }
252 
253  auto asTuple()
254  {
255  return std::make_tuple(std::ref(enable),std::ref(reserved));
256  }
257 
259  {
261  cmd.function = function;
262  return cmd;
263  }
264 
266  void insert(Serializer& serializer) const;
267  void extract(Serializer& serializer);
268 
269  struct Response
270  {
272  uint8_t enable = 0;
273  uint8_t reserved[3] = {0};
274 
276  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_gnss::DESCRIPTOR_SET;
279  static constexpr const char* NAME = "RtkDongleConfiguration::Response";
280  static constexpr const char* DOC_NAME = "RtkDongleConfiguration Response";
281  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
282 
283  auto asTuple() const
284  {
285  return std::make_tuple(enable,reserved);
286  }
287 
288  auto asTuple()
289  {
290  return std::make_tuple(std::ref(enable),std::ref(reserved));
291  }
292 
294  void insert(Serializer& serializer) const;
295  void extract(Serializer& serializer);
296 
297  };
298 };
299 TypedResult<RtkDongleConfiguration> writeRtkDongleConfiguration(C::mip_interface& device, uint8_t enable, const uint8_t* reserved);
300 TypedResult<RtkDongleConfiguration> readRtkDongleConfiguration(C::mip_interface& device, uint8_t* enableOut, uint8_t* reservedOut);
304 
307 
312 } // namespace commands_gnss
313 } // namespace mip
314 
mip::commands_gnss::RtkDongleConfiguration::function
FunctionSelector function
Parameters.
Definition: commands_gnss.hpp:236
mip::commands_gnss::ReceiverInfo::Info::description
char description[32]
Ascii description of receiver. Contains the following info (comma-delimited): Module name/model Fir...
Definition: commands_gnss.hpp:76
mip::commands_gnss::RtkDongleConfiguration::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:245
mip::commands_gnss::SignalConfiguration::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:159
mip::commands_gnss::SignalConfiguration::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:158
mip::commands_gnss::CMD_RTK_DONGLE_CONFIGURATION
@ CMD_RTK_DONGLE_CONFIGURATION
Definition: commands_gnss.hpp:35
mip::commands_gnss::RtkDongleConfiguration::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:259
mip::commands_gnss::RtkDongleConfiguration::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:277
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::commands_gnss::SignalConfiguration::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:197
mip::commands_gnss::ReceiverInfo::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:112
mip::commands_gnss::SignalConfiguration::asTuple
auto asTuple()
Definition: commands_gnss.hpp:169
mip::commands_gnss::ReceiverInfo::Response::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:119
mip_descriptors.hpp
mip::commands_gnss::RtkDongleConfiguration::Response::reserved
uint8_t reserved[3]
Definition: commands_gnss.hpp:273
mip::commands_gnss::ReceiverInfo::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:84
microstrain::Serializer
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
mip::commands_gnss::SignalConfiguration::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:195
mip::commands_gnss::RtkDongleConfiguration::Response::asTuple
auto asTuple()
Definition: commands_gnss.hpp:288
mip::commands_gnss::RtkDongleConfiguration::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:246
mip::commands_gnss::ReceiverInfo::Info::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:33
mip::commands_gnss::REPLY_RTK_DONGLE_CONFIGURATION
@ REPLY_RTK_DONGLE_CONFIGURATION
Definition: commands_gnss.hpp:39
mip::commands_gnss::SignalConfiguration::galileo_enable
uint8_t galileo_enable
Bitfield 0: Enable E1, 1: Enable E5B, 2: Enable E5A.
Definition: commands_gnss.hpp:152
mip::commands_gnss::RtkDongleConfiguration::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:278
mip::commands_gnss::ReceiverInfo::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:87
mip::commands_gnss::loadSignalConfiguration
TypedResult< SignalConfiguration > loadSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:226
mip::commands_gnss::RtkDongleConfiguration::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:242
mip::commands_gnss::ReceiverInfo::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:89
mip::commands_gnss::SignalConfiguration::Response::reserved
uint8_t reserved[4]
Definition: commands_gnss.hpp:192
mip::commands_gnss::SignalConfiguration::Response::asTuple
auto asTuple()
Definition: commands_gnss.hpp:207
mip::commands_gnss::RtkDongleConfiguration::Response::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:283
mip::commands_gnss::SignalConfiguration::reserved
uint8_t reserved[4]
Definition: commands_gnss.hpp:154
mip::commands_gnss::RtkDongleConfiguration::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:244
mip::commands_gnss::ReceiverInfo::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:53
mip::commands_gnss::ReceiverInfo::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:113
mip::commands_gnss::ReceiverInfo::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:85
mip::commands_gnss::ReceiverInfo::Response::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:61
mip::C::mip_interface
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
mip::commands_gnss::SignalConfiguration::function
FunctionSelector function
Parameters.
Definition: commands_gnss.hpp:149
mip::commands_gnss::RtkDongleConfiguration::Response
Definition: commands_gnss.hpp:269
mip::commands_gnss::SignalConfiguration::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:157
mip::commands_gnss::RtkDongleConfiguration::Response::enable
uint8_t enable
Parameters.
Definition: commands_gnss.hpp:272
mip::commands_gnss::ReceiverInfo::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:86
mip::commands_gnss::RtkDongleConfiguration::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:248
mip::commands_gnss::ReceiverInfo::Response::num_receivers
uint8_t num_receivers
Parameters.
Definition: commands_gnss.hpp:108
mip::commands_gnss::SignalConfiguration::Response::galileo_enable
uint8_t galileo_enable
Bitfield 0: Enable E1, 1: Enable E5B, 2: Enable E5A.
Definition: commands_gnss.hpp:190
mip::commands_gnss::RtkDongleConfiguration::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:241
mip::commands_gnss::defaultSignalConfiguration
TypedResult< SignalConfiguration > defaultSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:236
mip::commands_gnss::readRtkDongleConfiguration
TypedResult< RtkDongleConfiguration > readRtkDongleConfiguration(C::mip_interface &device, uint8_t *enableOut, uint8_t *reservedOut)
Definition: commands_gnss.cpp:306
mip::commands_gnss::RtkDongleConfiguration::reserved
uint8_t reserved[3]
Definition: commands_gnss.hpp:238
mip::commands_gnss::DESCRIPTOR_SET
@ DESCRIPTOR_SET
Definition: commands_gnss.hpp:31
mip::commands_gnss::ReceiverInfo::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:44
mip::commands_gnss::ReceiverInfo::Response::asTuple
auto asTuple()
Definition: commands_gnss.hpp:124
mip::commands_gnss::ReceiverInfo::Response::receiver_info
Info receiver_info[5]
Definition: commands_gnss.hpp:109
mip::commands_gnss::CMD_LIST_RECEIVERS
@ CMD_LIST_RECEIVERS
Definition: commands_gnss.hpp:33
mip::commands_gnss::SignalConfiguration::Response
Definition: commands_gnss.hpp:185
mip::commands_gnss::ReceiverInfo
Definition: commands_gnss.hpp:69
mip::commands_gnss::loadRtkDongleConfiguration
TypedResult< RtkDongleConfiguration > loadRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:343
mip::commands_gnss::RtkDongleConfiguration::Response::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:281
mip::FunctionSelector
FunctionSelector
Definition: mip_descriptors.hpp:68
mip::commands_gnss::ReceiverInfo::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:114
mip::commands_gnss::SignalConfiguration::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:162
mip::commands_gnss::SignalConfiguration::create_sld_all
static SignalConfiguration create_sld_all(::mip::FunctionSelector function)
Definition: commands_gnss.hpp:174
mip::commands_gnss::REPLY_LIST_RECEIVERS
@ REPLY_LIST_RECEIVERS
Definition: commands_gnss.hpp:37
mip::commands_gnss::ReceiverInfo::Response::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:115
mip::commands_gnss::SignalConfiguration::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:200
mip::commands_gnss::RtkDongleConfiguration::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:273
mip::commands_gnss::SignalConfiguration::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:199
mip::commands_gnss::RtkDongleConfiguration::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_gnss.hpp:276
mip::commands_gnss::SignalConfiguration::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:161
mip::commands_gnss::writeSignalConfiguration
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
mip::commands_gnss::ReceiverInfo::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:91
mip::commands_gnss::saveRtkDongleConfiguration
TypedResult< RtkDongleConfiguration > saveRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:333
mip::commands_gnss::SignalConfiguration::Response::beidou_enable
uint8_t beidou_enable
Bitfield 0: Enable B1, 1: Enable B2, 2: Enable B2A.
Definition: commands_gnss.hpp:191
mip::commands_gnss::SignalConfiguration::Response::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:143
mip::commands_gnss::ReceiverInfo::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:88
mip::C::mip_interface
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
mip::commands_gnss::SignalConfiguration::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_gnss.hpp:196
mip::commands_gnss::RtkDongleConfiguration
Definition: commands_gnss.hpp:233
mip::commands_gnss::SignalConfiguration::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:109
mip::commands_gnss::RtkDongleConfiguration::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:281
mip::commands_gnss::ReceiverInfo::extract
void extract(Serializer &serializer)
Definition: commands_gnss.cpp:48
mip::commands_gnss::SignalConfiguration::Response::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:202
mip::commands_gnss::SignalConfiguration::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:160
mip_interface.hpp
mip::commands_gnss::ReceiverInfo::Info
Definition: commands_gnss.hpp:71
mip::commands_gnss::RtkDongleConfiguration::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_gnss.hpp:243
mip::commands_gnss::RtkDongleConfiguration::asTuple
auto asTuple()
Definition: commands_gnss.hpp:253
mip::commands_gnss::writeRtkDongleConfiguration
TypedResult< RtkDongleConfiguration > writeRtkDongleConfiguration(C::mip_interface &device, uint8_t enable, const uint8_t *reserved)
Definition: commands_gnss.cpp:290
mip::commands_gnss::ReceiverInfo::Info::mip_data_descriptor_set
uint8_t mip_data_descriptor_set
MIP descriptor set associated with this receiver.
Definition: commands_gnss.hpp:75
mip::commands_gnss::RtkDongleConfiguration::create_sld_all
static RtkDongleConfiguration create_sld_all(::mip::FunctionSelector function)
Definition: commands_gnss.hpp:258
mip::commands_gnss::RtkDongleConfiguration::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:280
mip::commands_gnss::RtkDongleConfiguration::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:246
mip::commands_gnss::ReceiverInfo::Info::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:23
mip::commands_gnss::SignalConfiguration::glonass_enable
uint8_t glonass_enable
Bitfield 0: Enable L1OF, 1: Enable L2OF.
Definition: commands_gnss.hpp:151
mip::commands_gnss::SignalConfiguration::Response::gps_enable
uint8_t gps_enable
Parameters.
Definition: commands_gnss.hpp:188
mip::commands_gnss::SignalConfiguration::gps_enable
uint8_t gps_enable
Bitfield 0: Enable L1CA, 1: Enable L2C, 2: Enable L5.
Definition: commands_gnss.hpp:150
mip::commands_gnss::SignalConfiguration::asTuple
auto asTuple() const
Definition: commands_gnss.hpp:164
mip::commands_gnss::defaultRtkDongleConfiguration
TypedResult< RtkDongleConfiguration > defaultRtkDongleConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:353
mip::commands_gnss::ReceiverInfo::asTuple
auto asTuple()
Definition: commands_gnss.hpp:96
mip::commands_gnss::SignalConfiguration::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:90
mip::commands_gnss::readSignalConfiguration
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
mip::CompositeDescriptor
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:22
mip::commands_gnss::ReceiverInfo::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_gnss.hpp:117
mip::commands_gnss::ReceiverInfo::Response
Definition: commands_gnss.hpp:105
mip::commands_gnss::saveSignalConfiguration
TypedResult< SignalConfiguration > saveSignalConfiguration(C::mip_interface &device)
Definition: commands_gnss.cpp:216
mip::commands_gnss::CMD_SIGNAL_CONFIGURATION
@ CMD_SIGNAL_CONFIGURATION
Definition: commands_gnss.hpp:34
mip::commands_gnss::receiverInfo
TypedResult< ReceiverInfo > receiverInfo(C::mip_interface &device, uint8_t *numReceiversOut, uint8_t numReceiversOutMax, ReceiverInfo::Info *receiverInfoOut)
Definition: commands_gnss.cpp:69
mip::commands_gnss::SignalConfiguration::Response::glonass_enable
uint8_t glonass_enable
Bitfield 0: Enable L1OF, 1: Enable L2OF.
Definition: commands_gnss.hpp:189
mip::commands_gnss::SignalConfiguration::Response::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:198
mip::commands_gnss::SignalConfiguration
Definition: commands_gnss.hpp:146
mip::commands_gnss::SignalConfiguration::beidou_enable
uint8_t beidou_enable
Bitfield 0: Enable B1, 1: Enable B2, 2: Enable B2A.
Definition: commands_gnss.hpp:153
mip::commands_gnss::ReceiverInfo::Info::receiver_id
uint8_t receiver_id
Parameters.
Definition: commands_gnss.hpp:74
mip::commands_gnss::SignalConfiguration::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_gnss.cpp:129
mip::TypedResult
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:100
mip::commands_gnss::REPLY_SIGNAL_CONFIGURATION
@ REPLY_SIGNAL_CONFIGURATION
Definition: commands_gnss.hpp:38
common.hpp
mip::commands_gnss::ReceiverInfo::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_gnss.hpp:116
mip_result.hpp
mip::commands_gnss::RtkDongleConfiguration::enable
uint8_t enable
0 - Disabled, 1- Enabled
Definition: commands_gnss.hpp:237
mip::commands_gnss::RtkDongleConfiguration::Response::NAME
static constexpr const char * NAME
Definition: commands_gnss.hpp:279