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