MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Go to the documentation of this file.
16 namespace commands_rtk {
109 operator uint32_t()
const {
return value; }
164 operator uint32_t()
const {
return value; }
201 static constexpr
const char*
NAME =
"GetStatusFlags";
202 static constexpr
const char*
DOC_NAME =
"Get RTK Device Status Flags";
207 return std::make_tuple();
212 return std::make_tuple();
228 static constexpr
const char*
NAME =
"GetStatusFlags::Response";
229 static constexpr
const char*
DOC_NAME =
"Get RTK Device Status Flags Response";
234 return std::make_tuple(
flags);
239 return std::make_tuple(std::ref(
flags));
263 static constexpr
const char*
NAME =
"GetImei";
264 static constexpr
const char*
DOC_NAME =
"Get RTK Device IMEI (International Mobile Equipment Identifier)";
269 return std::make_tuple();
274 return std::make_tuple();
290 static constexpr
const char*
NAME =
"GetImei::Response";
291 static constexpr
const char*
DOC_NAME =
"Get RTK Device IMEI (International Mobile Equipment Identifier) Response";
296 return std::make_tuple(
IMEI);
301 return std::make_tuple(std::ref(
IMEI));
325 static constexpr
const char*
NAME =
"GetImsi";
326 static constexpr
const char*
DOC_NAME =
"Get RTK Device IMSI (International Mobile Subscriber Identifier)";
331 return std::make_tuple();
336 return std::make_tuple();
352 static constexpr
const char*
NAME =
"GetImsi::Response";
353 static constexpr
const char*
DOC_NAME =
"Get RTK Device IMSI (International Mobile Subscriber Identifier) Response";
358 return std::make_tuple(
IMSI);
363 return std::make_tuple(std::ref(
IMSI));
387 static constexpr
const char*
NAME =
"GetIccid";
388 static constexpr
const char*
DOC_NAME =
"Get RTK Device ICCID (Integrated Circuit Card Identification [SIM Number])";
393 return std::make_tuple();
398 return std::make_tuple();
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";
420 return std::make_tuple(
ICCID);
425 return std::make_tuple(std::ref(
ICCID));
459 static constexpr
const char*
NAME =
"ConnectedDeviceType";
460 static constexpr
const char*
DOC_NAME =
"Configure or read the type of the connected device";
465 return std::make_tuple(
devType);
470 return std::make_tuple(std::ref(
devType));
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";
499 return std::make_tuple(
devType);
504 return std::make_tuple(std::ref(
devType));
532 static constexpr
const char*
NAME =
"GetActCode";
533 static constexpr
const char*
DOC_NAME =
"Get RTK Device Activation Code";
538 return std::make_tuple();
543 return std::make_tuple();
559 static constexpr
const char*
NAME =
"GetActCode::Response";
560 static constexpr
const char*
DOC_NAME =
"Get RTK Device Activation Code Response";
594 static constexpr
const char*
NAME =
"GetModemFirmwareVersion";
595 static constexpr
const char*
DOC_NAME =
"Get RTK Device's Cell Modem Firmware version number";
600 return std::make_tuple();
605 return std::make_tuple();
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";
657 static constexpr
const char*
NAME =
"GetRssi";
663 return std::make_tuple();
668 return std::make_tuple();
686 static constexpr
const char*
NAME =
"GetRssi::Response";
687 static constexpr
const char*
DOC_NAME =
"GetRssi Response";
733 operator uint8_t()
const {
return value; }
756 static constexpr
const char*
NAME =
"ServiceStatus";
757 static constexpr
const char*
DOC_NAME =
"ServiceStatus";
786 static constexpr
const char*
NAME =
"ServiceStatus::Response";
787 static constexpr
const char*
DOC_NAME =
"ServiceStatus Response";
826 static constexpr
const char*
NAME =
"ProdEraseStorage";
827 static constexpr
const char*
DOC_NAME =
"ProdEraseStorage";
832 return std::make_tuple(
media);
837 return std::make_tuple(std::ref(
media));
868 static constexpr
const char*
NAME =
"LedControl";
869 static constexpr
const char*
DOC_NAME =
"LedControl";
905 static constexpr
const char*
NAME =
"ModemHardReset";
906 static constexpr
const char*
DOC_NAME =
"ModemHardReset";
911 return std::make_tuple();
916 return std::make_tuple();
auto asTuple()
Definition: commands_rtk.hpp:361
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:77
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:906
@ REPLY_SERVICE_STATUS
Definition: commands_rtk.hpp:54
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:867
void signalQuality(uint32_t val)
Definition: commands_rtk.hpp:177
Definition: commands_rtk.hpp:140
@ REPLY_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:46
void serverTimeout(bool val)
Definition: commands_rtk.hpp:183
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:386
char ActivationCode[32]
Parameters.
Definition: commands_rtk.hpp:553
auto asTuple() const
Definition: commands_rtk.hpp:830
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:823
StatusFlagsLegacy & operator=(int val)
Definition: commands_rtk.hpp:111
Definition: commands_rtk.hpp:219
auto asTuple()
Definition: commands_rtk.hpp:423
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:531
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:494
LedAction act
Definition: commands_rtk.hpp:861
uint32_t version() const
Definition: commands_rtk.hpp:192
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:783
auto asTuple() const
Definition: commands_rtk.hpp:598
ServiceFlags & operator=(int val)
Definition: commands_rtk.hpp:735
uint32_t reserved2
Definition: commands_rtk.hpp:750
static constexpr const char * NAME
Definition: commands_rtk.hpp:493
void correctionsUnavailable(bool val)
Definition: commands_rtk.hpp:189
static constexpr const char * NAME
Definition: commands_rtk.hpp:459
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:354
auto asTuple()
Definition: commands_rtk.hpp:237
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:387
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:422
_enumType
Definition: commands_rtk.hpp:143
TypedResult< GetImsi > getImsi(C::mip_interface &device, char *imsiOut)
Definition: commands_rtk.cpp:126
TypedResult< ModemHardReset > modemHardReset(C::mip_interface &device)
Definition: commands_rtk.cpp:574
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:342
StatusFlags & operator&=(uint32_t val)
Definition: commands_rtk.hpp:168
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:327
int32_t rssi
Definition: commands_rtk.hpp:679
Definition: commands_rtk.hpp:612
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:324
StatusFlagsLegacy & operator=(uint32_t val)
Definition: commands_rtk.hpp:110
uint32_t receivedBytes
Definition: commands_rtk.hpp:778
void modemState(uint32_t val)
Definition: commands_rtk.hpp:171
@ CMD_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:38
Serializes or deserializes data to/from a byte buffer.
Definition: serializer.hpp:125
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:758
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:199
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:593
void setAll()
Definition: commands_rtk.hpp:138
uint32_t rsrp() const
Definition: commands_rtk.hpp:131
ServiceFlags & operator&=(uint8_t val)
Definition: commands_rtk.hpp:737
auto asTuple() const
Definition: commands_rtk.hpp:294
static constexpr const char * NAME
Definition: commands_rtk.hpp:786
uint8_t primaryColor[3]
Parameters.
Definition: commands_rtk.hpp:859
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:828
bool deviceOutOfRange() const
Definition: commands_rtk.hpp:186
Type devType
Parameters.
Definition: commands_rtk.hpp:487
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:655
void reserved(uint8_t val)
Definition: commands_rtk.hpp:744
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:261
TypedResult< ConnectedDeviceType > saveConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:255
Definition: commands_rtk.hpp:526
auto asTuple()
Definition: commands_rtk.hpp:568
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:285
auto asTuple() const
Definition: commands_rtk.hpp:497
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:907
@ REPLY_GET_ICCID
Definition: commands_rtk.hpp:49
uint32_t reserved1
Parameters.
Definition: commands_rtk.hpp:749
StatusFlagsLegacy & operator|=(uint32_t val)
Definition: commands_rtk.hpp:112
TypedResult< GetModemFirmwareVersion > getModemFirmwareVersion(C::mip_interface &device, char *modemfirmwareversionOut)
Definition: commands_rtk.cpp:349
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:656
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:869
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:188
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:230
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:903
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:292
bool valid
Parameters.
Definition: commands_rtk.hpp:678
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:596
auto asTuple()
Definition: commands_rtk.hpp:396
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:265
void rsrq(uint32_t val)
Definition: commands_rtk.hpp:134
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:27
void correctionsUnavailable(bool val)
Definition: commands_rtk.hpp:742
auto asTuple()
Definition: commands_rtk.hpp:630
MediaSelector media
Parameters.
Definition: commands_rtk.hpp:820
StatusFlagsLegacy(int val)
Definition: commands_rtk.hpp:108
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:351
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:209
@ CMD_GET_RSSI
Definition: commands_rtk.hpp:37
bool allSet() const
Definition: commands_rtk.hpp:137
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:557
uint32_t rssi() const
Definition: commands_rtk.hpp:174
@ PLATFORMSTATE
Definition: commands_rtk.hpp:93
uint32_t rssi() const
Definition: commands_rtk.hpp:129
Definition: commands_rtk.hpp:550
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:198
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:198
_enumType
Definition: commands_rtk.hpp:89
auto asTuple() const
Definition: commands_rtk.hpp:661
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:71
ServiceFlags flags
Parameters.
Definition: commands_rtk.hpp:777
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:389
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:200
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:229
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:161
void rssi(uint32_t val)
Definition: commands_rtk.hpp:130
TypedResult< ConnectedDeviceType > readConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type *devtypeOut)
Definition: commands_rtk.cpp:232
void Response
Definition: commands_rtk.hpp:886
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:411
static constexpr const char * NAME
Definition: commands_rtk.hpp:352
StatusFlags(int val)
Definition: commands_rtk.hpp:163
bool throttle() const
Definition: commands_rtk.hpp:739
@ NONE
Definition: commands_rtk.hpp:91
@ CMD_GET_ICCID
Definition: commands_rtk.hpp:36
void setAll()
Definition: commands_rtk.hpp:746
ServiceFlags(int val)
Definition: commands_rtk.hpp:732
@ RSSI
Definition: commands_rtk.hpp:99
static constexpr const char * NAME
Definition: commands_rtk.hpp:756
void connectionType(uint32_t val)
Definition: commands_rtk.hpp:173
ServiceFlags & operator=(uint8_t val)
Definition: commands_rtk.hpp:734
@ REPLY_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.hpp:50
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:622
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:560
@ CMD_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:40
struct mip::C::mip_interface mip_interface
State of the interface for communicating with a MIP device.
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:569
@ CORRECTIONS_TIMEOUT
Definition: commands_rtk.hpp:153
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:688
Definition: commands_rtk.hpp:588
@ RESERVED
Definition: commands_rtk.hpp:156
TypedResult< GetStatusFlags > getStatusFlags(C::mip_interface &device, GetStatusFlags::StatusFlags *flagsOut)
Definition: commands_rtk.cpp:43
static constexpr const char * NAME
Definition: commands_rtk.hpp:868
int32_t signalQuality
Definition: commands_rtk.hpp:680
StatusFlags()
Definition: commands_rtk.hpp:162
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:353
FunctionSelector function
Parameters.
Definition: commands_rtk.hpp:452
void rsrp(uint32_t val)
Definition: commands_rtk.hpp:132
static constexpr const char * NAME
Definition: commands_rtk.hpp:657
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:413
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:619
uint8_t value
Definition: commands_rtk.hpp:729
@ CMD_GET_IMSI
Definition: commands_rtk.hpp:35
void sinr(uint32_t val)
Definition: commands_rtk.hpp:136
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:517
void rssi(uint32_t val)
Definition: commands_rtk.hpp:175
@ NONE
Definition: commands_rtk.hpp:145
StatusFlags & operator=(uint32_t val)
Definition: commands_rtk.hpp:165
@ RSRP
Definition: commands_rtk.hpp:100
static constexpr const char * NAME
Definition: commands_rtk.hpp:263
void controllerstatuscode(uint32_t val)
Definition: commands_rtk.hpp:120
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:754
static constexpr const char * NAME
Definition: commands_rtk.hpp:532
@ ALL
Definition: commands_rtk.hpp:158
TypedResult< GetImei > getImei(C::mip_interface &device, char *imeiOut)
Definition: commands_rtk.cpp:84
auto asTuple() const
Definition: commands_rtk.hpp:909
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:294
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:591
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:37
void correctionsTimeout(bool val)
Definition: commands_rtk.hpp:185
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:495
TypedResult< GetActCode > getActCode(C::mip_interface &device, char *activationcodeOut)
Definition: commands_rtk.cpp:307
@ PLATFORMSTATUSCODE
Definition: commands_rtk.hpp:95
void Response
Definition: commands_rtk.hpp:844
Definition: commands_rtk.hpp:381
Definition: commands_rtk.hpp:84
TypedResult< ProdEraseStorage > prodEraseStorage(C::mip_interface &device, MediaSelector media)
Definition: commands_rtk.cpp:506
@ DESCRIPTOR_SET
Definition: commands_rtk.hpp:31
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:155
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:429
@ NMEA_TIMEOUT
Definition: commands_rtk.hpp:151
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:388
@ ALL
Definition: commands_rtk.hpp:103
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:687
static constexpr const char * NAME
Definition: commands_rtk.hpp:686
@ REPLY_GET_IMEI
Definition: commands_rtk.hpp:47
@ CMD_MODEM_HARD_RESET
Definition: commands_rtk.hpp:44
Definition: commands_rtk.hpp:651
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:150
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:865
@ REPLY_GET_IMSI
Definition: commands_rtk.hpp:48
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:119
TypedResult< ConnectedDeviceType > writeConnectedDeviceType(C::mip_interface &device, ConnectedDeviceType::Type devtype)
Definition: commands_rtk.cpp:220
StatusFlags flags
Parameters.
Definition: commands_rtk.hpp:222
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:683
bool nmeaTimeout() const
Definition: commands_rtk.hpp:180
static constexpr const char * NAME
Definition: commands_rtk.hpp:228
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:457
bool reserved() const
Definition: commands_rtk.hpp:190
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:654
@ MODEM_STATE
Definition: commands_rtk.hpp:146
uint32_t towerChangeIndicator() const
Definition: commands_rtk.hpp:178
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:784
static constexpr const char * NAME
Definition: commands_rtk.hpp:414
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:203
uint32_t rsrq() const
Definition: commands_rtk.hpp:133
auto asTuple()
Definition: commands_rtk.hpp:603
@ RSRQ
Definition: commands_rtk.hpp:101
uint32_t connectionType() const
Definition: commands_rtk.hpp:172
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:534
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:500
bool allSet() const
Definition: commands_rtk.hpp:745
@ SIGNAL_QUALITY
Definition: commands_rtk.hpp:149
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:289
bool serverTimeout() const
Definition: commands_rtk.hpp:182
static constexpr const char * NAME
Definition: commands_rtk.hpp:826
FunctionSelector
Definition: mip_descriptors.hpp:66
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:146
bool correctionsUnavailable() const
Definition: commands_rtk.hpp:741
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:300
static constexpr const char * NAME
Definition: commands_rtk.hpp:387
auto asTuple()
Definition: commands_rtk.hpp:468
bool allSet() const
Definition: commands_rtk.hpp:194
uint8_t altColor[3]
Definition: commands_rtk.hpp:860
auto asTuple() const
Definition: commands_rtk.hpp:418
Type
Definition: commands_rtk.hpp:445
uint8_t reserved() const
Definition: commands_rtk.hpp:743
uint32_t Type
Definition: commands_rtk.hpp:142
@ CMD_GET_ACT_CODE
Definition: commands_rtk.hpp:39
@ CONTROLLERSTATE
Definition: commands_rtk.hpp:92
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:62
@ CONTROLLERSTATUSCODE
Definition: commands_rtk.hpp:94
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:331
void towerChangeIndicator(uint32_t val)
Definition: commands_rtk.hpp:179
static constexpr const char * NAME
Definition: commands_rtk.hpp:325
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:104
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:685
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:785
StatusFlags & operator=(int val)
Definition: commands_rtk.hpp:166
auto asTuple()
Definition: commands_rtk.hpp:914
auto asTuple() const
Definition: commands_rtk.hpp:536
static constexpr const char * NAME
Definition: commands_rtk.hpp:290
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:288
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:369
char ICCID[32]
Parameters.
Definition: commands_rtk.hpp:408
void platformstate(uint32_t val)
Definition: commands_rtk.hpp:118
auto asTuple() const
Definition: commands_rtk.hpp:760
auto asTuple()
Definition: commands_rtk.hpp:541
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:592
void platformstatuscode(uint32_t val)
Definition: commands_rtk.hpp:122
void throttle(bool val)
Definition: commands_rtk.hpp:740
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:227
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:684
static constexpr const char * NAME
Definition: commands_rtk.hpp:559
@ CONNECTION_TYPE
Definition: commands_rtk.hpp:147
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:113
auto asTuple()
Definition: commands_rtk.hpp:795
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:533
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:260
auto asTuple()
Definition: commands_rtk.hpp:877
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:289
auto asTuple()
Definition: commands_rtk.hpp:765
StatusFlagsLegacy()
Definition: commands_rtk.hpp:107
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:529
char ModemFirmwareVersion[32]
Parameters.
Definition: commands_rtk.hpp:615
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:416
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:323
ServiceFlags()
Definition: commands_rtk.hpp:731
char IMSI[32]
Parameters.
Definition: commands_rtk.hpp:346
Definition: commands_rtk.hpp:281
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
Definition: commands_rtk.hpp:484
static constexpr const char * NAME
Definition: commands_rtk.hpp:594
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:264
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:66
@ ALL
Definition: commands_rtk.hpp:727
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:788
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:787
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:437
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:350
void controllerstate(uint32_t val)
Definition: commands_rtk.hpp:116
uint32_t controllerstatuscode() const
Definition: commands_rtk.hpp:119
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:530
@ RESERVED
Definition: commands_rtk.hpp:98
auto asTuple() const
Definition: commands_rtk.hpp:563
@ THROTTLE
Definition: commands_rtk.hpp:724
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:155
char IMEI[32]
Parameters.
Definition: commands_rtk.hpp:284
auto asTuple() const
Definition: commands_rtk.hpp:329
Definition: commands_rtk.hpp:718
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:866
auto asTuple()
Definition: commands_rtk.hpp:666
Type devType
Definition: commands_rtk.hpp:453
uint32_t signalQuality() const
Definition: commands_rtk.hpp:176
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:291
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:225
@ REPLY_GET_ACT_CODE
Definition: commands_rtk.hpp:51
Definition: commands_rtk.hpp:343
@ NONE
Definition: commands_rtk.hpp:723
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:753
MediaSelector
Definition: commands_rtk.hpp:61
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:262
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:373
@ CORRECTIONS_UNAVAILABLE
Definition: commands_rtk.hpp:725
static ConnectedDeviceType create_sld_all(::mip::FunctionSelector function)
Definition: commands_rtk.hpp:473
@ SERVER_TIMEOUT
Definition: commands_rtk.hpp:152
LedAction
Definition: commands_rtk.hpp:67
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:490
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:492
auto asTuple() const
Definition: commands_rtk.hpp:391
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:495
auto asTuple() const
Definition: commands_rtk.hpp:790
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:904
auto asTuple()
Definition: commands_rtk.hpp:272
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:226
@ REPLY_GET_RSSI
Definition: commands_rtk.hpp:53
@ SIGNALQUALITY
Definition: commands_rtk.hpp:97
uint32_t reserved() const
Definition: commands_rtk.hpp:127
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:565
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:755
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:385
Definition: commands_rtk.hpp:774
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:491
@ CMD_GET_STATUS_FLAGS
Definition: commands_rtk.hpp:33
StatusFlags & operator|=(uint32_t val)
Definition: commands_rtk.hpp:167
@ CMD_PROD_ERASE_STORAGE
Definition: commands_rtk.hpp:42
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:287
Definition: commands_rtk.hpp:405
static constexpr const char * NAME
Definition: commands_rtk.hpp:905
Definition: commands_rtk.hpp:716
uint32_t sinr() const
Definition: commands_rtk.hpp:135
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:458
auto asTuple() const
Definition: commands_rtk.hpp:267
TypedResult< GetIccid > getIccid(C::mip_interface &device, char *iccidOut)
Definition: commands_rtk.cpp:168
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:108
uint32_t value
Definition: commands_rtk.hpp:160
auto asTuple()
Definition: commands_rtk.hpp:334
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:322
void Response
Definition: commands_rtk.hpp:923
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:32
Definition: commands_rtk.hpp:856
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:659
void deviceOutOfRange(bool val)
Definition: commands_rtk.hpp:187
auto asTuple() const
Definition: commands_rtk.hpp:625
auto asTuple() const
Definition: commands_rtk.hpp:356
Definition: commands_rtk.hpp:899
@ DEVICE_OUT_OF_RANGE
Definition: commands_rtk.hpp:154
static constexpr const char * NAME
Definition: commands_rtk.hpp:621
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:561
uint32_t lastBytes
Definition: commands_rtk.hpp:779
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:623
void reserved(uint32_t val)
Definition: commands_rtk.hpp:128
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:448
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:757
void setAll()
Definition: commands_rtk.hpp:195
Definition: commands_rtk.hpp:817
bool correctionsUnavailable() const
Definition: commands_rtk.hpp:188
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
Convenience struct holding both descriptor set and field descriptor.
Definition: mip_descriptors.hpp:21
@ CMD_GET_IMEI
Definition: commands_rtk.hpp:34
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:825
Definition: commands_rtk.hpp:257
auto asTuple() const
Definition: commands_rtk.hpp:232
auto asTuple() const
Definition: commands_rtk.hpp:872
Definition: commands_rtk.hpp:443
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:558
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:870
auto asTuple()
Definition: commands_rtk.hpp:299
uint32_t period
Definition: commands_rtk.hpp:862
auto asTuple() const
Definition: commands_rtk.hpp:463
Definition: commands_rtk.hpp:86
uint32_t Type
Definition: commands_rtk.hpp:88
@ CMD_CONTROL
Definition: commands_rtk.hpp:43
auto asTuple() const
Definition: commands_rtk.hpp:205
void extract(Serializer &serializer)
Definition: commands_rtk.cpp:214
@ TOWER_CHANGE_INDICATOR
Definition: commands_rtk.hpp:150
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:902
Definition: commands_rtk.hpp:675
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:384
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:327
@ CMD_SERVICE_STATUS
Definition: commands_rtk.hpp:41
uint32_t resetcode() const
Definition: commands_rtk.hpp:123
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:349
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:824
@ RESERVED
Definition: commands_rtk.hpp:726
uint64_t lastBytesTime
Definition: commands_rtk.hpp:780
@ RSSI
Definition: commands_rtk.hpp:148
bool correctionsTimeout() const
Definition: commands_rtk.hpp:184
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:595
uint32_t modemState() const
Definition: commands_rtk.hpp:170
void resetcode(uint32_t val)
Definition: commands_rtk.hpp:124
auto asTuple()
Definition: commands_rtk.hpp:502
static constexpr const CompositeDescriptor DESCRIPTOR
Definition: commands_rtk.hpp:620
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:827
ServiceFlags & operator|=(uint8_t val)
Definition: commands_rtk.hpp:736
A dummy struct which is used to mark bitfield objects.
Definition: mip_descriptors.hpp:61
uint8_t Type
Definition: commands_rtk.hpp:720
uint32_t signalquality() const
Definition: commands_rtk.hpp:125
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:412
uint32_t controllerstate() const
Definition: commands_rtk.hpp:115
uint32_t platformstatuscode() const
Definition: commands_rtk.hpp:121
auto asTuple()
Definition: commands_rtk.hpp:695
@ VERSION
Definition: commands_rtk.hpp:157
@ RESETCODE
Definition: commands_rtk.hpp:96
auto asTuple()
Definition: commands_rtk.hpp:835
Definition: commands_rtk.hpp:319
void nmeaTimeout(bool val)
Definition: commands_rtk.hpp:181
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:336
A CmdResult that knows the corresponding command type.
Definition: mip_descriptors.hpp:97
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:326
TypedResult< ConnectedDeviceType > loadConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:265
@ SINR
Definition: commands_rtk.hpp:102
TypedResult< ConnectedDeviceType > defaultConnectedDeviceType(C::mip_interface &device)
Definition: commands_rtk.cpp:275
uint32_t value
Definition: commands_rtk.hpp:105
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:456
static constexpr const bool HAS_FUNCTION_SELECTOR
Definition: commands_rtk.hpp:461
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:415
_enumType
Definition: commands_rtk.hpp:721
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:658
StatusFlagsLegacy & operator&=(uint32_t val)
Definition: commands_rtk.hpp:113
auto asTuple() const
Definition: commands_rtk.hpp:690
static constexpr const uint8_t FIELD_DESCRIPTOR
Definition: commands_rtk.hpp:530
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:378
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:202
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:556
uint32_t platformstate() const
Definition: commands_rtk.hpp:117
static constexpr const char * DOC_NAME
Definition: commands_rtk.hpp:460
void insert(Serializer &serializer) const
Serialization.
Definition: commands_rtk.cpp:23
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
void signalquality(uint32_t val)
Definition: commands_rtk.hpp:126
void reserved(bool val)
Definition: commands_rtk.hpp:191
static constexpr const char * NAME
Definition: commands_rtk.hpp:201
void version(uint32_t val)
Definition: commands_rtk.hpp:193
static constexpr const uint8_t DESCRIPTOR_SET
Descriptors.
Definition: commands_rtk.hpp:618
@ REPLY_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.hpp:52
auto asTuple()
Definition: commands_rtk.hpp:210