MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
commands_rtk.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "descriptors.h"
4 #include "../mip_result.h"
5 
6 #include <stdint.h>
7 #include <stddef.h>
8 #include <stdbool.h>
9 
10 namespace mip {
11 class Serializer;
12 
13 namespace C {
14 struct mip_interface;
15 } // namespace C
16 
17 namespace commands_rtk {
18 
25 
27 // Descriptors
29 
30 enum
31 {
33 
35  CMD_GET_IMEI = 0x02,
36  CMD_GET_IMSI = 0x03,
37  CMD_GET_ICCID = 0x04,
38  CMD_GET_RSSI = 0x05,
44  CMD_CONTROL = 0x21,
46 
56 };
57 
59 // Shared Type Definitions
61 
62 enum class MediaSelector : uint8_t
63 {
65  MEDIA_SD = 1,
66 };
67 
68 enum class LedAction : uint8_t
69 {
70  LED_NONE = 0,
71  LED_FLASH = 1,
72  LED_PULSATE = 2,
73 };
74 
75 
77 // Mip Fields
79 
84 
86 {
89 
90  static const bool HAS_FUNCTION_SELECTOR = false;
91 
92  struct StatusFlagsLegacy : Bitfield<StatusFlagsLegacy>
93  {
94  enum _enumType : uint32_t
95  {
96  NONE = 0x00000000,
97  CONTROLLERSTATE = 0x00000007,
98  PLATFORMSTATE = 0x000000F8,
99  CONTROLLERSTATUSCODE = 0x00000700,
100  PLATFORMSTATUSCODE = 0x00003800,
101  RESETCODE = 0x0000C000,
102  SIGNALQUALITY = 0x000F0000,
103  RESERVED = 0xFFF00000,
104  RSSI = 0x03F00000,
105  RSRP = 0x0C000000,
106  RSRQ = 0x30000000,
107  SINR = 0xC0000000,
108  };
109  uint32_t value = NONE;
110 
112  StatusFlagsLegacy(int val) : value((uint32_t)val) {}
113  operator uint32_t() const { return value; }
114  StatusFlagsLegacy& operator=(uint32_t val) { value = val; return *this; }
115  StatusFlagsLegacy& operator=(int val) { value = val; return *this; }
116  StatusFlagsLegacy& operator|=(uint32_t val) { return *this = value | val; }
117  StatusFlagsLegacy& operator&=(uint32_t val) { return *this = value & val; }
118  };
119 
120  struct StatusFlags : Bitfield<StatusFlags>
121  {
122  enum _enumType : uint32_t
123  {
124  NONE = 0x00000000,
125  MODEM_STATE = 0x0000000F,
126  CONNECTION_TYPE = 0x000000F0,
127  RSSI = 0x0000FF00,
128  SIGNAL_QUALITY = 0x000F0000,
129  TOWER_CHANGE_INDICATOR = 0x00F00000,
130  NMEA_TIMEOUT = 0x01000000,
131  SERVER_TIMEOUT = 0x02000000,
132  RTCM_TIMEOUT = 0x04000000,
133  DEVICE_OUT_OF_RANGE = 0x08000000,
134  CORRECTIONS_UNAVAILABLE = 0x10000000,
135  RESERVED = 0x20000000,
136  VERSION = 0xC0000000,
137  };
138  uint32_t value = NONE;
139 
141  StatusFlags(int val) : value((uint32_t)val) {}
142  operator uint32_t() const { return value; }
143  StatusFlags& operator=(uint32_t val) { value = val; return *this; }
144  StatusFlags& operator=(int val) { value = val; return *this; }
145  StatusFlags& operator|=(uint32_t val) { return *this = value | val; }
146  StatusFlags& operator&=(uint32_t val) { return *this = value & val; }
147  };
148 
149 
150  struct Response
151  {
154 
156 
157  };
158 };
159 void insert(Serializer& serializer, const GetStatusFlags& self);
160 void extract(Serializer& serializer, GetStatusFlags& self);
161 
162 void insert(Serializer& serializer, const GetStatusFlags::Response& self);
163 void extract(Serializer& serializer, GetStatusFlags::Response& self);
164 
172 
173 struct GetImei
174 {
177 
178  static const bool HAS_FUNCTION_SELECTOR = false;
179 
180 
181  struct Response
182  {
185 
186  char IMEI[32] = {0};
187 
188  };
189 };
190 void insert(Serializer& serializer, const GetImei& self);
191 void extract(Serializer& serializer, GetImei& self);
192 
193 void insert(Serializer& serializer, const GetImei::Response& self);
194 void extract(Serializer& serializer, GetImei::Response& self);
195 
196 CmdResult getImei(C::mip_interface& device, char* imeiOut);
203 
204 struct GetImsi
205 {
208 
209  static const bool HAS_FUNCTION_SELECTOR = false;
210 
211 
212  struct Response
213  {
216 
217  char IMSI[32] = {0};
218 
219  };
220 };
221 void insert(Serializer& serializer, const GetImsi& self);
222 void extract(Serializer& serializer, GetImsi& self);
223 
224 void insert(Serializer& serializer, const GetImsi::Response& self);
225 void extract(Serializer& serializer, GetImsi::Response& self);
226 
227 CmdResult getImsi(C::mip_interface& device, char* imsiOut);
234 
235 struct GetIccid
236 {
239 
240  static const bool HAS_FUNCTION_SELECTOR = false;
241 
242 
243  struct Response
244  {
247 
248  char ICCID[32] = {0};
249 
250  };
251 };
252 void insert(Serializer& serializer, const GetIccid& self);
253 void extract(Serializer& serializer, GetIccid& self);
254 
255 void insert(Serializer& serializer, const GetIccid::Response& self);
256 void extract(Serializer& serializer, GetIccid::Response& self);
257 
258 CmdResult getIccid(C::mip_interface& device, char* iccidOut);
265 
267 {
270 
271  static const bool HAS_WRITE_FUNCTION = true;
272  static const bool HAS_READ_FUNCTION = true;
273  static const bool HAS_SAVE_FUNCTION = true;
274  static const bool HAS_LOAD_FUNCTION = true;
275  static const bool HAS_RESET_FUNCTION = true;
276 
277  enum class Type : uint8_t
278  {
279  GENERIC = 0,
280  GQ7 = 1,
281  };
282 
283  FunctionSelector function = static_cast<FunctionSelector>(0);
284  Type devType = static_cast<Type>(0);
285 
286  struct Response
287  {
290 
291  Type devType = static_cast<Type>(0);
292 
293  };
294 };
295 void insert(Serializer& serializer, const ConnectedDeviceType& self);
296 void extract(Serializer& serializer, ConnectedDeviceType& self);
297 
298 void insert(Serializer& serializer, const ConnectedDeviceType::Response& self);
299 void extract(Serializer& serializer, ConnectedDeviceType::Response& self);
300 
312 
314 {
317 
318  static const bool HAS_FUNCTION_SELECTOR = false;
319 
320 
321  struct Response
322  {
325 
326  char ActivationCode[32] = {0};
327 
328  };
329 };
330 void insert(Serializer& serializer, const GetActCode& self);
331 void extract(Serializer& serializer, GetActCode& self);
332 
333 void insert(Serializer& serializer, const GetActCode::Response& self);
334 void extract(Serializer& serializer, GetActCode::Response& self);
335 
336 CmdResult getActCode(C::mip_interface& device, char* activationcodeOut);
343 
345 {
348 
349  static const bool HAS_FUNCTION_SELECTOR = false;
350 
351 
352  struct Response
353  {
356 
357  char ModemFirmwareVersion[32] = {0};
358 
359  };
360 };
361 void insert(Serializer& serializer, const GetModemFirmwareVersion& self);
362 void extract(Serializer& serializer, GetModemFirmwareVersion& self);
363 
364 void insert(Serializer& serializer, const GetModemFirmwareVersion::Response& self);
365 void extract(Serializer& serializer, GetModemFirmwareVersion::Response& self);
366 
367 CmdResult getModemFirmwareVersion(C::mip_interface& device, char* modemfirmwareversionOut);
375 
376 struct GetRssi
377 {
380 
381  static const bool HAS_FUNCTION_SELECTOR = false;
382 
383 
384  struct Response
385  {
388 
389  bool valid = 0;
390  int32_t rssi = 0;
391  int32_t signalQuality = 0;
392 
393  };
394 };
395 void insert(Serializer& serializer, const GetRssi& self);
396 void extract(Serializer& serializer, GetRssi& self);
397 
398 void insert(Serializer& serializer, const GetRssi::Response& self);
399 void extract(Serializer& serializer, GetRssi::Response& self);
400 
401 CmdResult getRssi(C::mip_interface& device, bool* validOut, int32_t* rssiOut, int32_t* signalqualityOut);
409 
411 {
414 
415  static const bool HAS_FUNCTION_SELECTOR = false;
416 
417  struct ServiceFlags : Bitfield<ServiceFlags>
418  {
419  enum _enumType : uint8_t
420  {
421  NONE = 0x00,
422  THROTTLE = 0x01,
424  RESERVED = 0xFC,
425  };
426  uint8_t value = NONE;
427 
429  ServiceFlags(int val) : value((uint8_t)val) {}
430  operator uint8_t() const { return value; }
431  ServiceFlags& operator=(uint8_t val) { value = val; return *this; }
432  ServiceFlags& operator=(int val) { value = val; return *this; }
433  ServiceFlags& operator|=(uint8_t val) { return *this = value | val; }
434  ServiceFlags& operator&=(uint8_t val) { return *this = value & val; }
435  };
436 
437  uint32_t reserved1 = 0;
438  uint32_t reserved2 = 0;
439 
440  struct Response
441  {
444 
446  uint32_t recievedBytes = 0;
447  uint32_t lastBytes = 0;
448  uint64_t lastBytesTime = 0;
449 
450  };
451 };
452 void insert(Serializer& serializer, const ServiceStatus& self);
453 void extract(Serializer& serializer, ServiceStatus& self);
454 
455 void insert(Serializer& serializer, const ServiceStatus::Response& self);
456 void extract(Serializer& serializer, ServiceStatus::Response& self);
457 
458 CmdResult serviceStatus(C::mip_interface& device, uint32_t reserved1, uint32_t reserved2, ServiceStatus::ServiceFlags* flagsOut, uint32_t* recievedbytesOut, uint32_t* lastbytesOut, uint64_t* lastbytestimeOut);
467 
469 {
472 
473  static const bool HAS_FUNCTION_SELECTOR = false;
474 
475  MediaSelector media = static_cast<MediaSelector>(0);
476 
477 };
478 void insert(Serializer& serializer, const ProdEraseStorage& self);
479 void extract(Serializer& serializer, ProdEraseStorage& self);
480 
489 
491 {
494 
495  static const bool HAS_FUNCTION_SELECTOR = false;
496 
497  uint8_t primaryColor[3] = {0};
498  uint8_t altColor[3] = {0};
499  LedAction act = static_cast<LedAction>(0);
500  uint32_t period = 0;
501 
502 };
503 void insert(Serializer& serializer, const LedControl& self);
504 void extract(Serializer& serializer, LedControl& self);
505 
506 CmdResult ledControl(C::mip_interface& device, const uint8_t* primarycolor, const uint8_t* altcolor, LedAction act, uint32_t period);
515 
517 {
520 
521  static const bool HAS_FUNCTION_SELECTOR = false;
522 
523 
524 };
525 void insert(Serializer& serializer, const ModemHardReset& self);
526 void extract(Serializer& serializer, ModemHardReset& self);
527 
531 
536 } // namespace commands_rtk
537 } // namespace mip
538 
Serialization class.
Definition: serialization.h:145
CmdResult loadConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:282
CmdResult saveConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:272
CmdResult defaultConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:292
CmdResult readConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type *devtypeOut)
Definition: commands_rtk.cpp:249
CmdResult writeConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type devtype)
Definition: commands_rtk.cpp:237
CmdResult getActCode(C::mip_interface &device, char *activationcodeOut)
Definition: commands_rtk.cpp:326
CmdResult getIccid(C::mip_interface &device, char *iccidOut)
Definition: commands_rtk.cpp:185
CmdResult getImei(C::mip_interface &device, char *imeiOut)
Definition: commands_rtk.cpp:97
CmdResult getImsi(C::mip_interface &device, char *imsiOut)
Definition: commands_rtk.cpp:141
CmdResult getModemFirmwareVersion(C::mip_interface &device, char *modemfirmwareversionOut)
Definition: commands_rtk.cpp:370
CmdResult getRssi(C::mip_interface &device, bool *validOut, int32_t *rssiOut, int32_t *signalqualityOut)
Definition: commands_rtk.cpp:420
void extract(Serializer &serializer, GetStatusFlags &self)
Definition: commands_rtk.cpp:37
CmdResult getStatusFlags(C::mip_interface &device, GetStatusFlags::StatusFlags *flagsOut)
Definition: commands_rtk.cpp:54
void insert(Serializer &serializer, const GetStatusFlags &self)
Definition: commands_rtk.cpp:32
CmdResult ledControl(C::mip_interface &device, const uint8_t *primarycolor, const uint8_t *altcolor, LedAction act, uint32_t period)
Definition: commands_rtk.cpp:567
CmdResult modemHardReset(C::mip_interface &device)
Definition: commands_rtk.cpp:599
CmdResult prodEraseStorage(C::mip_interface &device, MediaSelector media)
Definition: commands_rtk.cpp:529
CmdResult serviceStatus(C::mip_interface &device, uint32_t reserved1, uint32_t reserved2, ServiceStatus::ServiceFlags *flagsOut, uint32_t *recievedbytesOut, uint32_t *lastbytesOut, uint64_t *lastbytestimeOut)
Definition: commands_rtk.cpp:483
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
LedAction
Definition: commands_rtk.hpp:69
MediaSelector
Definition: commands_rtk.hpp:63
@ CMD_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:34
@ REPLY_SERVICE_STATUS
Definition: commands_rtk.hpp:55
@ CMD_PROD_ERASE_STORAGE
Definition: commands_rtk.hpp:43
@ REPLY_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:53
@ REPLY_GET_ACT_CODE
Definition: commands_rtk.hpp:52
@ CMD_CONTROL
Definition: commands_rtk.hpp:44
@ CMD_GET_IMEI
Definition: commands_rtk.hpp:35
@ REPLY_GET_IMEI
Definition: commands_rtk.hpp:48
@ CMD_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:41
@ CMD_GET_ICCID
Definition: commands_rtk.hpp:37
@ REPLY_GET_ICCID
Definition: commands_rtk.hpp:50
@ CMD_MODEM_HARD_RESET
Definition: commands_rtk.hpp:45
@ REPLY_GET_RSSI
Definition: commands_rtk.hpp:54
@ DESCRIPTOR_SET
Definition: commands_rtk.hpp:32
@ REPLY_GET_IMSI
Definition: commands_rtk.hpp:49
@ CMD_SERVICE_STATUS
Definition: commands_rtk.hpp:42
@ REPLY_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:51
@ CMD_GET_IMSI
Definition: commands_rtk.hpp:36
@ CMD_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:39
@ REPLY_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:47
@ CMD_GET_RSSI
Definition: commands_rtk.hpp:38
@ CMD_GET_ACT_CODE
Definition: commands_rtk.hpp:40
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
FunctionSelector
Definition: descriptors.h:102
A dummy struct which is used to mark bitfield objects.
Definition: descriptors.h:95
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:52
Represents the status of a MIP command.
Definition: mip_result.h:67
Definition: commands_rtk.hpp:287
Type devType
Definition: commands_rtk.hpp:291
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:288
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:289
Definition: commands_rtk.hpp:267
static const bool HAS_WRITE_FUNCTION
Definition: commands_rtk.hpp:271
static const bool HAS_RESET_FUNCTION
Definition: commands_rtk.hpp:275
Type devType
Definition: commands_rtk.hpp:284
static const bool HAS_LOAD_FUNCTION
Definition: commands_rtk.hpp:274
Type
Definition: commands_rtk.hpp:278
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:268
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:269
static const bool HAS_READ_FUNCTION
Definition: commands_rtk.hpp:272
static const bool HAS_SAVE_FUNCTION
Definition: commands_rtk.hpp:273
Definition: commands_rtk.hpp:322
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:323
char ActivationCode[32]
Definition: commands_rtk.hpp:326
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:324
Definition: commands_rtk.hpp:314
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:315
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:316
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:318
Definition: commands_rtk.hpp:244
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:245
char ICCID[32]
Definition: commands_rtk.hpp:248
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:246
Definition: commands_rtk.hpp:236
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:238
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:240
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:237
Definition: commands_rtk.hpp:182
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:183
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:184
char IMEI[32]
Definition: commands_rtk.hpp:186
Definition: commands_rtk.hpp:174
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:178
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:175
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:176
Definition: commands_rtk.hpp:213
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:214
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:215
char IMSI[32]
Definition: commands_rtk.hpp:217
Definition: commands_rtk.hpp:205
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:207
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:209
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:206
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:355
char ModemFirmwareVersion[32]
Definition: commands_rtk.hpp:357
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:354
Definition: commands_rtk.hpp:345
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:346
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:349
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:347
Definition: commands_rtk.hpp:385
bool valid
Definition: commands_rtk.hpp:389
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:386
int32_t signalQuality
Definition: commands_rtk.hpp:391
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:387
int32_t rssi
Definition: commands_rtk.hpp:390
Definition: commands_rtk.hpp:377
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:379
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:378
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:381
Definition: commands_rtk.hpp:151
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:153
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:152
StatusFlags flags
Model number dependent. See above structures.
Definition: commands_rtk.hpp:155
Definition: commands_rtk.hpp:121
StatusFlags(int val)
Definition: commands_rtk.hpp:141
StatusFlags()
Definition: commands_rtk.hpp:140
StatusFlags & operator|=(uint32_t val)
Definition: commands_rtk.hpp:145
uint32_t value
Definition: commands_rtk.hpp:138
StatusFlags & operator=(uint32_t val)
Definition: commands_rtk.hpp:143
_enumType
Definition: commands_rtk.hpp:123
@ TOWER_CHANGE_INDICATOR
Definition: commands_rtk.hpp:129
@ NMEA_TIMEOUT
Definition: commands_rtk.hpp:130
@ RTCM_TIMEOUT
Definition: commands_rtk.hpp:132
@ VERSION
Definition: commands_rtk.hpp:136
@ CONNECTION_TYPE
Definition: commands_rtk.hpp:126
@ RESERVED
Definition: commands_rtk.hpp:135
@ SERVER_TIMEOUT
Definition: commands_rtk.hpp:131
@ DEVICE_OUT_OF_RANGE
Definition: commands_rtk.hpp:133
@ MODEM_STATE
Definition: commands_rtk.hpp:125
@ SIGNAL_QUALITY
Definition: commands_rtk.hpp:128
@ NONE
Definition: commands_rtk.hpp:124
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:134
@ RSSI
Definition: commands_rtk.hpp:127
StatusFlags & operator&=(uint32_t val)
Definition: commands_rtk.hpp:146
StatusFlags & operator=(int val)
Definition: commands_rtk.hpp:144
StatusFlagsLegacy & operator|=(uint32_t val)
Definition: commands_rtk.hpp:116
StatusFlagsLegacy & operator&=(uint32_t val)
Definition: commands_rtk.hpp:117
StatusFlagsLegacy(int val)
Definition: commands_rtk.hpp:112
@ CONTROLLERSTATE
Definition: commands_rtk.hpp:97
@ CONTROLLERSTATUSCODE
Definition: commands_rtk.hpp:99
@ RESERVED
Definition: commands_rtk.hpp:103
@ PLATFORMSTATE
Definition: commands_rtk.hpp:98
@ RESETCODE
Definition: commands_rtk.hpp:101
@ PLATFORMSTATUSCODE
Definition: commands_rtk.hpp:100
@ SIGNALQUALITY
Definition: commands_rtk.hpp:102
StatusFlagsLegacy & operator=(uint32_t val)
Definition: commands_rtk.hpp:114
StatusFlagsLegacy()
Definition: commands_rtk.hpp:111
uint32_t value
Definition: commands_rtk.hpp:109
StatusFlagsLegacy & operator=(int val)
Definition: commands_rtk.hpp:115
Definition: commands_rtk.hpp:86
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:90
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:88
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:87
Definition: commands_rtk.hpp:491
LedAction act
Definition: commands_rtk.hpp:499
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:493
uint32_t period
Definition: commands_rtk.hpp:500
uint8_t altColor[3]
Definition: commands_rtk.hpp:498
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:495
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:492
uint8_t primaryColor[3]
Definition: commands_rtk.hpp:497
Definition: commands_rtk.hpp:517
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:519
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:518
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:521
Definition: commands_rtk.hpp:469
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:471
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:470
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:473
MediaSelector media
Definition: commands_rtk.hpp:475
Definition: commands_rtk.hpp:441
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:443
uint32_t recievedBytes
Definition: commands_rtk.hpp:446
uint32_t lastBytes
Definition: commands_rtk.hpp:447
uint64_t lastBytesTime
Definition: commands_rtk.hpp:448
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:442
ServiceFlags flags
Definition: commands_rtk.hpp:445
Definition: commands_rtk.hpp:418
ServiceFlags()
Definition: commands_rtk.hpp:428
ServiceFlags & operator|=(uint8_t val)
Definition: commands_rtk.hpp:433
ServiceFlags & operator=(int val)
Definition: commands_rtk.hpp:432
_enumType
Definition: commands_rtk.hpp:420
@ RESERVED
Definition: commands_rtk.hpp:424
@ THROTTLE
Definition: commands_rtk.hpp:422
@ NONE
Definition: commands_rtk.hpp:421
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:423
ServiceFlags(int val)
Definition: commands_rtk.hpp:429
ServiceFlags & operator&=(uint8_t val)
Definition: commands_rtk.hpp:434
ServiceFlags & operator=(uint8_t val)
Definition: commands_rtk.hpp:431
uint8_t value
Definition: commands_rtk.hpp:426
Definition: commands_rtk.hpp:411
uint32_t reserved1
Definition: commands_rtk.hpp:437
static const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:413
uint32_t reserved2
Definition: commands_rtk.hpp:438
static const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:415
static const uint8_t DESCRIPTOR_SET
Definition: commands_rtk.hpp:412