MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
commands_rtk.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <mip/mip_descriptors.h>
5 #include <mip/mip_result.h>
6 #include <mip/mip_interface.h>
7 
8 #include <stdint.h>
9 #include <stddef.h>
10 #include <stdbool.h>
11 
12 #ifdef __cplusplus
13 namespace mip {
14 namespace C {
15 extern "C" {
16 
17 #endif // __cplusplus
18 
25 
27 // Descriptors
29 
30 enum
31 {
33 
46 
56 };
57 
59 // Shared Type Definitions
61 
63 {
66 };
68 
69 static inline void insert_mip_media_selector(microstrain_serializer* serializer, const mip_media_selector self)
70 {
71  microstrain_insert_u8(serializer, (uint8_t)(self));
72 }
73 static inline void extract_mip_media_selector(microstrain_serializer* serializer, mip_media_selector* self)
74 {
75  uint8_t tmp = 0;
76  microstrain_extract_u8(serializer, &tmp);
77  *self = tmp;
78 }
79 
81 {
85 };
87 
88 static inline void insert_mip_led_action(microstrain_serializer* serializer, const mip_led_action self)
89 {
90  microstrain_insert_u8(serializer, (uint8_t)(self));
91 }
92 static inline void extract_mip_led_action(microstrain_serializer* serializer, mip_led_action* self)
93 {
94  uint8_t tmp = 0;
95  microstrain_extract_u8(serializer, &tmp);
96  *self = tmp;
97 }
98 
99 
101 // Mip Fields
103 
108 
110 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_NONE = 0x00000000;
111 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_CONTROLLERSTATE = 0x00000007;
112 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_PLATFORMSTATE = 0x000000F8;
113 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_CONTROLLERSTATUSCODE = 0x00000700;
114 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_PLATFORMSTATUSCODE = 0x00003800;
115 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_RESETCODE = 0x0000C000;
116 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_SIGNALQUALITY = 0x000F0000;
117 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_RESERVED = 0xFFF00000;
118 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_RSSI = 0x03F00000;
119 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_RSRP = 0x0C000000;
120 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_RSRQ = 0x30000000;
121 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_SINR = 0xC0000000;
122 static const mip_rtk_get_status_flags_command_status_flags_legacy MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_LEGACY_ALL = 0xFFFFFFFF;
123 static inline void insert_mip_rtk_get_status_flags_command_status_flags_legacy(microstrain_serializer* serializer, const mip_rtk_get_status_flags_command_status_flags_legacy self)
124 {
125  microstrain_insert_u32(serializer, (uint32_t)(self));
126 }
127 static inline void extract_mip_rtk_get_status_flags_command_status_flags_legacy(microstrain_serializer* serializer, mip_rtk_get_status_flags_command_status_flags_legacy* self)
128 {
129  uint32_t tmp = 0;
130  microstrain_extract_u32(serializer, &tmp);
131  *self = tmp;
132 }
133 
135 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_NONE = 0x00000000;
136 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_MODEM_STATE = 0x0000000F;
137 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_CONNECTION_TYPE = 0x000000F0;
138 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_RSSI = 0x0000FF00;
139 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_SIGNAL_QUALITY = 0x000F0000;
140 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_TOWER_CHANGE_INDICATOR = 0x00F00000;
141 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_NMEA_TIMEOUT = 0x01000000;
142 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_SERVER_TIMEOUT = 0x02000000;
143 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_CORRECTIONS_TIMEOUT = 0x04000000;
144 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_DEVICE_OUT_OF_RANGE = 0x08000000;
145 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_CORRECTIONS_UNAVAILABLE = 0x10000000;
146 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_RESERVED = 0x20000000;
147 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_VERSION = 0xC0000000;
148 static const mip_rtk_get_status_flags_command_status_flags MIP_RTK_GET_STATUS_FLAGS_COMMAND_STATUS_FLAGS_ALL = 0xFFFFFFFF;
149 static inline void insert_mip_rtk_get_status_flags_command_status_flags(microstrain_serializer* serializer, const mip_rtk_get_status_flags_command_status_flags self)
150 {
151  microstrain_insert_u32(serializer, (uint32_t)(self));
152 }
153 static inline void extract_mip_rtk_get_status_flags_command_status_flags(microstrain_serializer* serializer, mip_rtk_get_status_flags_command_status_flags* self)
154 {
155  uint32_t tmp = 0;
156  microstrain_extract_u32(serializer, &tmp);
157  *self = tmp;
158 }
159 
160 
162 
164 {
166 };
168 
171 
173 
180 
182 
184 {
185  char IMEI[32];
186 };
188 
191 
192 mip_cmd_result mip_rtk_get_imei(mip_interface* device, char* imei_out);
193 
200 
202 
204 {
205  char IMSI[32];
206 };
208 
211 
212 mip_cmd_result mip_rtk_get_imsi(mip_interface* device, char* imsi_out);
213 
220 
222 
224 {
225  char ICCID[32];
226 };
228 
231 
232 mip_cmd_result mip_rtk_get_iccid(mip_interface* device, char* iccid_out);
233 
240 
242 {
245 };
247 
248 static inline void insert_mip_rtk_connected_device_type_command_type(microstrain_serializer* serializer, const mip_rtk_connected_device_type_command_type self)
249 {
250  microstrain_insert_u8(serializer, (uint8_t)(self));
251 }
252 static inline void extract_mip_rtk_connected_device_type_command_type(microstrain_serializer* serializer, mip_rtk_connected_device_type_command_type* self)
253 {
254  uint8_t tmp = 0;
255  microstrain_extract_u8(serializer, &tmp);
256  *self = tmp;
257 }
258 
259 
261 {
264 };
266 
269 
271 {
273 };
275 
278 
284 
291 
293 
295 {
296  char ActivationCode[32];
297 };
299 
302 
303 mip_cmd_result mip_rtk_get_act_code(mip_interface* device, char* activation_code_out);
304 
311 
313 
315 {
317 };
319 
322 
323 mip_cmd_result mip_rtk_get_modem_firmware_version(mip_interface* device, char* modem_firmware_version_out);
324 
332 
334 
336 {
337  bool valid;
338  int32_t rssi;
339  int32_t signalQuality;
340 };
342 
345 
346 mip_cmd_result mip_rtk_get_rssi(mip_interface* device, bool* valid_out, int32_t* rssi_out, int32_t* signal_quality_out);
347 
355 
357 static const mip_rtk_service_status_command_service_flags MIP_RTK_SERVICE_STATUS_COMMAND_SERVICE_FLAGS_NONE = 0x00;
358 static const mip_rtk_service_status_command_service_flags MIP_RTK_SERVICE_STATUS_COMMAND_SERVICE_FLAGS_THROTTLE = 0x01;
359 static const mip_rtk_service_status_command_service_flags MIP_RTK_SERVICE_STATUS_COMMAND_SERVICE_FLAGS_CORRECTIONS_UNAVAILABLE = 0x02;
360 static const mip_rtk_service_status_command_service_flags MIP_RTK_SERVICE_STATUS_COMMAND_SERVICE_FLAGS_RESERVED = 0xFC;
361 static const mip_rtk_service_status_command_service_flags MIP_RTK_SERVICE_STATUS_COMMAND_SERVICE_FLAGS_ALL = 0xFF;
362 static inline void insert_mip_rtk_service_status_command_service_flags(microstrain_serializer* serializer, const mip_rtk_service_status_command_service_flags self)
363 {
364  microstrain_insert_u8(serializer, (uint8_t)(self));
365 }
366 static inline void extract_mip_rtk_service_status_command_service_flags(microstrain_serializer* serializer, mip_rtk_service_status_command_service_flags* self)
367 {
368  uint8_t tmp = 0;
369  microstrain_extract_u8(serializer, &tmp);
370  *self = tmp;
371 }
372 
373 
375 {
376  uint32_t reserved1;
377  uint32_t reserved2;
378 };
380 
383 
385 {
387  uint32_t receivedBytes;
388  uint32_t lastBytes;
389  uint64_t lastBytesTime;
390 };
392 
395 
396 mip_cmd_result mip_rtk_service_status(mip_interface* device, uint32_t reserved1, uint32_t reserved2, mip_rtk_service_status_command_service_flags* flags_out, uint32_t* received_bytes_out, uint32_t* last_bytes_out, uint64_t* last_bytes_time_out);
397 
406 
408 {
410 };
412 
415 
417 
425 
427 {
428  uint8_t primaryColor[3];
429  uint8_t altColor[3];
431  uint32_t period;
432 };
434 
437 
438 mip_cmd_result mip_rtk_led_control(mip_interface* device, const uint8_t* primary_color, const uint8_t* alt_color, mip_led_action act, uint32_t period);
439 
448 
450 
452 
455 
460 #ifdef __cplusplus
461 } // extern "C"
462 } // namespace C
463 } // namespace mip
464 #endif // __cplusplus
465 
mip::C::MIP_CMD_DESC_RTK_CONNECTED_DEVICE_TYPE
@ MIP_CMD_DESC_RTK_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.h:39
mip::C::mip_rtk_get_imsi_response::IMSI
char IMSI[32]
Definition: commands_rtk.h:205
mip::C::mip_rtk_get_rssi_response::rssi
int32_t rssi
Definition: commands_rtk.h:338
mip::C::mip_rtk_get_status_flags_command_status_flags_legacy
uint32_t mip_rtk_get_status_flags_command_status_flags_legacy
Definition: commands_rtk.h:109
mip::C::MIP_CMD_DESC_RTK_GET_IMEI
@ MIP_CMD_DESC_RTK_GET_IMEI
Definition: commands_rtk.h:35
mip
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
mip::C::mip_rtk_get_imei
mip_cmd_result mip_rtk_get_imei(mip_interface *device, char *imei_out)
Definition: commands_rtk.c:42
mip::C::insert_mip_rtk_get_modem_firmware_version_response
void insert_mip_rtk_get_modem_firmware_version_response(microstrain_serializer *serializer, const mip_rtk_get_modem_firmware_version_response *self)
mip::C::extract_mip_rtk_get_act_code_response
void extract_mip_rtk_get_act_code_response(microstrain_serializer *serializer, mip_rtk_get_act_code_response *self)
mip::C::MIP_REPLY_DESC_RTK_GET_ICCID
@ MIP_REPLY_DESC_RTK_GET_ICCID
Definition: commands_rtk.h:50
mip::C::MIP_RTK_CONNECTED_DEVICE_TYPE_COMMAND_TYPE_GENERIC
@ MIP_RTK_CONNECTED_DEVICE_TYPE_COMMAND_TYPE_GENERIC
Definition: commands_rtk.h:243
mip::C::extract_mip_rtk_get_iccid_response
void extract_mip_rtk_get_iccid_response(microstrain_serializer *serializer, mip_rtk_get_iccid_response *self)
mip::C::mip_rtk_get_imsi
mip_cmd_result mip_rtk_get_imsi(mip_interface *device, char *imsi_out)
Definition: commands_rtk.c:63
mip::C::MIP_CMD_DESC_RTK_GET_ACT_CODE
@ MIP_CMD_DESC_RTK_GET_ACT_CODE
Definition: commands_rtk.h:40
mip::C::MIP_REPLY_DESC_RTK_SERVICE_STATUS
@ MIP_REPLY_DESC_RTK_SERVICE_STATUS
Definition: commands_rtk.h:55
mip::C::MIP_CMD_DESC_RTK_GET_MODEM_FIRMWARE_VERSION
@ MIP_CMD_DESC_RTK_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.h:41
mip::C::mip_rtk_get_rssi_command
struct mip_rtk_get_rssi_command mip_rtk_get_rssi_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:333
mip::C::insert_mip_rtk_prod_erase_storage_command
void insert_mip_rtk_prod_erase_storage_command(microstrain_serializer *serializer, const mip_rtk_prod_erase_storage_command *self)
Definition: commands_rtk.c:356
mip::C::mip_rtk_get_modem_firmware_version_response
Definition: commands_rtk.h:314
mip::C::MIP_LED_ACTION_LED_PULSATE
@ MIP_LED_ACTION_LED_PULSATE
Definition: commands_rtk.h:84
mip::C::extract_mip_rtk_service_status_command
void extract_mip_rtk_service_status_command(microstrain_serializer *serializer, mip_rtk_service_status_command *self)
Definition: commands_rtk.c:288
mip::C::mip_rtk_modem_hard_reset
mip_cmd_result mip_rtk_modem_hard_reset(mip_interface *device)
Definition: commands_rtk.c:428
mip::C::MIP_REPLY_DESC_RTK_GET_MODEM_FIRMWARE_VERSION
@ MIP_REPLY_DESC_RTK_GET_MODEM_FIRMWARE_VERSION
Definition: commands_rtk.h:53
mip::C::mip_rtk_get_act_code_response
Definition: commands_rtk.h:294
mip::C::mip_cmd_result
mip_cmd_result
Represents the status of a MIP command.
Definition: mip_result.h:27
mip::C::mip_rtk_service_status_response::lastBytesTime
uint64_t lastBytesTime
Definition: commands_rtk.h:389
mip::C::mip_rtk_read_connected_device_type
mip_cmd_result mip_rtk_read_connected_device_type(mip_interface *device, mip_rtk_connected_device_type_command_type *dev_type_out)
Definition: commands_rtk.c:151
microstrain::C::microstrain_extract_u32
void microstrain_extract_u32(microstrain_serializer *serializer, uint32_t *value)
microstrain::C::microstrain_serializer
struct microstrain::C::microstrain_serializer microstrain_serializer
Structure used for serialization.
mip::C::insert_mip_rtk_get_imsi_response
void insert_mip_rtk_get_imsi_response(microstrain_serializer *serializer, const mip_rtk_get_imsi_response *self)
mip::C::insert_mip_rtk_get_rssi_response
void insert_mip_rtk_get_rssi_response(microstrain_serializer *serializer, const mip_rtk_get_rssi_response *self)
mip::C::mip_rtk_prod_erase_storage_command
Definition: commands_rtk.h:407
mip::C::MIP_CMD_DESC_RTK_GET_RSSI
@ MIP_CMD_DESC_RTK_GET_RSSI
Definition: commands_rtk.h:38
mip::C::mip_rtk_prod_erase_storage
mip_cmd_result mip_rtk_prod_erase_storage(mip_interface *device, mip_media_selector media)
Definition: commands_rtk.c:367
mip::C::MIP_REPLY_DESC_RTK_GET_RSSI
@ MIP_REPLY_DESC_RTK_GET_RSSI
Definition: commands_rtk.h:54
mip::C::extract_mip_rtk_prod_erase_storage_command
void extract_mip_rtk_prod_erase_storage_command(microstrain_serializer *serializer, mip_rtk_prod_erase_storage_command *self)
Definition: commands_rtk.c:361
mip::C::extract_mip_rtk_get_status_flags_response
void extract_mip_rtk_get_status_flags_response(microstrain_serializer *serializer, mip_rtk_get_status_flags_response *self)
mip_result.h
mip::C::mip_rtk_connected_device_type_response::devType
mip_rtk_connected_device_type_command_type devType
Definition: commands_rtk.h:272
mip::C::mip_rtk_write_connected_device_type
mip_cmd_result mip_rtk_write_connected_device_type(mip_interface *device, mip_rtk_connected_device_type_command_type dev_type)
Definition: commands_rtk.c:137
mip::C::mip_rtk_get_imei_response::IMEI
char IMEI[32]
Definition: commands_rtk.h:185
mip::C::mip_rtk_led_control
mip_cmd_result mip_rtk_led_control(mip_interface *device, const uint8_t *primary_color, const uint8_t *alt_color, mip_led_action act, uint32_t period)
Definition: commands_rtk.c:406
mip::C::MIP_CMD_DESC_RTK_MODEM_HARD_RESET
@ MIP_CMD_DESC_RTK_MODEM_HARD_RESET
Definition: commands_rtk.h:45
mip::C::mip_rtk_get_imsi_command
struct mip_rtk_get_imsi_command mip_rtk_get_imsi_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:201
mip::C::mip_rtk_get_iccid_response
Definition: commands_rtk.h:223
mip::C::insert_mip_rtk_service_status_command
void insert_mip_rtk_service_status_command(microstrain_serializer *serializer, const mip_rtk_service_status_command *self)
Definition: commands_rtk.c:281
mip::C::mip_rtk_get_status_flags_response
Definition: commands_rtk.h:163
mip::C::mip_rtk_get_modem_firmware_version_command
struct mip_rtk_get_modem_firmware_version_command mip_rtk_get_modem_firmware_version_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:312
microstrain::C::microstrain_extract_u8
void microstrain_extract_u8(microstrain_serializer *serializer, uint8_t *value)
microstrain::C::microstrain_insert_u32
void microstrain_insert_u32(microstrain_serializer *serializer, uint32_t value)
mip::C::mip_rtk_get_act_code
mip_cmd_result mip_rtk_get_act_code(mip_interface *device, char *activation_code_out)
Definition: commands_rtk.c:213
mip::C::mip_rtk_get_rssi_response::valid
bool valid
Definition: commands_rtk.h:337
mip::C::MIP_CMD_DESC_RTK_SERVICE_STATUS
@ MIP_CMD_DESC_RTK_SERVICE_STATUS
Definition: commands_rtk.h:42
mip::C::MIP_RTK_CMD_DESC_SET
@ MIP_RTK_CMD_DESC_SET
Definition: commands_rtk.h:32
mip::C::MIP_REPLY_DESC_RTK_CONNECTED_DEVICE_TYPE
@ MIP_REPLY_DESC_RTK_CONNECTED_DEVICE_TYPE
Definition: commands_rtk.h:51
microstrain::C::microstrain_serializer
Structure used for serialization.
Definition: serialization.h:42
mip::C::mip_rtk_get_iccid
mip_cmd_result mip_rtk_get_iccid(mip_interface *device, char *iccid_out)
Definition: commands_rtk.c:84
mip::C::mip_rtk_get_status_flags_command
struct mip_rtk_get_status_flags_command mip_rtk_get_status_flags_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:161
mip::C::mip_rtk_save_connected_device_type
mip_cmd_result mip_rtk_save_connected_device_type(mip_interface *device)
Definition: commands_rtk.c:177
mip::C::MIP_REPLY_DESC_RTK_GET_ACT_CODE
@ MIP_REPLY_DESC_RTK_GET_ACT_CODE
Definition: commands_rtk.h:52
microstrain::C::microstrain_insert_u8
void microstrain_insert_u8(microstrain_serializer *serializer, uint8_t value)
mip::C::mip_rtk_service_status_command::reserved2
uint32_t reserved2
Definition: commands_rtk.h:377
mip::C::MIP_LED_ACTION_LED_FLASH
@ MIP_LED_ACTION_LED_FLASH
Definition: commands_rtk.h:83
mip::C::mip_rtk_get_status_flags
mip_cmd_result mip_rtk_get_status_flags(mip_interface *device, mip_rtk_get_status_flags_command_status_flags *flags_out)
Definition: commands_rtk.c:22
mip::C::MIP_REPLY_DESC_RTK_GET_IMSI
@ MIP_REPLY_DESC_RTK_GET_IMSI
Definition: commands_rtk.h:49
mip::C::mip_rtk_get_imei_response
Definition: commands_rtk.h:183
mip::C::MIP_REPLY_DESC_RTK_GET_IMEI
@ MIP_REPLY_DESC_RTK_GET_IMEI
Definition: commands_rtk.h:48
mip::C::insert_mip_rtk_connected_device_type_command
void insert_mip_rtk_connected_device_type_command(microstrain_serializer *serializer, const mip_rtk_connected_device_type_command *self)
Definition: commands_rtk.c:105
mip::C::insert_mip_rtk_get_iccid_response
void insert_mip_rtk_get_iccid_response(microstrain_serializer *serializer, const mip_rtk_get_iccid_response *self)
mip::C::mip_rtk_get_iccid_response::ICCID
char ICCID[32]
Definition: commands_rtk.h:225
mip::C::extract_mip_rtk_get_modem_firmware_version_response
void extract_mip_rtk_get_modem_firmware_version_response(microstrain_serializer *serializer, mip_rtk_get_modem_firmware_version_response *self)
mip::C::extract_mip_rtk_service_status_response
void extract_mip_rtk_service_status_response(microstrain_serializer *serializer, mip_rtk_service_status_response *self)
Definition: commands_rtk.c:307
mip::C::mip_rtk_modem_hard_reset_command
struct mip_rtk_modem_hard_reset_command mip_rtk_modem_hard_reset_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:449
mip::C::mip_rtk_load_connected_device_type
mip_cmd_result mip_rtk_load_connected_device_type(mip_interface *device)
Definition: commands_rtk.c:189
mip::C::extract_mip_rtk_get_rssi_response
void extract_mip_rtk_get_rssi_response(microstrain_serializer *serializer, mip_rtk_get_rssi_response *self)
mip::C::MIP_REPLY_DESC_RTK_GET_STATUS_FLAGS
@ MIP_REPLY_DESC_RTK_GET_STATUS_FLAGS
Definition: commands_rtk.h:47
mip::C::mip_rtk_service_status_command::reserved1
uint32_t reserved1
Definition: commands_rtk.h:376
mip::C::mip_rtk_prod_erase_storage_command::media
mip_media_selector media
Definition: commands_rtk.h:409
mip::C::MIP_MEDIA_SELECTOR_MEDIA_SD
@ MIP_MEDIA_SELECTOR_MEDIA_SD
Definition: commands_rtk.h:65
mip::C::mip_rtk_get_imei_command
struct mip_rtk_get_imei_command mip_rtk_get_imei_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:181
mip::C::MIP_LED_ACTION_LED_NONE
@ MIP_LED_ACTION_LED_NONE
Definition: commands_rtk.h:82
mip::C::mip_rtk_get_status_flags_command_status_flags
uint32_t mip_rtk_get_status_flags_command_status_flags
Definition: commands_rtk.h:134
mip::C::mip_interface
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:44
mip::C::mip_rtk_get_status_flags_response::flags
mip_rtk_get_status_flags_command_status_flags flags
Model number dependent. See above structures.
Definition: commands_rtk.h:165
mip::C::mip_rtk_connected_device_type_command::devType
mip_rtk_connected_device_type_command_type devType
Definition: commands_rtk.h:263
mip::C::extract_mip_rtk_get_imsi_response
void extract_mip_rtk_get_imsi_response(microstrain_serializer *serializer, mip_rtk_get_imsi_response *self)
mip::C::insert_mip_rtk_get_act_code_response
void insert_mip_rtk_get_act_code_response(microstrain_serializer *serializer, const mip_rtk_get_act_code_response *self)
mip::C::mip_rtk_get_iccid_command
struct mip_rtk_get_iccid_command mip_rtk_get_iccid_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:221
mip::C::mip_rtk_service_status_response
Definition: commands_rtk.h:384
mip::C::extract_mip_rtk_get_imei_response
void extract_mip_rtk_get_imei_response(microstrain_serializer *serializer, mip_rtk_get_imei_response *self)
mip_interface.h
mip::C::mip_rtk_get_modem_firmware_version_response::ModemFirmwareVersion
char ModemFirmwareVersion[32]
Definition: commands_rtk.h:316
mip::C::mip_led_action
mip_led_action
Definition: commands_rtk.h:80
mip::C::mip_rtk_connected_device_type_command
Definition: commands_rtk.h:260
mip::C::mip_rtk_default_connected_device_type
mip_cmd_result mip_rtk_default_connected_device_type(mip_interface *device)
Definition: commands_rtk.c:201
mip::C::MIP_RTK_CONNECTED_DEVICE_TYPE_COMMAND_TYPE_GQ7
@ MIP_RTK_CONNECTED_DEVICE_TYPE_COMMAND_TYPE_GQ7
Definition: commands_rtk.h:244
mip::C::mip_rtk_connected_device_type_command_type
mip_rtk_connected_device_type_command_type
Definition: commands_rtk.h:241
common.h
mip::C::mip_rtk_get_act_code_command
struct mip_rtk_get_act_code_command mip_rtk_get_act_code_command
No parameters (empty struct not allowed in C)
Definition: commands_rtk.h:292
mip::C::mip_rtk_get_rssi_response
Definition: commands_rtk.h:335
mip::C::insert_mip_rtk_connected_device_type_response
void insert_mip_rtk_connected_device_type_response(microstrain_serializer *serializer, const mip_rtk_connected_device_type_response *self)
Definition: commands_rtk.c:126
mip::C::mip_rtk_led_control_command::primaryColor
uint8_t primaryColor[3]
Definition: commands_rtk.h:428
mip::C::mip_rtk_service_status_command_service_flags
uint8_t mip_rtk_service_status_command_service_flags
Definition: commands_rtk.h:356
mip_descriptors.h
mip::C::mip_rtk_get_act_code_response::ActivationCode
char ActivationCode[32]
Definition: commands_rtk.h:296
mip::C::MIP_CMD_DESC_LED_CONTROL
@ MIP_CMD_DESC_LED_CONTROL
Definition: commands_rtk.h:44
mip::C::MIP_MEDIA_SELECTOR_MEDIA_EXTERNALFLASH
@ MIP_MEDIA_SELECTOR_MEDIA_EXTERNALFLASH
Definition: commands_rtk.h:64
mip::C::MIP_CMD_DESC_RTK_GET_IMSI
@ MIP_CMD_DESC_RTK_GET_IMSI
Definition: commands_rtk.h:36
mip::C::mip_rtk_led_control_command
Definition: commands_rtk.h:426
mip::C::mip_rtk_get_modem_firmware_version
mip_cmd_result mip_rtk_get_modem_firmware_version(mip_interface *device, char *modem_firmware_version_out)
Definition: commands_rtk.c:234
mip::C::mip_rtk_service_status_response::flags
mip_rtk_service_status_command_service_flags flags
Definition: commands_rtk.h:386
mip::C::mip_rtk_get_rssi
mip_cmd_result mip_rtk_get_rssi(mip_interface *device, bool *valid_out, int32_t *rssi_out, int32_t *signal_quality_out)
Definition: commands_rtk.c:255
mip::C::mip_rtk_connected_device_type_response
Definition: commands_rtk.h:270
mip::C::mip_media_selector
mip_media_selector
Definition: commands_rtk.h:62
mip::C::insert_mip_rtk_led_control_command
void insert_mip_rtk_led_control_command(microstrain_serializer *serializer, const mip_rtk_led_control_command *self)
Definition: commands_rtk.c:379
mip::C::mip_rtk_service_status_response::receivedBytes
uint32_t receivedBytes
Definition: commands_rtk.h:387
mip::C::mip_rtk_led_control_command::period
uint32_t period
Definition: commands_rtk.h:431
mip::C::insert_mip_rtk_get_status_flags_response
void insert_mip_rtk_get_status_flags_response(microstrain_serializer *serializer, const mip_rtk_get_status_flags_response *self)
mip::C::mip_rtk_get_rssi_response::signalQuality
int32_t signalQuality
Definition: commands_rtk.h:339
mip::C::mip_rtk_service_status
mip_cmd_result mip_rtk_service_status(mip_interface *device, uint32_t reserved1, uint32_t reserved2, mip_rtk_service_status_command_service_flags *flags_out, uint32_t *received_bytes_out, uint32_t *last_bytes_out, uint64_t *last_bytes_time_out)
Definition: commands_rtk.c:319
mip::C::extract_mip_rtk_connected_device_type_response
void extract_mip_rtk_connected_device_type_response(microstrain_serializer *serializer, mip_rtk_connected_device_type_response *self)
Definition: commands_rtk.c:131
mip::C::extract_mip_rtk_connected_device_type_command
void extract_mip_rtk_connected_device_type_command(microstrain_serializer *serializer, mip_rtk_connected_device_type_command *self)
Definition: commands_rtk.c:115
mip::C::mip_rtk_get_imsi_response
Definition: commands_rtk.h:203
mip::C::MIP_CMD_DESC_RTK_GET_STATUS_FLAGS
@ MIP_CMD_DESC_RTK_GET_STATUS_FLAGS
Definition: commands_rtk.h:34
mip::C::insert_mip_rtk_get_imei_response
void insert_mip_rtk_get_imei_response(microstrain_serializer *serializer, const mip_rtk_get_imei_response *self)
mip::C::mip_rtk_led_control_command::act
mip_led_action act
Definition: commands_rtk.h:430
mip::C::extract_mip_rtk_led_control_command
void extract_mip_rtk_led_control_command(microstrain_serializer *serializer, mip_rtk_led_control_command *self)
Definition: commands_rtk.c:392
mip::C::mip_rtk_service_status_command
Definition: commands_rtk.h:374
mip::C::mip_function_selector
mip_function_selector
Definition: mip_descriptors.h:42
mip::C::mip_rtk_led_control_command::altColor
uint8_t altColor[3]
Definition: commands_rtk.h:429
mip::C::insert_mip_rtk_service_status_response
void insert_mip_rtk_service_status_response(microstrain_serializer *serializer, const mip_rtk_service_status_response *self)
Definition: commands_rtk.c:296
mip::C::MIP_CMD_DESC_RTK_PROD_ERASE_STORAGE
@ MIP_CMD_DESC_RTK_PROD_ERASE_STORAGE
Definition: commands_rtk.h:43
mip::C::MIP_CMD_DESC_RTK_GET_ICCID
@ MIP_CMD_DESC_RTK_GET_ICCID
Definition: commands_rtk.h:37
mip::C::mip_rtk_service_status_response::lastBytes
uint32_t lastBytes
Definition: commands_rtk.h:388