MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
commands_rtk.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_rtk {
17 
24 
26 // Descriptors
28 
29 enum
30 {
32 
34  CMD_GET_IMEI = 0x02,
35  CMD_GET_IMSI = 0x03,
36  CMD_GET_ICCID = 0x04,
37  CMD_GET_RSSI = 0x05,
43  CMD_CONTROL = 0x21,
45 
55 };
56 
58 // Shared Type Definitions
60 
61 enum class MediaSelector : uint8_t
62 {
64  MEDIA_SD = 1,
65 };
66 
67 enum class LedAction : uint8_t
68 {
69  LED_NONE = 0,
70  LED_FLASH = 1,
71  LED_PULSATE = 2,
72 };
73 
74 
76 // Mip Fields
78 
83 
85 {
86  struct StatusFlagsLegacy : Bitfield<StatusFlagsLegacy>
87  {
88  typedef uint32_t Type;
89  enum _enumType : uint32_t
90  {
91  NONE = 0x00000000,
92  CONTROLLERSTATE = 0x00000007,
93  PLATFORMSTATE = 0x000000F8,
94  CONTROLLERSTATUSCODE = 0x00000700,
95  PLATFORMSTATUSCODE = 0x00003800,
96  RESETCODE = 0x0000C000,
97  SIGNALQUALITY = 0x000F0000,
98  RESERVED = 0xFFF00000,
99  RSSI = 0x03F00000,
100  RSRP = 0x0C000000,
101  RSRQ = 0x30000000,
102  SINR = 0xC0000000,
103  ALL = 0xFFFFFFFF,
104  };
105  uint32_t value = NONE;
106 
108  StatusFlagsLegacy(int val) : value((uint32_t)val) {}
109  operator uint32_t() const { return value; }
110  StatusFlagsLegacy& operator=(uint32_t val) { value = val; return *this; }
111  StatusFlagsLegacy& operator=(int val) { value = uint32_t(val); return *this; }
112  StatusFlagsLegacy& operator|=(uint32_t val) { return *this = value | val; }
113  StatusFlagsLegacy& operator&=(uint32_t val) { return *this = value & val; }
114 
115  uint32_t controllerstate() const { return (value & CONTROLLERSTATE) >> 0; }
116  void controllerstate(uint32_t val) { value = (value & ~CONTROLLERSTATE) | (val << 0); }
117  uint32_t platformstate() const { return (value & PLATFORMSTATE) >> 3; }
118  void platformstate(uint32_t val) { value = (value & ~PLATFORMSTATE) | (val << 3); }
119  uint32_t controllerstatuscode() const { return (value & CONTROLLERSTATUSCODE) >> 8; }
120  void controllerstatuscode(uint32_t val) { value = (value & ~CONTROLLERSTATUSCODE) | (val << 8); }
121  uint32_t platformstatuscode() const { return (value & PLATFORMSTATUSCODE) >> 11; }
122  void platformstatuscode(uint32_t val) { value = (value & ~PLATFORMSTATUSCODE) | (val << 11); }
123  uint32_t resetcode() const { return (value & RESETCODE) >> 14; }
124  void resetcode(uint32_t val) { value = (value & ~RESETCODE) | (val << 14); }
125  uint32_t signalquality() const { return (value & SIGNALQUALITY) >> 16; }
126  void signalquality(uint32_t val) { value = (value & ~SIGNALQUALITY) | (val << 16); }
127  uint32_t reserved() const { return (value & RESERVED) >> 20; }
128  void reserved(uint32_t val) { value = (value & ~RESERVED) | (val << 20); }
129  uint32_t rssi() const { return (value & RSSI) >> 20; }
130  void rssi(uint32_t val) { value = (value & ~RSSI) | (val << 20); }
131  uint32_t rsrp() const { return (value & RSRP) >> 26; }
132  void rsrp(uint32_t val) { value = (value & ~RSRP) | (val << 26); }
133  uint32_t rsrq() const { return (value & RSRQ) >> 28; }
134  void rsrq(uint32_t val) { value = (value & ~RSRQ) | (val << 28); }
135  uint32_t sinr() const { return (value & SINR) >> 30; }
136  void sinr(uint32_t val) { value = (value & ~SINR) | (val << 30); }
137  bool allSet() const { return value == ALL; }
138  void setAll() { value |= ALL; }
139  };
140  struct StatusFlags : Bitfield<StatusFlags>
141  {
142  typedef uint32_t Type;
143  enum _enumType : uint32_t
144  {
145  NONE = 0x00000000,
146  MODEM_STATE = 0x0000000F,
147  CONNECTION_TYPE = 0x000000F0,
148  RSSI = 0x0000FF00,
149  SIGNAL_QUALITY = 0x000F0000,
150  TOWER_CHANGE_INDICATOR = 0x00F00000,
151  NMEA_TIMEOUT = 0x01000000,
152  SERVER_TIMEOUT = 0x02000000,
153  CORRECTIONS_TIMEOUT = 0x04000000,
154  DEVICE_OUT_OF_RANGE = 0x08000000,
155  CORRECTIONS_UNAVAILABLE = 0x10000000,
156  RESERVED = 0x20000000,
157  VERSION = 0xC0000000,
158  ALL = 0xFFFFFFFF,
159  };
160  uint32_t value = NONE;
161 
163  StatusFlags(int val) : value((uint32_t)val) {}
164  operator uint32_t() const { return value; }
165  StatusFlags& operator=(uint32_t val) { value = val; return *this; }
166  StatusFlags& operator=(int val) { value = uint32_t(val); return *this; }
167  StatusFlags& operator|=(uint32_t val) { return *this = value | val; }
168  StatusFlags& operator&=(uint32_t val) { return *this = value & val; }
169 
170  uint32_t modemState() const { return (value & MODEM_STATE) >> 0; }
171  void modemState(uint32_t val) { value = (value & ~MODEM_STATE) | (val << 0); }
172  uint32_t connectionType() const { return (value & CONNECTION_TYPE) >> 4; }
173  void connectionType(uint32_t val) { value = (value & ~CONNECTION_TYPE) | (val << 4); }
174  uint32_t rssi() const { return (value & RSSI) >> 8; }
175  void rssi(uint32_t val) { value = (value & ~RSSI) | (val << 8); }
176  uint32_t signalQuality() const { return (value & SIGNAL_QUALITY) >> 16; }
177  void signalQuality(uint32_t val) { value = (value & ~SIGNAL_QUALITY) | (val << 16); }
178  uint32_t towerChangeIndicator() const { return (value & TOWER_CHANGE_INDICATOR) >> 20; }
179  void towerChangeIndicator(uint32_t val) { value = (value & ~TOWER_CHANGE_INDICATOR) | (val << 20); }
180  bool nmeaTimeout() const { return (value & NMEA_TIMEOUT) > 0; }
181  void nmeaTimeout(bool val) { value &= ~NMEA_TIMEOUT; if(val) value |= NMEA_TIMEOUT; }
182  bool serverTimeout() const { return (value & SERVER_TIMEOUT) > 0; }
183  void serverTimeout(bool val) { value &= ~SERVER_TIMEOUT; if(val) value |= SERVER_TIMEOUT; }
184  bool correctionsTimeout() const { return (value & CORRECTIONS_TIMEOUT) > 0; }
186  bool deviceOutOfRange() const { return (value & DEVICE_OUT_OF_RANGE) > 0; }
188  bool correctionsUnavailable() const { return (value & CORRECTIONS_UNAVAILABLE) > 0; }
190  bool reserved() const { return (value & RESERVED) > 0; }
191  void reserved(bool val) { value &= ~RESERVED; if(val) value |= RESERVED; }
192  uint32_t version() const { return (value & VERSION) >> 30; }
193  void version(uint32_t val) { value = (value & ~VERSION) | (val << 30); }
194  bool allSet() const { return value == ALL; }
195  void setAll() { value |= ALL; }
196  };
198  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
201  static constexpr const char* NAME = "GetStatusFlags";
202  static constexpr const char* DOC_NAME = "Get RTK Device Status Flags";
203  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
204 
205  auto asTuple() const
206  {
207  return std::make_tuple();
208  }
209 
210  auto asTuple()
211  {
212  return std::make_tuple();
213  }
214 
216  void insert(Serializer& serializer) const;
217  void extract(Serializer& serializer);
218 
219  struct Response
220  {
223 
225  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
228  static constexpr const char* NAME = "GetStatusFlags::Response";
229  static constexpr const char* DOC_NAME = "Get RTK Device Status Flags Response";
230  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
231 
232  auto asTuple() const
233  {
234  return std::make_tuple(flags);
235  }
236 
237  auto asTuple()
238  {
239  return std::make_tuple(std::ref(flags));
240  }
241 
243  void insert(Serializer& serializer) const;
244  void extract(Serializer& serializer);
245 
246  };
247 };
248 TypedResult<GetStatusFlags> getStatusFlags(C::mip_interface& device, GetStatusFlags::StatusFlags* flagsOut);
249 
256 
257 struct GetImei
258 {
260  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
261  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_GET_IMEI;
263  static constexpr const char* NAME = "GetImei";
264  static constexpr const char* DOC_NAME = "Get RTK Device IMEI (International Mobile Equipment Identifier)";
265  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
266 
267  auto asTuple() const
268  {
269  return std::make_tuple();
270  }
271 
272  auto asTuple()
273  {
274  return std::make_tuple();
275  }
276 
278  void insert(Serializer& serializer) const;
279  void extract(Serializer& serializer);
280 
281  struct Response
282  {
284  char IMEI[32] = {0};
285 
287  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
288  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::REPLY_GET_IMEI;
290  static constexpr const char* NAME = "GetImei::Response";
291  static constexpr const char* DOC_NAME = "Get RTK Device IMEI (International Mobile Equipment Identifier) Response";
292  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
293 
294  auto asTuple() const
295  {
296  return std::make_tuple(IMEI);
297  }
298 
299  auto asTuple()
300  {
301  return std::make_tuple(std::ref(IMEI));
302  }
303 
305  void insert(Serializer& serializer) const;
306  void extract(Serializer& serializer);
307 
308  };
309 };
310 TypedResult<GetImei> getImei(C::mip_interface& device, char* imeiOut);
311 
318 
319 struct GetImsi
320 {
322  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
323  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_GET_IMSI;
325  static constexpr const char* NAME = "GetImsi";
326  static constexpr const char* DOC_NAME = "Get RTK Device IMSI (International Mobile Subscriber Identifier)";
327  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
328 
329  auto asTuple() const
330  {
331  return std::make_tuple();
332  }
333 
334  auto asTuple()
335  {
336  return std::make_tuple();
337  }
338 
340  void insert(Serializer& serializer) const;
341  void extract(Serializer& serializer);
342 
343  struct Response
344  {
346  char IMSI[32] = {0};
347 
349  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
350  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::REPLY_GET_IMSI;
352  static constexpr const char* NAME = "GetImsi::Response";
353  static constexpr const char* DOC_NAME = "Get RTK Device IMSI (International Mobile Subscriber Identifier) Response";
354  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
355 
356  auto asTuple() const
357  {
358  return std::make_tuple(IMSI);
359  }
360 
361  auto asTuple()
362  {
363  return std::make_tuple(std::ref(IMSI));
364  }
365 
367  void insert(Serializer& serializer) const;
368  void extract(Serializer& serializer);
369 
370  };
371 };
372 TypedResult<GetImsi> getImsi(C::mip_interface& device, char* imsiOut);
373 
380 
381 struct GetIccid
382 {
384  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
385  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_GET_ICCID;
387  static constexpr const char* NAME = "GetIccid";
388  static constexpr const char* DOC_NAME = "Get RTK Device ICCID (Integrated Circuit Card Identification [SIM Number])";
389  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
390 
391  auto asTuple() const
392  {
393  return std::make_tuple();
394  }
395 
396  auto asTuple()
397  {
398  return std::make_tuple();
399  }
400 
402  void insert(Serializer& serializer) const;
403  void extract(Serializer& serializer);
404 
405  struct Response
406  {
408  char ICCID[32] = {0};
409 
411  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
412  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::REPLY_GET_ICCID;
414  static constexpr const char* NAME = "GetIccid::Response";
415  static constexpr const char* DOC_NAME = "Get RTK Device ICCID (Integrated Circuit Card Identification [SIM Number]) Response";
416  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
417 
418  auto asTuple() const
419  {
420  return std::make_tuple(ICCID);
421  }
422 
423  auto asTuple()
424  {
425  return std::make_tuple(std::ref(ICCID));
426  }
427 
429  void insert(Serializer& serializer) const;
430  void extract(Serializer& serializer);
431 
432  };
433 };
434 TypedResult<GetIccid> getIccid(C::mip_interface& device, char* iccidOut);
435 
442 
444 {
445  enum class Type : uint8_t
446  {
447  GENERIC = 0,
448  GQ7 = 1,
449  };
450 
452  FunctionSelector function = static_cast<FunctionSelector>(0);
453  Type devType = static_cast<Type>(0);
454 
456  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
459  static constexpr const char* NAME = "ConnectedDeviceType";
460  static constexpr const char* DOC_NAME = "Configure or read the type of the connected device";
461  static constexpr const bool HAS_FUNCTION_SELECTOR = true;
462 
463  auto asTuple() const
464  {
465  return std::make_tuple(devType);
466  }
467 
468  auto asTuple()
469  {
470  return std::make_tuple(std::ref(devType));
471  }
472 
474  {
476  cmd.function = function;
477  return cmd;
478  }
479 
481  void insert(Serializer& serializer) const;
482  void extract(Serializer& serializer);
483 
484  struct Response
485  {
487  Type devType = static_cast<Type>(0);
488 
490  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
493  static constexpr const char* NAME = "ConnectedDeviceType::Response";
494  static constexpr const char* DOC_NAME = "Configure or read the type of the connected device Response";
495  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
496 
497  auto asTuple() const
498  {
499  return std::make_tuple(devType);
500  }
501 
502  auto asTuple()
503  {
504  return std::make_tuple(std::ref(devType));
505  }
506 
508  void insert(Serializer& serializer) const;
509  void extract(Serializer& serializer);
510 
511  };
512 };
518 
525 
527 {
529  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
530  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_GET_ACT_CODE;
532  static constexpr const char* NAME = "GetActCode";
533  static constexpr const char* DOC_NAME = "Get RTK Device Activation Code";
534  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
535 
536  auto asTuple() const
537  {
538  return std::make_tuple();
539  }
540 
541  auto asTuple()
542  {
543  return std::make_tuple();
544  }
545 
547  void insert(Serializer& serializer) const;
548  void extract(Serializer& serializer);
549 
550  struct Response
551  {
553  char ActivationCode[32] = {0};
554 
556  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
559  static constexpr const char* NAME = "GetActCode::Response";
560  static constexpr const char* DOC_NAME = "Get RTK Device Activation Code Response";
561  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
562 
563  auto asTuple() const
564  {
565  return std::make_tuple(ActivationCode);
566  }
567 
568  auto asTuple()
569  {
570  return std::make_tuple(std::ref(ActivationCode));
571  }
572 
574  void insert(Serializer& serializer) const;
575  void extract(Serializer& serializer);
576 
577  };
578 };
579 TypedResult<GetActCode> getActCode(C::mip_interface& device, char* activationcodeOut);
580 
587 
589 {
591  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
594  static constexpr const char* NAME = "GetModemFirmwareVersion";
595  static constexpr const char* DOC_NAME = "Get RTK Device's Cell Modem Firmware version number";
596  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
597 
598  auto asTuple() const
599  {
600  return std::make_tuple();
601  }
602 
603  auto asTuple()
604  {
605  return std::make_tuple();
606  }
607 
609  void insert(Serializer& serializer) const;
610  void extract(Serializer& serializer);
611 
612  struct Response
613  {
615  char ModemFirmwareVersion[32] = {0};
616 
618  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
621  static constexpr const char* NAME = "GetModemFirmwareVersion::Response";
622  static constexpr const char* DOC_NAME = "Get RTK Device's Cell Modem Firmware version number Response";
623  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
624 
625  auto asTuple() const
626  {
627  return std::make_tuple(ModemFirmwareVersion);
628  }
629 
630  auto asTuple()
631  {
632  return std::make_tuple(std::ref(ModemFirmwareVersion));
633  }
634 
636  void insert(Serializer& serializer) const;
637  void extract(Serializer& serializer);
638 
639  };
640 };
642 
650 
651 struct GetRssi
652 {
654  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
655  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_GET_RSSI;
657  static constexpr const char* NAME = "GetRssi";
658  static constexpr const char* DOC_NAME = "GetRssi";
659  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
660 
661  auto asTuple() const
662  {
663  return std::make_tuple();
664  }
665 
666  auto asTuple()
667  {
668  return std::make_tuple();
669  }
670 
672  void insert(Serializer& serializer) const;
673  void extract(Serializer& serializer);
674 
675  struct Response
676  {
678  bool valid = 0;
679  int32_t rssi = 0;
680  int32_t signalQuality = 0;
681 
683  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
684  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::REPLY_GET_RSSI;
686  static constexpr const char* NAME = "GetRssi::Response";
687  static constexpr const char* DOC_NAME = "GetRssi Response";
688  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
689 
690  auto asTuple() const
691  {
692  return std::make_tuple(valid,rssi,signalQuality);
693  }
694 
695  auto asTuple()
696  {
697  return std::make_tuple(std::ref(valid),std::ref(rssi),std::ref(signalQuality));
698  }
699 
701  void insert(Serializer& serializer) const;
702  void extract(Serializer& serializer);
703 
704  };
705 };
706 TypedResult<GetRssi> getRssi(C::mip_interface& device, bool* validOut, int32_t* rssiOut, int32_t* signalqualityOut);
707 
715 
717 {
718  struct ServiceFlags : Bitfield<ServiceFlags>
719  {
720  typedef uint8_t Type;
721  enum _enumType : uint8_t
722  {
723  NONE = 0x00,
724  THROTTLE = 0x01,
726  RESERVED = 0xFC,
727  ALL = 0xFF,
728  };
729  uint8_t value = NONE;
730 
732  ServiceFlags(int val) : value((uint8_t)val) {}
733  operator uint8_t() const { return value; }
734  ServiceFlags& operator=(uint8_t val) { value = val; return *this; }
735  ServiceFlags& operator=(int val) { value = uint8_t(val); return *this; }
736  ServiceFlags& operator|=(uint8_t val) { return *this = value | val; }
737  ServiceFlags& operator&=(uint8_t val) { return *this = value & val; }
738 
739  bool throttle() const { return (value & THROTTLE) > 0; }
740  void throttle(bool val) { value &= ~THROTTLE; if(val) value |= THROTTLE; }
741  bool correctionsUnavailable() const { return (value & CORRECTIONS_UNAVAILABLE) > 0; }
743  uint8_t reserved() const { return (value & RESERVED) >> 2; }
744  void reserved(uint8_t val) { value = (value & ~RESERVED) | (val << 2); }
745  bool allSet() const { return value == ALL; }
746  void setAll() { value |= ALL; }
747  };
749  uint32_t reserved1 = 0;
750  uint32_t reserved2 = 0;
751 
753  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
756  static constexpr const char* NAME = "ServiceStatus";
757  static constexpr const char* DOC_NAME = "ServiceStatus";
758  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
759 
760  auto asTuple() const
761  {
762  return std::make_tuple(reserved1,reserved2);
763  }
764 
765  auto asTuple()
766  {
767  return std::make_tuple(std::ref(reserved1),std::ref(reserved2));
768  }
769 
771  void insert(Serializer& serializer) const;
772  void extract(Serializer& serializer);
773 
774  struct Response
775  {
778  uint32_t receivedBytes = 0;
779  uint32_t lastBytes = 0;
780  uint64_t lastBytesTime = 0;
781 
783  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
786  static constexpr const char* NAME = "ServiceStatus::Response";
787  static constexpr const char* DOC_NAME = "ServiceStatus Response";
788  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
789 
790  auto asTuple() const
791  {
792  return std::make_tuple(flags,receivedBytes,lastBytes,lastBytesTime);
793  }
794 
795  auto asTuple()
796  {
797  return std::make_tuple(std::ref(flags),std::ref(receivedBytes),std::ref(lastBytes),std::ref(lastBytesTime));
798  }
799 
801  void insert(Serializer& serializer) const;
802  void extract(Serializer& serializer);
803 
804  };
805 };
806 TypedResult<ServiceStatus> serviceStatus(C::mip_interface& device, uint32_t reserved1, uint32_t reserved2, ServiceStatus::ServiceFlags* flagsOut, uint32_t* receivedbytesOut, uint32_t* lastbytesOut, uint64_t* lastbytestimeOut);
807 
816 
818 {
820  MediaSelector media = static_cast<MediaSelector>(0);
821 
823  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
826  static constexpr const char* NAME = "ProdEraseStorage";
827  static constexpr const char* DOC_NAME = "ProdEraseStorage";
828  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
829 
830  auto asTuple() const
831  {
832  return std::make_tuple(media);
833  }
834 
835  auto asTuple()
836  {
837  return std::make_tuple(std::ref(media));
838  }
839 
841  void insert(Serializer& serializer) const;
842  void extract(Serializer& serializer);
843 
844  typedef void Response;
845 };
847 
855 
857 {
859  uint8_t primaryColor[3] = {0};
860  uint8_t altColor[3] = {0};
861  LedAction act = static_cast<LedAction>(0);
862  uint32_t period = 0;
863 
865  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
866  static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_rtk::CMD_CONTROL;
868  static constexpr const char* NAME = "LedControl";
869  static constexpr const char* DOC_NAME = "LedControl";
870  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
871 
872  auto asTuple() const
873  {
874  return std::make_tuple(primaryColor,altColor,act,period);
875  }
876 
877  auto asTuple()
878  {
879  return std::make_tuple(std::ref(primaryColor),std::ref(altColor),std::ref(act),std::ref(period));
880  }
881 
883  void insert(Serializer& serializer) const;
884  void extract(Serializer& serializer);
885 
886  typedef void Response;
887 };
888 TypedResult<LedControl> ledControl(C::mip_interface& device, const uint8_t* primarycolor, const uint8_t* altcolor, LedAction act, uint32_t period);
889 
898 
900 {
902  static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_rtk::DESCRIPTOR_SET;
905  static constexpr const char* NAME = "ModemHardReset";
906  static constexpr const char* DOC_NAME = "ModemHardReset";
907  static constexpr const bool HAS_FUNCTION_SELECTOR = false;
908 
909  auto asTuple() const
910  {
911  return std::make_tuple();
912  }
913 
914  auto asTuple()
915  {
916  return std::make_tuple();
917  }
918 
920  void insert(Serializer& serializer) const;
921  void extract(Serializer& serializer);
922 
923  typedef void Response;
924 };
926 
929 
934 } // namespace commands_rtk
935 } // namespace mip
936 
mip::commands_rtk::GetImsi::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:361
mip::commands_rtk::GetImei::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:77
mip::commands_rtk::ModemHardReset::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:906
mip::commands_rtk::REPLY_SERVICE_STATUS
@ REPLY_SERVICE_STATUS
Definition: commands_rtk.hpp:54
mip::commands_rtk::LedControl::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:867
mip::commands_rtk::GetStatusFlags::StatusFlags::signalQuality
void signalQuality(uint32_t val)
Definition: commands_rtk.hpp:177
mip::commands_rtk::GetStatusFlags::StatusFlags
Definition: commands_rtk.hpp:140
mip::commands_rtk::REPLY_GET_STATUS_FLAGS
@ REPLY_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:46
mip::commands_rtk::GetStatusFlags::StatusFlags::serverTimeout
void serverTimeout(bool val)
Definition: commands_rtk.hpp:183
mip::commands_rtk::GetIccid::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:386
mip::commands_rtk::GetActCode::Response::ActivationCode
char ActivationCode[32]
Parameters.
Definition: commands_rtk.hpp:553
mip::commands_rtk::ProdEraseStorage::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:830
mip::commands_rtk::ProdEraseStorage::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:823
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::operator=
StatusFlagsLegacy & operator=(int val)
Definition: commands_rtk.hpp:111
mip::commands_rtk::GetStatusFlags::Response
Definition: commands_rtk.hpp:219
mip::commands_rtk::GetIccid::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:423
mip::commands_rtk::GetActCode::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:531
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::commands_rtk::ConnectedDeviceType::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:494
mip::commands_rtk::LedControl::act
LedAction act
Definition: commands_rtk.hpp:861
mip::commands_rtk::GetStatusFlags::StatusFlags::version
uint32_t version() const
Definition: commands_rtk.hpp:192
mip::commands_rtk::ServiceStatus::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:783
mip::commands_rtk::GetModemFirmwareVersion::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:598
mip::commands_rtk::ServiceStatus::ServiceFlags::operator=
ServiceFlags & operator=(int val)
Definition: commands_rtk.hpp:735
mip::commands_rtk::ServiceStatus::reserved2
uint32_t reserved2
Definition: commands_rtk.hpp:750
mip::commands_rtk::ConnectedDeviceType::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:493
mip::commands_rtk::GetStatusFlags::StatusFlags::correctionsUnavailable
void correctionsUnavailable(bool val)
Definition: commands_rtk.hpp:189
mip::commands_rtk::ConnectedDeviceType::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:459
mip::commands_rtk::GetImsi::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:354
mip::commands_rtk::GetStatusFlags::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:237
mip::commands_rtk::GetRssi::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:387
mip::commands_rtk::ServiceStatus::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:422
mip::commands_rtk::GetStatusFlags::StatusFlags::_enumType
_enumType
Definition: commands_rtk.hpp:143
mip_descriptors.hpp
mip::commands_rtk::getImsi
TypedResult< GetImsi > getImsi(C::mip_interface &device, char *imsiOut)
Definition: commands_rtk.cpp:126
mip::commands_rtk::modemHardReset
TypedResult< ModemHardReset > modemHardReset(C::mip_interface &device)
Definition: commands_rtk.cpp:574
mip::commands_rtk::GetModemFirmwareVersion::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:342
mip::commands_rtk::GetStatusFlags::StatusFlags::operator&=
StatusFlags & operator&=(uint32_t val)
Definition: commands_rtk.hpp:168
mip::commands_rtk::ConnectedDeviceType::Type::GQ7
@ GQ7
mip::commands_rtk::GetImsi::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:327
mip::commands_rtk::GetRssi::Response::rssi
int32_t rssi
Definition: commands_rtk.hpp:679
mip::commands_rtk::GetModemFirmwareVersion::Response
Definition: commands_rtk.hpp:612
mip::commands_rtk::GetImsi::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:324
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::operator=
StatusFlagsLegacy & operator=(uint32_t val)
Definition: commands_rtk.hpp:110
mip::commands_rtk::ServiceStatus::Response::receivedBytes
uint32_t receivedBytes
Definition: commands_rtk.hpp:778
mip::commands_rtk::GetStatusFlags::StatusFlags::modemState
void modemState(uint32_t val)
Definition: commands_rtk.hpp:171
mip::commands_rtk::CMD_CONNECTED_DEVICE_TYPE
@ CMD_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:38
microstrain::Serializer
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
mip::commands_rtk::ServiceStatus::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:758
mip::commands_rtk::GetStatusFlags::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:199
mip::commands_rtk::GetModemFirmwareVersion::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:593
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::setAll
void setAll()
Definition: commands_rtk.hpp:138
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rsrp
uint32_t rsrp() const
Definition: commands_rtk.hpp:131
mip::commands_rtk::ServiceStatus::ServiceFlags::operator&=
ServiceFlags & operator&=(uint8_t val)
Definition: commands_rtk.hpp:737
mip::commands_rtk::GetImei::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:294
mip::commands_rtk::ServiceStatus::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:786
mip::commands_rtk::LedControl::primaryColor
uint8_t primaryColor[3]
Parameters.
Definition: commands_rtk.hpp:859
mip::commands_rtk::ProdEraseStorage::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:828
mip::commands_rtk::GetStatusFlags::StatusFlags::deviceOutOfRange
bool deviceOutOfRange() const
Definition: commands_rtk.hpp:186
mip::commands_rtk::MediaSelector::MEDIA_EXTERNALFLASH
@ MEDIA_EXTERNALFLASH
mip::commands_rtk::ConnectedDeviceType::Response::devType
Type devType
Parameters.
Definition: commands_rtk.hpp:487
mip::commands_rtk::GetRssi::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:655
mip::commands_rtk::ServiceStatus::ServiceFlags::reserved
void reserved(uint8_t val)
Definition: commands_rtk.hpp:744
mip::commands_rtk::GetImei::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:261
mip::commands_rtk::saveConnectedDeviceType
TypedResult< ConnectedDeviceType > saveConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:255
mip::commands_rtk::GetActCode
Definition: commands_rtk.hpp:526
mip::commands_rtk::GetActCode::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:568
mip::commands_rtk::GetActCode::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:285
mip::commands_rtk::ConnectedDeviceType::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:497
mip::commands_rtk::ModemHardReset::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:907
mip::commands_rtk::REPLY_GET_ICCID
@ REPLY_GET_ICCID
Definition: commands_rtk.hpp:49
mip::commands_rtk::ServiceStatus::reserved1
uint32_t reserved1
Parameters.
Definition: commands_rtk.hpp:749
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::operator|=
StatusFlagsLegacy & operator|=(uint32_t val)
Definition: commands_rtk.hpp:112
mip::commands_rtk::getModemFirmwareVersion
TypedResult< GetModemFirmwareVersion > getModemFirmwareVersion(C::mip_interface &device, char *modemfirmwareversionOut)
Definition: commands_rtk.cpp:349
mip::commands_rtk::GetRssi::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:656
mip::commands_rtk::LedControl::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:869
mip::commands_rtk::ConnectedDeviceType::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:188
mip::commands_rtk::GetStatusFlags::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:230
mip::commands_rtk::ModemHardReset::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:903
mip::commands_rtk::GetImei::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:292
mip::commands_rtk::GetRssi::Response::valid
bool valid
Parameters.
Definition: commands_rtk.hpp:678
mip::commands_rtk::GetModemFirmwareVersion::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:596
mip::commands_rtk::GetIccid::asTuple
auto asTuple()
Definition: commands_rtk.hpp:396
mip::commands_rtk::GetImei::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:265
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rsrq
void rsrq(uint32_t val)
Definition: commands_rtk.hpp:134
mip::commands_rtk::GetStatusFlags::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:27
mip::commands_rtk::ServiceStatus::ServiceFlags::correctionsUnavailable
void correctionsUnavailable(bool val)
Definition: commands_rtk.hpp:742
mip::commands_rtk::GetModemFirmwareVersion::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:630
mip::commands_rtk::ProdEraseStorage::media
MediaSelector media
Parameters.
Definition: commands_rtk.hpp:820
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::StatusFlagsLegacy
StatusFlagsLegacy(int val)
Definition: commands_rtk.hpp:108
mip::commands_rtk::GetImsi::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:351
mip::commands_rtk::ConnectedDeviceType::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:209
mip::commands_rtk::CMD_GET_RSSI
@ CMD_GET_RSSI
Definition: commands_rtk.hpp:37
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::allSet
bool allSet() const
Definition: commands_rtk.hpp:137
mip::commands_rtk::GetActCode::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:557
mip::commands_rtk::GetStatusFlags::StatusFlags::rssi
uint32_t rssi() const
Definition: commands_rtk.hpp:174
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::PLATFORMSTATE
@ PLATFORMSTATE
Definition: commands_rtk.hpp:93
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rssi
uint32_t rssi() const
Definition: commands_rtk.hpp:129
mip::commands_rtk::GetActCode::Response
Definition: commands_rtk.hpp:550
mip::commands_rtk::ConnectedDeviceType::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:198
mip::commands_rtk::GetStatusFlags::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:198
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::_enumType
_enumType
Definition: commands_rtk.hpp:89
mip::commands_rtk::GetRssi::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:661
mip::commands_rtk::GetImei::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:71
mip::commands_rtk::ServiceStatus::Response::flags
ServiceFlags flags
Parameters.
Definition: commands_rtk.hpp:777
mip::commands_rtk::GetIccid::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:389
mip::commands_rtk::GetStatusFlags::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:200
mip::commands_rtk::GetStatusFlags::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:229
mip::commands_rtk::GetIccid::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:161
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rssi
void rssi(uint32_t val)
Definition: commands_rtk.hpp:130
mip::commands_rtk::readConnectedDeviceType
TypedResult< ConnectedDeviceType > readConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type *devtypeOut)
Definition: commands_rtk.cpp:232
mip::commands_rtk::LedControl::Response
void Response
Definition: commands_rtk.hpp:886
mip::commands_rtk::GetIccid::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:411
mip::commands_rtk::GetImsi::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:352
mip::commands_rtk::GetStatusFlags::StatusFlags::StatusFlags
StatusFlags(int val)
Definition: commands_rtk.hpp:163
mip::commands_rtk::ServiceStatus::ServiceFlags::throttle
bool throttle() const
Definition: commands_rtk.hpp:739
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::NONE
@ NONE
Definition: commands_rtk.hpp:91
mip::commands_rtk::CMD_GET_ICCID
@ CMD_GET_ICCID
Definition: commands_rtk.hpp:36
mip::commands_rtk::ServiceStatus::ServiceFlags::setAll
void setAll()
Definition: commands_rtk.hpp:746
mip::commands_rtk::ServiceStatus::ServiceFlags::ServiceFlags
ServiceFlags(int val)
Definition: commands_rtk.hpp:732
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::RSSI
@ RSSI
Definition: commands_rtk.hpp:99
mip::commands_rtk::ServiceStatus::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:756
mip::commands_rtk::GetStatusFlags::StatusFlags::connectionType
void connectionType(uint32_t val)
Definition: commands_rtk.hpp:173
mip::commands_rtk::ServiceStatus::ServiceFlags::operator=
ServiceFlags & operator=(uint8_t val)
Definition: commands_rtk.hpp:734
mip::commands_rtk::REPLY_CONNECTED_DEVICE_TYPE
@ REPLY_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:50
mip::commands_rtk::GetModemFirmwareVersion::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:622
mip::commands_rtk::GetActCode::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:560
mip::commands_rtk::CMD_GET_MODEM_FIRMWARE_VERSION
@ CMD_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:40
mip::C::mip_interface
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
mip::commands_rtk::ModemHardReset::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:569
mip::commands_rtk::GetStatusFlags::StatusFlags::CORRECTIONS_TIMEOUT
@ CORRECTIONS_TIMEOUT
Definition: commands_rtk.hpp:153
mip::commands_rtk::GetRssi::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:688
mip::commands_rtk::GetModemFirmwareVersion
Definition: commands_rtk.hpp:588
mip::commands_rtk::GetStatusFlags::StatusFlags::RESERVED
@ RESERVED
Definition: commands_rtk.hpp:156
mip::commands_rtk::getStatusFlags
TypedResult< GetStatusFlags > getStatusFlags(C::mip_interface &device, GetStatusFlags::StatusFlags *flagsOut)
Definition: commands_rtk.cpp:43
mip::commands_rtk::LedControl::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:868
mip::commands_rtk::GetRssi::Response::signalQuality
int32_t signalQuality
Definition: commands_rtk.hpp:680
mip::commands_rtk::GetStatusFlags::StatusFlags::StatusFlags
StatusFlags()
Definition: commands_rtk.hpp:162
mip::commands_rtk::GetImsi::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:353
mip::commands_rtk::ConnectedDeviceType::function
FunctionSelector function
Parameters.
Definition: commands_rtk.hpp:452
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rsrp
void rsrp(uint32_t val)
Definition: commands_rtk.hpp:132
mip::commands_rtk::GetRssi::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:657
mip::commands_rtk::GetIccid::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:413
mip::commands_rtk::GetModemFirmwareVersion::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:619
mip::commands_rtk::ServiceStatus::ServiceFlags::value
uint8_t value
Definition: commands_rtk.hpp:729
mip::commands_rtk::CMD_GET_IMSI
@ CMD_GET_IMSI
Definition: commands_rtk.hpp:35
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::sinr
void sinr(uint32_t val)
Definition: commands_rtk.hpp:136
mip::commands_rtk::MediaSelector::MEDIA_SD
@ MEDIA_SD
mip::commands_rtk::LedControl::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:517
mip::commands_rtk::GetStatusFlags::StatusFlags::rssi
void rssi(uint32_t val)
Definition: commands_rtk.hpp:175
mip::commands_rtk::GetStatusFlags::StatusFlags::NONE
@ NONE
Definition: commands_rtk.hpp:145
mip::commands_rtk::GetStatusFlags::StatusFlags::operator=
StatusFlags & operator=(uint32_t val)
Definition: commands_rtk.hpp:165
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::RSRP
@ RSRP
Definition: commands_rtk.hpp:100
mip::commands_rtk::GetImei::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:263
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::controllerstatuscode
void controllerstatuscode(uint32_t val)
Definition: commands_rtk.hpp:120
mip::commands_rtk::ServiceStatus::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:754
mip::commands_rtk::GetActCode::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:532
mip::commands_rtk::GetStatusFlags::StatusFlags::ALL
@ ALL
Definition: commands_rtk.hpp:158
mip::commands_rtk::getImei
TypedResult< GetImei > getImei(C::mip_interface &device, char *imeiOut)
Definition: commands_rtk.cpp:84
mip::commands_rtk::ModemHardReset::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:909
mip::commands_rtk::GetActCode::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:294
mip::commands_rtk::GetModemFirmwareVersion::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:591
mip::commands_rtk::ConnectedDeviceType::Type::GENERIC
@ GENERIC
mip::commands_rtk::GetStatusFlags::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:37
mip::commands_rtk::GetStatusFlags::StatusFlags::correctionsTimeout
void correctionsTimeout(bool val)
Definition: commands_rtk.hpp:185
mip::commands_rtk::ConnectedDeviceType::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:495
mip::commands_rtk::getActCode
TypedResult< GetActCode > getActCode(C::mip_interface &device, char *activationcodeOut)
Definition: commands_rtk.cpp:307
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::PLATFORMSTATUSCODE
@ PLATFORMSTATUSCODE
Definition: commands_rtk.hpp:95
mip::commands_rtk::ProdEraseStorage::Response
void Response
Definition: commands_rtk.hpp:844
mip::commands_rtk::GetIccid
Definition: commands_rtk.hpp:381
mip::commands_rtk::GetStatusFlags
Definition: commands_rtk.hpp:84
mip::commands_rtk::prodEraseStorage
TypedResult< ProdEraseStorage > prodEraseStorage(C::mip_interface &device, MediaSelector media)
Definition: commands_rtk.cpp:506
mip::commands_rtk::DESCRIPTOR_SET
@ DESCRIPTOR_SET
Definition: commands_rtk.hpp:31
mip::commands_rtk::GetIccid::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:155
mip::commands_rtk::ServiceStatus::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:429
mip::commands_rtk::GetStatusFlags::StatusFlags::NMEA_TIMEOUT
@ NMEA_TIMEOUT
Definition: commands_rtk.hpp:151
mip::commands_rtk::GetIccid::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:388
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::ALL
@ ALL
Definition: commands_rtk.hpp:103
mip::commands_rtk::GetRssi::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:687
mip::commands_rtk::GetRssi::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:686
mip::commands_rtk::REPLY_GET_IMEI
@ REPLY_GET_IMEI
Definition: commands_rtk.hpp:47
mip::commands_rtk::CMD_MODEM_HARD_RESET
@ CMD_MODEM_HARD_RESET
Definition: commands_rtk.hpp:44
mip::commands_rtk::GetRssi
Definition: commands_rtk.hpp:651
mip::commands_rtk::GetIccid::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:150
mip::commands_rtk::LedControl::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:865
mip::commands_rtk::REPLY_GET_IMSI
@ REPLY_GET_IMSI
Definition: commands_rtk.hpp:48
mip::commands_rtk::GetImsi::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:119
mip::commands_rtk::getRssi
TypedResult< GetRssi > getRssi(C::mip_interface &device, bool *validOut, int32_t *rssiOut, int32_t *signalqualityOut)
Definition: commands_rtk.cpp:397
mip::commands_rtk::writeConnectedDeviceType
TypedResult< ConnectedDeviceType > writeConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type devtype)
Definition: commands_rtk.cpp:220
mip::commands_rtk::GetStatusFlags::Response::flags
StatusFlags flags
Parameters.
Definition: commands_rtk.hpp:222
mip::commands_rtk::GetRssi::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:683
mip::commands_rtk::GetStatusFlags::StatusFlags::nmeaTimeout
bool nmeaTimeout() const
Definition: commands_rtk.hpp:180
mip::commands_rtk::GetStatusFlags::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:228
mip::commands_rtk::ConnectedDeviceType::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:457
mip::commands_rtk::GetStatusFlags::StatusFlags::reserved
bool reserved() const
Definition: commands_rtk.hpp:190
mip::commands_rtk::GetRssi::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:654
mip::commands_rtk::GetStatusFlags::StatusFlags::MODEM_STATE
@ MODEM_STATE
Definition: commands_rtk.hpp:146
mip::commands_rtk::GetStatusFlags::StatusFlags::towerChangeIndicator
uint32_t towerChangeIndicator() const
Definition: commands_rtk.hpp:178
mip::commands_rtk::ServiceStatus::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:784
mip::commands_rtk::GetIccid::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:414
mip::commands_rtk::GetStatusFlags::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:203
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::rsrq
uint32_t rsrq() const
Definition: commands_rtk.hpp:133
mip::commands_rtk::GetModemFirmwareVersion::asTuple
auto asTuple()
Definition: commands_rtk.hpp:603
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::RSRQ
@ RSRQ
Definition: commands_rtk.hpp:101
mip::commands_rtk::GetStatusFlags::StatusFlags::connectionType
uint32_t connectionType() const
Definition: commands_rtk.hpp:172
mip::commands_rtk::GetActCode::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:534
mip::commands_rtk::ProdEraseStorage::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:500
mip::commands_rtk::ServiceStatus::ServiceFlags::allSet
bool allSet() const
Definition: commands_rtk.hpp:745
mip::commands_rtk::GetStatusFlags::StatusFlags::SIGNAL_QUALITY
@ SIGNAL_QUALITY
Definition: commands_rtk.hpp:149
mip::commands_rtk::GetImei::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:289
mip::commands_rtk::GetStatusFlags::StatusFlags::serverTimeout
bool serverTimeout() const
Definition: commands_rtk.hpp:182
mip::commands_rtk::ProdEraseStorage::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:826
mip::FunctionSelector
FunctionSelector
Definition: mip_descriptors.hpp:66
mip::commands_rtk::GetIccid::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:146
mip::commands_rtk::ServiceStatus::ServiceFlags::correctionsUnavailable
bool correctionsUnavailable() const
Definition: commands_rtk.hpp:741
mip::commands_rtk::GetActCode::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:300
mip::commands_rtk::GetIccid::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:387
mip::commands_rtk::ConnectedDeviceType::asTuple
auto asTuple()
Definition: commands_rtk.hpp:468
mip::commands_rtk::GetStatusFlags::StatusFlags::allSet
bool allSet() const
Definition: commands_rtk.hpp:194
mip::commands_rtk::LedControl::altColor
uint8_t altColor[3]
Definition: commands_rtk.hpp:860
mip::commands_rtk::GetIccid::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:418
mip::commands_rtk::ConnectedDeviceType::Type
Type
Definition: commands_rtk.hpp:445
mip::commands_rtk::ServiceStatus::ServiceFlags::reserved
uint8_t reserved() const
Definition: commands_rtk.hpp:743
mip::commands_rtk::GetStatusFlags::StatusFlags::Type
uint32_t Type
Definition: commands_rtk.hpp:142
mip::commands_rtk::CMD_GET_ACT_CODE
@ CMD_GET_ACT_CODE
Definition: commands_rtk.hpp:39
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::CONTROLLERSTATE
@ CONTROLLERSTATE
Definition: commands_rtk.hpp:92
mip::commands_rtk::GetImei::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:62
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::CONTROLLERSTATUSCODE
@ CONTROLLERSTATUSCODE
Definition: commands_rtk.hpp:94
mip::commands_rtk::GetModemFirmwareVersion::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:331
mip::commands_rtk::GetStatusFlags::StatusFlags::towerChangeIndicator
void towerChangeIndicator(uint32_t val)
Definition: commands_rtk.hpp:179
mip::commands_rtk::GetImsi::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:325
mip::commands_rtk::GetImsi::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:104
mip::commands_rtk::GetRssi::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:685
mip::commands_rtk::ServiceStatus::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:785
mip::commands_rtk::GetStatusFlags::StatusFlags::operator=
StatusFlags & operator=(int val)
Definition: commands_rtk.hpp:166
mip::commands_rtk::ModemHardReset::asTuple
auto asTuple()
Definition: commands_rtk.hpp:914
mip::commands_rtk::GetActCode::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:536
mip::commands_rtk::GetImei::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:290
mip::commands_rtk::GetImei::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:288
mip::commands_rtk::GetRssi::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:369
mip::commands_rtk::GetIccid::Response::ICCID
char ICCID[32]
Parameters.
Definition: commands_rtk.hpp:408
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::platformstate
void platformstate(uint32_t val)
Definition: commands_rtk.hpp:118
mip::commands_rtk::ServiceStatus::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:760
mip::commands_rtk::GetActCode::asTuple
auto asTuple()
Definition: commands_rtk.hpp:541
mip::commands_rtk::GetModemFirmwareVersion::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:592
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::platformstatuscode
void platformstatuscode(uint32_t val)
Definition: commands_rtk.hpp:122
mip::commands_rtk::ServiceStatus::ServiceFlags::throttle
void throttle(bool val)
Definition: commands_rtk.hpp:740
mip::commands_rtk::GetStatusFlags::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:227
mip::commands_rtk::GetRssi::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:684
mip::commands_rtk::GetActCode::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:559
mip::commands_rtk::GetStatusFlags::StatusFlags::CONNECTION_TYPE
@ CONNECTION_TYPE
Definition: commands_rtk.hpp:147
mip::commands_rtk::GetImsi::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:113
mip::commands_rtk::ServiceStatus::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:795
mip::commands_rtk::GetActCode::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:533
mip::commands_rtk::GetImei::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:260
mip::commands_rtk::LedControl::asTuple
auto asTuple()
Definition: commands_rtk.hpp:877
mip::commands_rtk::GetActCode::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:289
mip::commands_rtk::ServiceStatus::asTuple
auto asTuple()
Definition: commands_rtk.hpp:765
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::StatusFlagsLegacy
StatusFlagsLegacy()
Definition: commands_rtk.hpp:107
mip::commands_rtk::GetActCode::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:529
mip::commands_rtk::GetModemFirmwareVersion::Response::ModemFirmwareVersion
char ModemFirmwareVersion[32]
Parameters.
Definition: commands_rtk.hpp:615
mip::commands_rtk::GetIccid::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:416
mip::commands_rtk::GetImsi::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:323
mip::commands_rtk::ServiceStatus::ServiceFlags::ServiceFlags
ServiceFlags()
Definition: commands_rtk.hpp:731
mip::commands_rtk::GetImsi::Response::IMSI
char IMSI[32]
Parameters.
Definition: commands_rtk.hpp:346
mip::commands_rtk::GetImei::Response
Definition: commands_rtk.hpp:281
mip::commands_rtk::LedAction::LED_PULSATE
@ LED_PULSATE
mip::C::mip_interface
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
mip::commands_rtk::ConnectedDeviceType::Response
Definition: commands_rtk.hpp:484
mip::commands_rtk::GetModemFirmwareVersion::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:594
mip::commands_rtk::GetImei::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:264
mip::commands_rtk::GetImei::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:66
mip::commands_rtk::ServiceStatus::ServiceFlags::ALL
@ ALL
Definition: commands_rtk.hpp:727
mip::commands_rtk::ServiceStatus::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:788
mip::commands_rtk::ServiceStatus::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:787
mip::commands_rtk::ServiceStatus::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:437
mip::commands_rtk::GetImsi::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:350
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::controllerstate
void controllerstate(uint32_t val)
Definition: commands_rtk.hpp:116
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::controllerstatuscode
uint32_t controllerstatuscode() const
Definition: commands_rtk.hpp:119
mip::commands_rtk::LedControl::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:530
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::RESERVED
@ RESERVED
Definition: commands_rtk.hpp:98
mip::commands_rtk::GetActCode::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:563
mip::commands_rtk::ServiceStatus::ServiceFlags::THROTTLE
@ THROTTLE
Definition: commands_rtk.hpp:724
mip::commands_rtk::GetStatusFlags::StatusFlags::CORRECTIONS_UNAVAILABLE
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:155
mip::commands_rtk::GetImei::Response::IMEI
char IMEI[32]
Parameters.
Definition: commands_rtk.hpp:284
mip::commands_rtk::GetImsi::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:329
mip::commands_rtk::ServiceStatus::ServiceFlags
Definition: commands_rtk.hpp:718
mip::commands_rtk::LedControl::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:866
mip::commands_rtk::GetRssi::asTuple
auto asTuple()
Definition: commands_rtk.hpp:666
mip::commands_rtk::ConnectedDeviceType::devType
Type devType
Definition: commands_rtk.hpp:453
mip::commands_rtk::GetStatusFlags::StatusFlags::signalQuality
uint32_t signalQuality() const
Definition: commands_rtk.hpp:176
mip::commands_rtk::GetImei::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:291
mip::commands_rtk::GetStatusFlags::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:225
mip_interface.hpp
mip::commands_rtk::REPLY_GET_ACT_CODE
@ REPLY_GET_ACT_CODE
Definition: commands_rtk.hpp:51
mip::commands_rtk::GetImsi::Response
Definition: commands_rtk.hpp:343
mip::commands_rtk::ServiceStatus::ServiceFlags::NONE
@ NONE
Definition: commands_rtk.hpp:723
mip::commands_rtk::ServiceStatus::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:753
mip::commands_rtk::MediaSelector
MediaSelector
Definition: commands_rtk.hpp:61
mip::commands_rtk::GetImei::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:262
mip::commands_rtk::GetRssi::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:373
mip::commands_rtk::ServiceStatus::ServiceFlags::CORRECTIONS_UNAVAILABLE
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:725
mip::commands_rtk::ConnectedDeviceType::create_sld_all
static ConnectedDeviceType create_sld_all(::mip::FunctionSelector function)
Definition: commands_rtk.hpp:473
mip::commands_rtk::GetStatusFlags::StatusFlags::SERVER_TIMEOUT
@ SERVER_TIMEOUT
Definition: commands_rtk.hpp:152
mip::commands_rtk::LedAction
LedAction
Definition: commands_rtk.hpp:67
mip::commands_rtk::ConnectedDeviceType::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:490
mip::commands_rtk::ConnectedDeviceType::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:492
mip::commands_rtk::GetIccid::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:391
mip::commands_rtk::ProdEraseStorage::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:495
mip::commands_rtk::ServiceStatus::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:790
mip::commands_rtk::ModemHardReset::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:904
mip::commands_rtk::GetImei::asTuple
auto asTuple()
Definition: commands_rtk.hpp:272
mip::commands_rtk::GetStatusFlags::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:226
mip::commands_rtk::REPLY_GET_RSSI
@ REPLY_GET_RSSI
Definition: commands_rtk.hpp:53
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::SIGNALQUALITY
@ SIGNALQUALITY
Definition: commands_rtk.hpp:97
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::reserved
uint32_t reserved() const
Definition: commands_rtk.hpp:127
mip::commands_rtk::ModemHardReset::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:565
mip::commands_rtk::ServiceStatus::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:755
mip::commands_rtk::GetIccid::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:385
mip::commands_rtk::ServiceStatus::Response
Definition: commands_rtk.hpp:774
mip::commands_rtk::ConnectedDeviceType::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:491
mip::commands_rtk::CMD_GET_STATUS_FLAGS
@ CMD_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:33
mip::commands_rtk::GetStatusFlags::StatusFlags::operator|=
StatusFlags & operator|=(uint32_t val)
Definition: commands_rtk.hpp:167
mip::commands_rtk::CMD_PROD_ERASE_STORAGE
@ CMD_PROD_ERASE_STORAGE
Definition: commands_rtk.hpp:42
mip::commands_rtk::GetImei::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:287
mip::commands_rtk::GetIccid::Response
Definition: commands_rtk.hpp:405
mip::commands_rtk::ModemHardReset::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:905
mip::commands_rtk::ServiceStatus
Definition: commands_rtk.hpp:716
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::sinr
uint32_t sinr() const
Definition: commands_rtk.hpp:135
mip::commands_rtk::ConnectedDeviceType::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:458
mip::commands_rtk::GetImei::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:267
mip::commands_rtk::getIccid
TypedResult< GetIccid > getIccid(C::mip_interface &device, char *iccidOut)
Definition: commands_rtk.cpp:168
mip::commands_rtk::GetImsi::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:108
mip::commands_rtk::GetStatusFlags::StatusFlags::value
uint32_t value
Definition: commands_rtk.hpp:160
mip::commands_rtk::GetImsi::asTuple
auto asTuple()
Definition: commands_rtk.hpp:334
mip::commands_rtk::GetImsi::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:322
mip::commands_rtk::ModemHardReset::Response
void Response
Definition: commands_rtk.hpp:923
mip::commands_rtk::LedAction::LED_FLASH
@ LED_FLASH
mip::commands_rtk::LedAction::LED_NONE
@ LED_NONE
mip::commands_rtk::GetStatusFlags::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:32
mip::commands_rtk::LedControl
Definition: commands_rtk.hpp:856
mip::commands_rtk::GetRssi::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:659
mip::commands_rtk::GetStatusFlags::StatusFlags::deviceOutOfRange
void deviceOutOfRange(bool val)
Definition: commands_rtk.hpp:187
mip::commands_rtk::GetModemFirmwareVersion::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:625
mip::commands_rtk::GetImsi::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:356
mip::commands_rtk::ModemHardReset
Definition: commands_rtk.hpp:899
mip::commands_rtk::GetStatusFlags::StatusFlags::DEVICE_OUT_OF_RANGE
@ DEVICE_OUT_OF_RANGE
Definition: commands_rtk.hpp:154
mip::commands_rtk::GetModemFirmwareVersion::Response::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:621
mip::commands_rtk::GetActCode::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:561
mip::commands_rtk::ServiceStatus::Response::lastBytes
uint32_t lastBytes
Definition: commands_rtk.hpp:779
mip::commands_rtk::GetModemFirmwareVersion::Response::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:623
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::reserved
void reserved(uint32_t val)
Definition: commands_rtk.hpp:128
mip::commands_rtk::ServiceStatus::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:448
mip::commands_rtk::ServiceStatus::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:757
mip::commands_rtk::GetStatusFlags::StatusFlags::setAll
void setAll()
Definition: commands_rtk.hpp:195
mip::commands_rtk::ProdEraseStorage
Definition: commands_rtk.hpp:817
mip::commands_rtk::GetStatusFlags::StatusFlags::correctionsUnavailable
bool correctionsUnavailable() const
Definition: commands_rtk.hpp:188
mip::commands_rtk::ledControl
TypedResult< LedControl > ledControl(C::mip_interface &device, const uint8_t *primarycolor, const uint8_t *altcolor, LedAction act, uint32_t period)
Definition: commands_rtk.cpp:544
mip::CompositeDescriptor
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:21
mip::commands_rtk::CMD_GET_IMEI
@ CMD_GET_IMEI
Definition: commands_rtk.hpp:34
mip::commands_rtk::ProdEraseStorage::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:825
mip::commands_rtk::GetImei
Definition: commands_rtk.hpp:257
mip::commands_rtk::GetStatusFlags::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:232
mip::commands_rtk::LedControl::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:872
mip::commands_rtk::ConnectedDeviceType
Definition: commands_rtk.hpp:443
mip::commands_rtk::GetActCode::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:558
mip::commands_rtk::LedControl::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:870
mip::commands_rtk::GetImei::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:299
mip::commands_rtk::LedControl::period
uint32_t period
Definition: commands_rtk.hpp:862
mip::commands_rtk::ConnectedDeviceType::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:463
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy
Definition: commands_rtk.hpp:86
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::Type
uint32_t Type
Definition: commands_rtk.hpp:88
mip::commands_rtk::CMD_CONTROL
@ CMD_CONTROL
Definition: commands_rtk.hpp:43
mip::commands_rtk::GetStatusFlags::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:205
mip::commands_rtk::ConnectedDeviceType::Response::extract
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:214
mip::commands_rtk::GetStatusFlags::StatusFlags::TOWER_CHANGE_INDICATOR
@ TOWER_CHANGE_INDICATOR
Definition: commands_rtk.hpp:150
mip::commands_rtk::ModemHardReset::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:902
mip::commands_rtk::GetRssi::Response
Definition: commands_rtk.hpp:675
mip::commands_rtk::GetIccid::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:384
mip::commands_rtk::GetModemFirmwareVersion::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:327
mip::commands_rtk::CMD_SERVICE_STATUS
@ CMD_SERVICE_STATUS
Definition: commands_rtk.hpp:41
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::resetcode
uint32_t resetcode() const
Definition: commands_rtk.hpp:123
mip::commands_rtk::GetImsi::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:349
mip::commands_rtk::ProdEraseStorage::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:824
mip::commands_rtk::ServiceStatus::ServiceFlags::RESERVED
@ RESERVED
Definition: commands_rtk.hpp:726
mip::commands_rtk::ServiceStatus::Response::lastBytesTime
uint64_t lastBytesTime
Definition: commands_rtk.hpp:780
mip::commands_rtk::GetStatusFlags::StatusFlags::RSSI
@ RSSI
Definition: commands_rtk.hpp:148
mip::commands_rtk::GetStatusFlags::StatusFlags::correctionsTimeout
bool correctionsTimeout() const
Definition: commands_rtk.hpp:184
mip::commands_rtk::GetModemFirmwareVersion::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:595
mip::commands_rtk::GetStatusFlags::StatusFlags::modemState
uint32_t modemState() const
Definition: commands_rtk.hpp:170
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::resetcode
void resetcode(uint32_t val)
Definition: commands_rtk.hpp:124
mip::commands_rtk::ConnectedDeviceType::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:502
mip::commands_rtk::GetModemFirmwareVersion::Response::DESCRIPTOR
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:620
mip::commands_rtk::ProdEraseStorage::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:827
mip::commands_rtk::ServiceStatus::ServiceFlags::operator|=
ServiceFlags & operator|=(uint8_t val)
Definition: commands_rtk.hpp:736
mip::Bitfield
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:61
mip::commands_rtk::ServiceStatus::ServiceFlags::Type
uint8_t Type
Definition: commands_rtk.hpp:720
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::signalquality
uint32_t signalquality() const
Definition: commands_rtk.hpp:125
mip::commands_rtk::GetIccid::Response::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:412
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::controllerstate
uint32_t controllerstate() const
Definition: commands_rtk.hpp:115
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::platformstatuscode
uint32_t platformstatuscode() const
Definition: commands_rtk.hpp:121
mip::commands_rtk::GetRssi::Response::asTuple
auto asTuple()
Definition: commands_rtk.hpp:695
mip::commands_rtk::GetStatusFlags::StatusFlags::VERSION
@ VERSION
Definition: commands_rtk.hpp:157
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::RESETCODE
@ RESETCODE
Definition: commands_rtk.hpp:96
mip::commands_rtk::ProdEraseStorage::asTuple
auto asTuple()
Definition: commands_rtk.hpp:835
mip::commands_rtk::GetImsi
Definition: commands_rtk.hpp:319
mip::commands_rtk::GetStatusFlags::StatusFlags::nmeaTimeout
void nmeaTimeout(bool val)
Definition: commands_rtk.hpp:181
mip::commands_rtk::GetModemFirmwareVersion::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:336
mip::TypedResult
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:97
mip::commands_rtk::GetImsi::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:326
mip::commands_rtk::loadConnectedDeviceType
TypedResult< ConnectedDeviceType > loadConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:265
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::SINR
@ SINR
Definition: commands_rtk.hpp:102
mip::commands_rtk::defaultConnectedDeviceType
TypedResult< ConnectedDeviceType > defaultConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:275
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::value
uint32_t value
Definition: commands_rtk.hpp:105
mip::commands_rtk::ConnectedDeviceType::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:456
mip::commands_rtk::ConnectedDeviceType::HAS_FUNCTION_SELECTOR
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:461
common.hpp
mip::commands_rtk::GetIccid::Response::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:415
mip::commands_rtk::ServiceStatus::ServiceFlags::_enumType
_enumType
Definition: commands_rtk.hpp:721
mip::commands_rtk::GetRssi::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:658
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::operator&=
StatusFlagsLegacy & operator&=(uint32_t val)
Definition: commands_rtk.hpp:113
mip::commands_rtk::GetRssi::Response::asTuple
auto asTuple() const
Definition: commands_rtk.hpp:690
mip::commands_rtk::GetActCode::FIELD_DESCRIPTOR
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:530
mip_result.hpp
mip::commands_rtk::GetRssi::Response::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:378
mip::commands_rtk::GetStatusFlags::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:202
mip::commands_rtk::GetActCode::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:556
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::platformstate
uint32_t platformstate() const
Definition: commands_rtk.hpp:117
mip::commands_rtk::ConnectedDeviceType::DOC_NAME
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:460
mip::commands_rtk::GetStatusFlags::insert
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:23
mip::commands_rtk::serviceStatus
TypedResult< ServiceStatus > serviceStatus(C::mip_interface &device, uint32_t reserved1, uint32_t reserved2, ServiceStatus::ServiceFlags *flagsOut, uint32_t *receivedbytesOut, uint32_t *lastbytesOut, uint64_t *lastbytestimeOut)
Definition: commands_rtk.cpp:460
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy::signalquality
void signalquality(uint32_t val)
Definition: commands_rtk.hpp:126
mip::commands_rtk::GetStatusFlags::StatusFlags::reserved
void reserved(bool val)
Definition: commands_rtk.hpp:191
mip::commands_rtk::GetStatusFlags::NAME
static constexpr const char * NAME
Definition: commands_rtk.hpp:201
mip::commands_rtk::GetStatusFlags::StatusFlags::version
void version(uint32_t val)
Definition: commands_rtk.hpp:193
mip::commands_rtk::GetModemFirmwareVersion::Response::DESCRIPTOR_SET
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:618
mip::commands_rtk::REPLY_GET_MODEM_FIRMWARE_VERSION
@ REPLY_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:52
mip::commands_rtk::GetStatusFlags::asTuple
auto asTuple()
Definition: commands_rtk.hpp:210