MIP_SDK  v3.0.0-208-gdb90bae
MicroStrain Communications Library for embedded systems
commands_rtk.hpp
Go to the documentation of this file.
1 #pragma once
2 
5 
7 
8 namespace mip::metadata
9 {
10 
11 
12 template<>
13 struct MetadataFor<commands_rtk::GetStatusFlags::StatusFlagsLegacy>
14 {
16 
17  static constexpr inline BitfieldInfo::Entry entries[] = {
18  { uint32_t(7), "controllerState", "" },
19  { uint32_t(248), "platformState", "" },
20  { uint32_t(1792), "controllerStatusCode", "" },
21  { uint32_t(14336), "platformStatusCode", "" },
22  { uint32_t(49152), "resetCode", "" },
23  { uint32_t(983040), "signalQuality", "" },
24  { uint32_t(4293918720), "reserved", "" },
25  { uint32_t(66060288), "rssi", "" },
26  { uint32_t(201326592), "rsrp", "" },
27  { uint32_t(805306368), "rsrq", "" },
28  { uint32_t(3221225472), "sinr", "" },
29  };
30 
31  static constexpr inline BitfieldInfo value = {
32  /* .name = */ "StatusFlagsLegacy",
33  /* .docs = */ "",
34  /* .type = */ Type::U32,
35  /* .entries = */ entries,
36  };
37 
38 };
39 
40 template<>
41 struct MetadataFor<commands_rtk::GetStatusFlags::StatusFlags>
42 {
44 
45  static constexpr inline BitfieldInfo::Entry entries[] = {
46  { uint32_t(15), "modem_state", "" },
47  { uint32_t(240), "connection_type", "" },
48  { uint32_t(65280), "rssi", "" },
49  { uint32_t(983040), "signal_quality", "" },
50  { uint32_t(15728640), "tower_change_indicator", "" },
51  { uint32_t(16777216), "nmea_timeout", "" },
52  { uint32_t(33554432), "server_timeout", "" },
53  { uint32_t(67108864), "corrections_timeout", "" },
54  { uint32_t(134217728), "device_out_of_range", "" },
55  { uint32_t(268435456), "corrections_unavailable", "" },
56  { uint32_t(536870912), "reserved", "" },
57  { uint32_t(3221225472), "version", "" },
58  };
59 
60  static constexpr inline BitfieldInfo value = {
61  /* .name = */ "StatusFlags",
62  /* .docs = */ "",
63  /* .type = */ Type::U32,
64  /* .entries = */ entries,
65  };
66 
67 };
68 
69 template<>
70 struct MetadataFor<commands_rtk::GetStatusFlags::Response>
71 {
73 
74  static constexpr inline ParameterInfo parameters[] = {
75  {
76  /* .name = */ "flags",
77  /* .docs = */ "Model number dependent. See above structures.",
79  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::GetStatusFlags::StatusFlags, &type::flags>,
80  /* .attributes = */ {true, false, false, false, false},
81  /* .count = */ 1,
82  /* .condition = */ {},
83  },
84  };
85 
86  static constexpr inline FieldInfo value = {
87  {
88  /* .name = */ "commands_rtk::GetStatusFlags::Response",
89  /* .title = */ "response",
90  /* .docs = */ "",
91  /* .parameters = */ parameters,
92  },
93  /* .descriptor = */ type::DESCRIPTOR,
94  /* .functions = */ NO_FUNCTIONS,
95  /* .response = */ nullptr,
96  };
97 };
98 
99 template<>
100 struct MetadataFor<commands_rtk::GetStatusFlags>
101 {
103 
104  static constexpr inline FieldInfo value = {
105  {
106  /* .name = */ "commands_rtk::GetStatusFlags",
107  /* .title = */ "Get RTK Device Status Flags",
108  /* .docs = */ "",
109  /* .parameters = */ {},
110  },
111  /* .descriptor = */ type::DESCRIPTOR,
112  /* .functions = */ NO_FUNCTIONS,
113  /* .response = */ &MetadataFor<type::Response>::value,
114  };
115 };
116 
117 template<>
118 struct MetadataFor<commands_rtk::GetImei::Response>
119 {
121 
122  static constexpr inline ParameterInfo parameters[] = {
123  {
124  /* .name = */ "IMEI",
125  /* .docs = */ "",
126  /* .type = */ {Type::CHAR, nullptr},
127  /* .accessor = */ nullptr, //utils::access<type, char, &type::IMEI>,
128  /* .attributes = */ {true, false, false, false, false},
129  /* .count = */ 32,
130  /* .condition = */ {},
131  },
132  };
133 
134  static constexpr inline FieldInfo value = {
135  {
136  /* .name = */ "commands_rtk::GetImei::Response",
137  /* .title = */ "response",
138  /* .docs = */ "",
139  /* .parameters = */ parameters,
140  },
141  /* .descriptor = */ type::DESCRIPTOR,
142  /* .functions = */ NO_FUNCTIONS,
143  /* .response = */ nullptr,
144  };
145 };
146 
147 template<>
148 struct MetadataFor<commands_rtk::GetImei>
149 {
151 
152  static constexpr inline FieldInfo value = {
153  {
154  /* .name = */ "commands_rtk::GetImei",
155  /* .title = */ "Get RTK Device IMEI (International Mobile Equipment Identifier)",
156  /* .docs = */ "",
157  /* .parameters = */ {},
158  },
159  /* .descriptor = */ type::DESCRIPTOR,
160  /* .functions = */ NO_FUNCTIONS,
161  /* .response = */ &MetadataFor<type::Response>::value,
162  };
163 };
164 
165 template<>
166 struct MetadataFor<commands_rtk::GetImsi::Response>
167 {
169 
170  static constexpr inline ParameterInfo parameters[] = {
171  {
172  /* .name = */ "IMSI",
173  /* .docs = */ "",
174  /* .type = */ {Type::CHAR, nullptr},
175  /* .accessor = */ nullptr, //utils::access<type, char, &type::IMSI>,
176  /* .attributes = */ {true, false, false, false, false},
177  /* .count = */ 32,
178  /* .condition = */ {},
179  },
180  };
181 
182  static constexpr inline FieldInfo value = {
183  {
184  /* .name = */ "commands_rtk::GetImsi::Response",
185  /* .title = */ "response",
186  /* .docs = */ "",
187  /* .parameters = */ parameters,
188  },
189  /* .descriptor = */ type::DESCRIPTOR,
190  /* .functions = */ NO_FUNCTIONS,
191  /* .response = */ nullptr,
192  };
193 };
194 
195 template<>
196 struct MetadataFor<commands_rtk::GetImsi>
197 {
199 
200  static constexpr inline FieldInfo value = {
201  {
202  /* .name = */ "commands_rtk::GetImsi",
203  /* .title = */ "Get RTK Device IMSI (International Mobile Subscriber Identifier)",
204  /* .docs = */ "",
205  /* .parameters = */ {},
206  },
207  /* .descriptor = */ type::DESCRIPTOR,
208  /* .functions = */ NO_FUNCTIONS,
209  /* .response = */ &MetadataFor<type::Response>::value,
210  };
211 };
212 
213 template<>
214 struct MetadataFor<commands_rtk::GetIccid::Response>
215 {
217 
218  static constexpr inline ParameterInfo parameters[] = {
219  {
220  /* .name = */ "ICCID",
221  /* .docs = */ "",
222  /* .type = */ {Type::CHAR, nullptr},
223  /* .accessor = */ nullptr, //utils::access<type, char, &type::ICCID>,
224  /* .attributes = */ {true, false, false, false, false},
225  /* .count = */ 32,
226  /* .condition = */ {},
227  },
228  };
229 
230  static constexpr inline FieldInfo value = {
231  {
232  /* .name = */ "commands_rtk::GetIccid::Response",
233  /* .title = */ "response",
234  /* .docs = */ "",
235  /* .parameters = */ parameters,
236  },
237  /* .descriptor = */ type::DESCRIPTOR,
238  /* .functions = */ NO_FUNCTIONS,
239  /* .response = */ nullptr,
240  };
241 };
242 
243 template<>
244 struct MetadataFor<commands_rtk::GetIccid>
245 {
247 
248  static constexpr inline FieldInfo value = {
249  {
250  /* .name = */ "commands_rtk::GetIccid",
251  /* .title = */ "Get RTK Device ICCID (Integrated Circuit Card Identification [SIM Number])",
252  /* .docs = */ "",
253  /* .parameters = */ {},
254  },
255  /* .descriptor = */ type::DESCRIPTOR,
256  /* .functions = */ NO_FUNCTIONS,
257  /* .response = */ &MetadataFor<type::Response>::value,
258  };
259 };
260 
261 template<>
263 {
265 
266  static constexpr inline EnumInfo::Entry entries[] = {
267  { uint32_t(0), "GENERIC", "" },
268  { uint32_t(1), "GQ7", "" },
269  };
270 
271  static constexpr inline EnumInfo value = {
272  /* .name = */ "Type",
273  /* .docs = */ "",
274  /* .type = */ Type::U8,
275  /* .entries = */ entries,
276  };
277 
278 };
279 
280 template<>
281 struct MetadataFor<commands_rtk::ConnectedDeviceType::Response>
282 {
284 
285  static constexpr inline ParameterInfo parameters[] = {
286  {
287  /* .name = */ "devType",
288  /* .docs = */ "",
290  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::ConnectedDeviceType::Type, &type::devType>,
291  /* .attributes = */ {true, false, false, false, false},
292  /* .count = */ 1,
293  /* .condition = */ {},
294  },
295  };
296 
297  static constexpr inline FieldInfo value = {
298  {
299  /* .name = */ "commands_rtk::ConnectedDeviceType::Response",
300  /* .title = */ "response",
301  /* .docs = */ "",
302  /* .parameters = */ parameters,
303  },
304  /* .descriptor = */ type::DESCRIPTOR,
305  /* .functions = */ NO_FUNCTIONS,
306  /* .response = */ nullptr,
307  };
308 };
309 
310 template<>
311 struct MetadataFor<commands_rtk::ConnectedDeviceType>
312 {
314 
315  static constexpr inline ParameterInfo parameters[] = {
316  FUNCTION_SELECTOR_PARAM,
317  {
318  /* .name = */ "devType",
319  /* .docs = */ "",
321  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::ConnectedDeviceType::Type, &type::devType>,
322  /* .attributes = */ {true, false, false, false, false},
323  /* .count = */ 1,
324  /* .condition = */ {},
325  },
326  };
327 
328  static constexpr inline FieldInfo value = {
329  {
330  /* .name = */ "commands_rtk::ConnectedDeviceType",
331  /* .title = */ "Configure or read the type of the connected device",
332  /* .docs = */ "",
333  /* .parameters = */ parameters,
334  },
335  /* .descriptor = */ type::DESCRIPTOR,
336  /* .functions = */ {true, true, true, true, true},
337  /* .response = */ &MetadataFor<type::Response>::value,
338  };
339 };
340 
341 template<>
342 struct MetadataFor<commands_rtk::GetActCode::Response>
343 {
345 
346  static constexpr inline ParameterInfo parameters[] = {
347  {
348  /* .name = */ "ActivationCode",
349  /* .docs = */ "",
350  /* .type = */ {Type::CHAR, nullptr},
351  /* .accessor = */ nullptr, //utils::access<type, char, &type::ActivationCode>,
352  /* .attributes = */ {true, false, false, false, false},
353  /* .count = */ 32,
354  /* .condition = */ {},
355  },
356  };
357 
358  static constexpr inline FieldInfo value = {
359  {
360  /* .name = */ "commands_rtk::GetActCode::Response",
361  /* .title = */ "response",
362  /* .docs = */ "",
363  /* .parameters = */ parameters,
364  },
365  /* .descriptor = */ type::DESCRIPTOR,
366  /* .functions = */ NO_FUNCTIONS,
367  /* .response = */ nullptr,
368  };
369 };
370 
371 template<>
372 struct MetadataFor<commands_rtk::GetActCode>
373 {
375 
376  static constexpr inline FieldInfo value = {
377  {
378  /* .name = */ "commands_rtk::GetActCode",
379  /* .title = */ "Get RTK Device Activation Code",
380  /* .docs = */ "",
381  /* .parameters = */ {},
382  },
383  /* .descriptor = */ type::DESCRIPTOR,
384  /* .functions = */ NO_FUNCTIONS,
385  /* .response = */ &MetadataFor<type::Response>::value,
386  };
387 };
388 
389 template<>
390 struct MetadataFor<commands_rtk::GetModemFirmwareVersion::Response>
391 {
393 
394  static constexpr inline ParameterInfo parameters[] = {
395  {
396  /* .name = */ "ModemFirmwareVersion",
397  /* .docs = */ "",
398  /* .type = */ {Type::CHAR, nullptr},
399  /* .accessor = */ nullptr, //utils::access<type, char, &type::ModemFirmwareVersion>,
400  /* .attributes = */ {true, false, false, false, false},
401  /* .count = */ 32,
402  /* .condition = */ {},
403  },
404  };
405 
406  static constexpr inline FieldInfo value = {
407  {
408  /* .name = */ "commands_rtk::GetModemFirmwareVersion::Response",
409  /* .title = */ "response",
410  /* .docs = */ "",
411  /* .parameters = */ parameters,
412  },
413  /* .descriptor = */ type::DESCRIPTOR,
414  /* .functions = */ NO_FUNCTIONS,
415  /* .response = */ nullptr,
416  };
417 };
418 
419 template<>
420 struct MetadataFor<commands_rtk::GetModemFirmwareVersion>
421 {
423 
424  static constexpr inline FieldInfo value = {
425  {
426  /* .name = */ "commands_rtk::GetModemFirmwareVersion",
427  /* .title = */ "Get RTK Device's Cell Modem Firmware version number",
428  /* .docs = */ "",
429  /* .parameters = */ {},
430  },
431  /* .descriptor = */ type::DESCRIPTOR,
432  /* .functions = */ NO_FUNCTIONS,
433  /* .response = */ &MetadataFor<type::Response>::value,
434  };
435 };
436 
437 template<>
438 struct MetadataFor<commands_rtk::GetRssi::Response>
439 {
441 
442  static constexpr inline ParameterInfo parameters[] = {
443  {
444  /* .name = */ "valid",
445  /* .docs = */ "",
446  /* .type = */ {Type::BOOL, nullptr},
447  /* .accessor = */ nullptr, //utils::access<type, bool, &type::valid>,
448  /* .attributes = */ {true, false, false, false, false},
449  /* .count = */ 1,
450  /* .condition = */ {},
451  },
452  {
453  /* .name = */ "rssi",
454  /* .docs = */ "",
455  /* .type = */ {Type::S32, nullptr},
456  /* .accessor = */ nullptr, //utils::access<type, int32_t, &type::rssi>,
457  /* .attributes = */ {true, false, false, false, false},
458  /* .count = */ 1,
459  /* .condition = */ {},
460  },
461  {
462  /* .name = */ "signalQuality",
463  /* .docs = */ "",
464  /* .type = */ {Type::S32, nullptr},
465  /* .accessor = */ nullptr, //utils::access<type, int32_t, &type::signalQuality>,
466  /* .attributes = */ {true, false, false, false, false},
467  /* .count = */ 1,
468  /* .condition = */ {},
469  },
470  };
471 
472  static constexpr inline FieldInfo value = {
473  {
474  /* .name = */ "commands_rtk::GetRssi::Response",
475  /* .title = */ "response",
476  /* .docs = */ "",
477  /* .parameters = */ parameters,
478  },
479  /* .descriptor = */ type::DESCRIPTOR,
480  /* .functions = */ NO_FUNCTIONS,
481  /* .response = */ nullptr,
482  };
483 };
484 
485 template<>
486 struct MetadataFor<commands_rtk::GetRssi>
487 {
489 
490  static constexpr inline FieldInfo value = {
491  {
492  /* .name = */ "commands_rtk::GetRssi",
493  /* .title = */ "get_rssi",
494  /* .docs = */ "Get the RSSI and connected/disconnected status of modem",
495  /* .parameters = */ {},
496  },
497  /* .descriptor = */ type::DESCRIPTOR,
498  /* .functions = */ NO_FUNCTIONS,
499  /* .response = */ &MetadataFor<type::Response>::value,
500  };
501 };
502 
503 template<>
504 struct MetadataFor<commands_rtk::ServiceStatus::ServiceFlags>
505 {
507 
508  static constexpr inline BitfieldInfo::Entry entries[] = {
509  { uint32_t(1), "throttle", "" },
510  { uint32_t(2), "corrections_unavailable", "" },
511  { uint32_t(252), "reserved", "" },
512  };
513 
514  static constexpr inline BitfieldInfo value = {
515  /* .name = */ "ServiceFlags",
516  /* .docs = */ "",
517  /* .type = */ Type::U8,
518  /* .entries = */ entries,
519  };
520 
521 };
522 
523 template<>
524 struct MetadataFor<commands_rtk::ServiceStatus::Response>
525 {
527 
528  static constexpr inline ParameterInfo parameters[] = {
529  {
530  /* .name = */ "flags",
531  /* .docs = */ "",
533  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::ServiceStatus::ServiceFlags, &type::flags>,
534  /* .attributes = */ {true, false, false, false, false},
535  /* .count = */ 1,
536  /* .condition = */ {},
537  },
538  {
539  /* .name = */ "receivedBytes",
540  /* .docs = */ "",
541  /* .type = */ {Type::U32, nullptr},
542  /* .accessor = */ nullptr, //utils::access<type, uint32_t, &type::receivedBytes>,
543  /* .attributes = */ {true, false, false, false, false},
544  /* .count = */ 1,
545  /* .condition = */ {},
546  },
547  {
548  /* .name = */ "lastBytes",
549  /* .docs = */ "",
550  /* .type = */ {Type::U32, nullptr},
551  /* .accessor = */ nullptr, //utils::access<type, uint32_t, &type::lastBytes>,
552  /* .attributes = */ {true, false, false, false, false},
553  /* .count = */ 1,
554  /* .condition = */ {},
555  },
556  {
557  /* .name = */ "lastBytesTime",
558  /* .docs = */ "",
559  /* .type = */ {Type::U64, nullptr},
560  /* .accessor = */ nullptr, //utils::access<type, uint64_t, &type::lastBytesTime>,
561  /* .attributes = */ {true, false, false, false, false},
562  /* .count = */ 1,
563  /* .condition = */ {},
564  },
565  };
566 
567  static constexpr inline FieldInfo value = {
568  {
569  /* .name = */ "commands_rtk::ServiceStatus::Response",
570  /* .title = */ "response",
571  /* .docs = */ "",
572  /* .parameters = */ parameters,
573  },
574  /* .descriptor = */ type::DESCRIPTOR,
575  /* .functions = */ NO_FUNCTIONS,
576  /* .response = */ nullptr,
577  };
578 };
579 
580 template<>
581 struct MetadataFor<commands_rtk::ServiceStatus>
582 {
584 
585  static constexpr inline ParameterInfo parameters[] = {
586  {
587  /* .name = */ "reserved1",
588  /* .docs = */ "",
589  /* .type = */ {Type::U32, nullptr},
590  /* .accessor = */ nullptr, //utils::access<type, uint32_t, &type::reserved1>,
591  /* .attributes = */ {true, false, false, false, false},
592  /* .count = */ 1,
593  /* .condition = */ {},
594  },
595  {
596  /* .name = */ "reserved2",
597  /* .docs = */ "",
598  /* .type = */ {Type::U32, nullptr},
599  /* .accessor = */ nullptr, //utils::access<type, uint32_t, &type::reserved2>,
600  /* .attributes = */ {true, false, false, false, false},
601  /* .count = */ 1,
602  /* .condition = */ {},
603  },
604  };
605 
606  static constexpr inline FieldInfo value = {
607  {
608  /* .name = */ "commands_rtk::ServiceStatus",
609  /* .title = */ "service_status",
610  /* .docs = */ "The 3DMRTK will send this message to the server to indicate that the connection should remain open. The Server will respond with information and status.",
611  /* .parameters = */ parameters,
612  },
613  /* .descriptor = */ type::DESCRIPTOR,
614  /* .functions = */ NO_FUNCTIONS,
615  /* .response = */ &MetadataFor<type::Response>::value,
616  };
617 };
618 
619 template<>
620 struct MetadataFor<commands_rtk::MediaSelector>
621 {
623 
624  static constexpr inline EnumInfo::Entry entries[] = {
625  { uint32_t(0), "MEDIA_ExternalFlash", "" },
626  { uint32_t(1), "MEDIA_SD", "" },
627  };
628 
629  static constexpr inline EnumInfo value = {
630  /* .name = */ "MediaSelector",
631  /* .docs = */ "",
632  /* .type = */ Type::U8,
633  /* .entries = */ entries,
634  };
635 
636 };
637 
638 template<>
639 struct MetadataFor<commands_rtk::ProdEraseStorage>
640 {
642 
643  static constexpr inline ParameterInfo parameters[] = {
644  {
645  /* .name = */ "media",
646  /* .docs = */ "",
648  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::MediaSelector, &type::media>,
649  /* .attributes = */ {true, false, false, false, false},
650  /* .count = */ 1,
651  /* .condition = */ {},
652  },
653  };
654 
655  static constexpr inline FieldInfo value = {
656  {
657  /* .name = */ "commands_rtk::ProdEraseStorage",
658  /* .title = */ "prod_erase_storage",
659  /* .docs = */ "This command will erase the selected media to a raw and uninitialized state. ALL DATA WILL BE LOST.\nThis command is only available in calibration mode.",
660  /* .parameters = */ parameters,
661  },
662  /* .descriptor = */ type::DESCRIPTOR,
663  /* .functions = */ NO_FUNCTIONS,
664  /* .response = */ nullptr,
665  };
666 };
667 
668 template<>
669 struct MetadataFor<commands_rtk::LedAction>
670 {
672 
673  static constexpr inline EnumInfo::Entry entries[] = {
674  { uint32_t(0), "LED_NONE", "" },
675  { uint32_t(1), "LED_FLASH", "" },
676  { uint32_t(2), "LED_PULSATE", "" },
677  };
678 
679  static constexpr inline EnumInfo value = {
680  /* .name = */ "LedAction",
681  /* .docs = */ "",
682  /* .type = */ Type::U8,
683  /* .entries = */ entries,
684  };
685 
686 };
687 
688 template<>
689 struct MetadataFor<commands_rtk::LedControl>
690 {
692 
693  static constexpr inline ParameterInfo parameters[] = {
694  {
695  /* .name = */ "primaryColor",
696  /* .docs = */ "",
697  /* .type = */ {Type::U8, nullptr},
698  /* .accessor = */ nullptr, //utils::access<type, uint8_t, &type::primaryColor>,
699  /* .attributes = */ {true, false, false, false, false},
700  /* .count = */ 3,
701  /* .condition = */ {},
702  },
703  {
704  /* .name = */ "altColor",
705  /* .docs = */ "",
706  /* .type = */ {Type::U8, nullptr},
707  /* .accessor = */ nullptr, //utils::access<type, uint8_t, &type::altColor>,
708  /* .attributes = */ {true, false, false, false, false},
709  /* .count = */ 3,
710  /* .condition = */ {},
711  },
712  {
713  /* .name = */ "act",
714  /* .docs = */ "",
716  /* .accessor = */ nullptr, //utils::access<type, commands_rtk::LedAction, &type::act>,
717  /* .attributes = */ {true, false, false, false, false},
718  /* .count = */ 1,
719  /* .condition = */ {},
720  },
721  {
722  /* .name = */ "period",
723  /* .docs = */ "",
724  /* .type = */ {Type::U32, nullptr},
725  /* .accessor = */ nullptr, //utils::access<type, uint32_t, &type::period>,
726  /* .attributes = */ {true, false, false, false, false},
727  /* .count = */ 1,
728  /* .condition = */ {},
729  },
730  };
731 
732  static constexpr inline FieldInfo value = {
733  {
734  /* .name = */ "commands_rtk::LedControl",
735  /* .title = */ "led_control",
736  /* .docs = */ "This command allows direct control of the LED on the 3DM RTK. This command is only available in calibration mode or Production Test Mode.",
737  /* .parameters = */ parameters,
738  },
739  /* .descriptor = */ type::DESCRIPTOR,
740  /* .functions = */ NO_FUNCTIONS,
741  /* .response = */ nullptr,
742  };
743 };
744 
745 template<>
746 struct MetadataFor<commands_rtk::ModemHardReset>
747 {
749 
750  static constexpr inline FieldInfo value = {
751  {
752  /* .name = */ "commands_rtk::ModemHardReset",
753  /* .title = */ "modem_hard_reset",
754  /* .docs = */ "This command will clear the modem flash. THIS MUST NOT BE DONE OFTEN AS IT CAN DAMAGE THE FLASH!\nThis command is only available in calibration mode.",
755  /* .parameters = */ {},
756  },
757  /* .descriptor = */ type::DESCRIPTOR,
758  /* .functions = */ NO_FUNCTIONS,
759  /* .response = */ nullptr,
760  };
761 };
762 
763 
764 static constexpr inline const FieldInfo* COMMANDS_RTK_FIELDS[] = {
786 };
787 
788 static constexpr DescriptorSetInfo COMMANDS_RTK = {
789  /* .descriptor = */ mip::commands_rtk::DESCRIPTOR_SET,
790  /* .name = */ "Rtk Commands",
791  /* .fields = */ COMMANDS_RTK_FIELDS,
792 };
793 
794 } // namespace mip::metadata
795 
mip::commands_rtk::GetStatusFlags::StatusFlags
Definition: commands_rtk.hpp:140
mip::commands_rtk::GetStatusFlags::Response
Definition: commands_rtk.hpp:219
mip::metadata::MetadataFor< commands_rtk::GetRssi >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:490
mip::metadata::MetadataFor< commands_rtk::GetStatusFlags >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:104
common.hpp
mip::commands_rtk::GetModemFirmwareVersion::Response
Definition: commands_rtk.hpp:612
mip::metadata::MetadataFor< commands_rtk::LedControl >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:732
mip::metadata::Type::ENUM
@ ENUM
commands_rtk.hpp
mip::commands_rtk::GetActCode
Definition: commands_rtk.hpp:526
mip::metadata::BitfieldInfo
Definition: mip_structures.hpp:89
mip::metadata
Definition: common.hpp:8
mip::metadata::MetadataFor< commands_rtk::GetImsi::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:182
mip::commands_rtk::GetActCode::Response
Definition: commands_rtk.hpp:550
mip::metadata::MetadataFor< commands_rtk::GetIccid >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:248
mip::metadata::MetadataFor< commands_rtk::GetImei::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:134
mip::metadata::MetadataFor< commands_rtk::ConnectedDeviceType::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:297
mip::metadata::MetadataFor< commands_rtk::GetIccid::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:230
mip::commands_rtk::GetModemFirmwareVersion
Definition: commands_rtk.hpp:588
mip::metadata::MetadataFor
Definition: mip_metadata.hpp:13
mip::metadata::MetadataFor< commands_rtk::GetRssi::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:472
mip::commands_rtk::GetIccid
Definition: commands_rtk.hpp:381
mip::commands_rtk::GetStatusFlags
Definition: commands_rtk.hpp:84
mip::commands_rtk::DESCRIPTOR_SET
@ DESCRIPTOR_SET
Definition: commands_rtk.hpp:31
mip::metadata::Type::S32
@ S32
mip::commands_rtk::GetRssi
Definition: commands_rtk.hpp:651
mip::metadata::Type
Type
Definition: mip_structures.hpp:21
mip::metadata::Type::CHAR
@ CHAR
mip::metadata::MetadataFor< commands_rtk::GetModemFirmwareVersion >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:424
mip::metadata::ParameterInfo
Definition: mip_structures.hpp:158
mip::metadata::EnumInfo::Entry
Definition: mip_structures.hpp:65
mip::metadata::MetadataFor< commands_rtk::ServiceStatus::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:567
mip_metadata.hpp
mip::commands_rtk::ConnectedDeviceType::Type
Type
Definition: commands_rtk.hpp:445
mip::metadata::MetadataFor< commands_rtk::ConnectedDeviceType >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:328
mip::metadata::MetadataFor< commands_rtk::ServiceStatus >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:606
mip::commands_rtk::GetImei::Response
Definition: commands_rtk.hpp:281
mip::commands_rtk::ConnectedDeviceType::Response
Definition: commands_rtk.hpp:484
mip::metadata::Type::U64
@ U64
mip::metadata::Type::BOOL
@ BOOL
mip::metadata::FieldInfo
Definition: mip_structures.hpp:212
mip::metadata::Type::U8
@ U8
mip::commands_rtk::ServiceStatus::ServiceFlags
Definition: commands_rtk.hpp:718
mip::metadata::MetadataFor< commands_rtk::ModemHardReset >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:750
mip::commands_rtk::GetImsi::Response
Definition: commands_rtk.hpp:343
mip::commands_rtk::MediaSelector
MediaSelector
Definition: commands_rtk.hpp:61
mip::commands_rtk::LedAction
LedAction
Definition: commands_rtk.hpp:67
mip::metadata::MetadataFor< commands_rtk::GetImei >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:152
mip::metadata::MetadataFor< commands_rtk::GetActCode::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:358
mip::metadata::MetadataFor< commands_rtk::ProdEraseStorage >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:655
mip::commands_rtk::ServiceStatus::Response
Definition: commands_rtk.hpp:774
mip::commands_rtk::GetIccid::Response
Definition: commands_rtk.hpp:405
mip::commands_rtk::ServiceStatus
Definition: commands_rtk.hpp:716
mip::metadata::MetadataFor< commands_rtk::GetModemFirmwareVersion::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:406
mip::metadata::EnumInfo
Definition: mip_structures.hpp:63
mip::metadata::MetadataFor< commands_rtk::GetActCode >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:376
mip::metadata::MetadataFor< commands_rtk::GetImsi >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:200
mip::commands_rtk::LedControl
Definition: commands_rtk.hpp:856
mip::commands_rtk::ModemHardReset
Definition: commands_rtk.hpp:899
mip::commands_rtk::ProdEraseStorage
Definition: commands_rtk.hpp:817
mip::commands_rtk::GetImei
Definition: commands_rtk.hpp:257
mip::commands_rtk::ConnectedDeviceType
Definition: commands_rtk.hpp:443
mip::commands_rtk::GetStatusFlags::StatusFlagsLegacy
Definition: commands_rtk.hpp:86
mip::commands_rtk::GetRssi::Response
Definition: commands_rtk.hpp:675
mip::metadata::Type::BITS
@ BITS
mip::commands_rtk::GetImsi
Definition: commands_rtk.hpp:319
mip::metadata::Type::U32
@ U32
mip::metadata::MetadataFor< commands_rtk::GetStatusFlags::Response >::value
static constexpr FieldInfo value
Definition: commands_rtk.hpp:86