4 #include "../mip_result.h"
void insert_mip_commanded_test_bits_gq7(struct mip_serializer *serializer, const mip_commanded_test_bits_gq7 self)
Definition: commands_base.c:77
void extract_mip_base_device_info(mip_serializer *serializer, mip_base_device_info *self)
Definition: commands_base.c:45
void insert_mip_base_device_info(mip_serializer *serializer, const mip_base_device_info *self)
Definition: commands_base.c:25
uint8_t mip_time_format
Definition: commands_base.h:77
void extract_mip_commanded_test_bits_gq7(struct mip_serializer *serializer, mip_commanded_test_bits_gq7 *self)
Definition: commands_base.c:81
void insert_mip_time_format(struct mip_serializer *serializer, const mip_time_format self)
Definition: commands_base.c:66
void extract_mip_time_format(struct mip_serializer *serializer, mip_time_format *self)
Definition: commands_base.c:70
uint32_t mip_commanded_test_bits_gq7
Definition: commands_base.h:83
@ MIP_REPLY_DESC_BASE_COMM_SPEED
Definition: commands_base.h:56
@ MIP_CMD_DESC_BASE_GPS_TIME_BROADCAST
Definition: commands_base.h:44
@ MIP_CMD_DESC_BASE_SYSTEM_TIME
Definition: commands_base.h:46
@ MIP_REPLY_DESC_BASE_GET_EXTENDED_DESCRIPTORS
Definition: commands_base.h:54
@ MIP_REPLY_DESC_BASE_BUILT_IN_TEST
Definition: commands_base.h:51
@ MIP_CMD_DESC_BASE_CONTINUOUS_BIT
Definition: commands_base.h:42
@ MIP_CMD_DESC_BASE_RESUME
Definition: commands_base.h:40
@ MIP_BASE_CMD_DESC_SET
Definition: commands_base.h:33
@ MIP_CMD_DESC_BASE_SOFT_RESET
Definition: commands_base.h:47
@ MIP_CMD_DESC_BASE_BUILT_IN_TEST
Definition: commands_base.h:39
@ MIP_REPLY_DESC_BASE_GPS_CORRELATION_SECONDS
Definition: commands_base.h:53
@ MIP_REPLY_DESC_BASE_DEVICE_INFO
Definition: commands_base.h:49
@ MIP_REPLY_DESC_BASE_CONTINUOUS_BIT
Definition: commands_base.h:55
@ MIP_CMD_DESC_BASE_GET_EXTENDED_DESCRIPTORS
Definition: commands_base.h:41
@ MIP_CMD_DESC_BASE_PING
Definition: commands_base.h:35
@ MIP_CMD_DESC_BASE_GET_DEVICE_INFO
Definition: commands_base.h:37
@ MIP_REPLY_DESC_BASE_DEVICE_DESCRIPTORS
Definition: commands_base.h:50
@ MIP_CMD_DESC_BASE_SET_TO_IDLE
Definition: commands_base.h:36
@ MIP_REPLY_DESC_BASE_GPS_CORRELATION_WEEK
Definition: commands_base.h:52
@ MIP_CMD_DESC_BASE_GPS_TIME_BROADCAST_NEW
Definition: commands_base.h:45
@ MIP_CMD_DESC_BASE_GET_DEVICE_DESCRIPTORS
Definition: commands_base.h:38
@ MIP_CMD_DESC_BASE_COMM_SPEED
Definition: commands_base.h:43
void insert_mip_base_built_in_test_response(struct mip_serializer *serializer, const mip_base_built_in_test_response *self)
void extract_mip_base_built_in_test_response(struct mip_serializer *serializer, mip_base_built_in_test_response *self)
mip_cmd_result mip_base_built_in_test(struct mip_interface *device, uint32_t *result_out)
Definition: commands_base.c:142
void extract_mip_base_comm_speed_command(mip_serializer *serializer, mip_base_comm_speed_command *self)
Definition: commands_base.c:220
mip_cmd_result mip_base_load_comm_speed(struct mip_interface *device, uint8_t port)
Definition: commands_base.c:308
mip_cmd_result mip_base_save_comm_speed(struct mip_interface *device, uint8_t port)
Definition: commands_base.c:294
void insert_mip_base_comm_speed_response(mip_serializer *serializer, const mip_base_comm_speed_response *self)
Definition: commands_base.c:233
mip_cmd_result mip_base_default_comm_speed(struct mip_interface *device, uint8_t port)
Definition: commands_base.c:322
void insert_mip_base_comm_speed_command(mip_serializer *serializer, const mip_base_comm_speed_command *self)
Definition: commands_base.c:208
void extract_mip_base_comm_speed_response(mip_serializer *serializer, mip_base_comm_speed_response *self)
Definition: commands_base.c:240
mip_cmd_result mip_base_write_comm_speed(struct mip_interface *device, uint8_t port, uint32_t baud)
Definition: commands_base.c:248
mip_cmd_result mip_base_read_comm_speed(struct mip_interface *device, uint8_t port, uint32_t *baud_out)
Definition: commands_base.c:264
@ MIP_BASE_COMM_SPEED_COMMAND_ALL_PORTS
Definition: commands_base.h:282
mip_cmd_result mip_base_continuous_bit(struct mip_interface *device, uint8_t *result_out)
Definition: commands_base.c:187
void insert_mip_base_continuous_bit_response(struct mip_serializer *serializer, const mip_base_continuous_bit_response *self)
void extract_mip_base_continuous_bit_response(struct mip_serializer *serializer, mip_base_continuous_bit_response *self)
mip_cmd_result mip_base_get_device_descriptors(struct mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count)
Definition: commands_base.c:121
void insert_mip_base_get_device_descriptors_response(struct mip_serializer *serializer, const mip_base_get_device_descriptors_response *self)
void extract_mip_base_get_device_descriptors_response(struct mip_serializer *serializer, mip_base_get_device_descriptors_response *self)
mip_cmd_result mip_base_get_device_info(struct mip_interface *device, mip_base_device_info *device_info_out)
Definition: commands_base.c:101
void extract_mip_base_get_device_info_response(struct mip_serializer *serializer, mip_base_get_device_info_response *self)
void insert_mip_base_get_device_info_response(struct mip_serializer *serializer, const mip_base_get_device_info_response *self)
void extract_mip_base_get_extended_descriptors_response(struct mip_serializer *serializer, mip_base_get_extended_descriptors_response *self)
void insert_mip_base_get_extended_descriptors_response(struct mip_serializer *serializer, const mip_base_get_extended_descriptors_response *self)
mip_cmd_result mip_base_get_extended_descriptors(struct mip_interface *device, uint16_t *descriptors_out, size_t descriptors_out_max, uint8_t *descriptors_out_count)
Definition: commands_base.c:166
void insert_mip_base_gps_time_update_command_field_id(struct mip_serializer *serializer, const mip_base_gps_time_update_command_field_id self)
Definition: commands_base.c:361
void extract_mip_base_gps_time_update_command_field_id(struct mip_serializer *serializer, mip_base_gps_time_update_command_field_id *self)
Definition: commands_base.c:365
void extract_mip_base_gps_time_update_command(mip_serializer *serializer, mip_base_gps_time_update_command *self)
Definition: commands_base.c:348
void insert_mip_base_gps_time_update_command(mip_serializer *serializer, const mip_base_gps_time_update_command *self)
Definition: commands_base.c:336
mip_cmd_result mip_base_write_gps_time_update(struct mip_interface *device, mip_base_gps_time_update_command_field_id field_id, uint32_t value)
Definition: commands_base.c:372
uint8_t mip_base_gps_time_update_command_field_id
Definition: commands_base.h:319
mip_cmd_result mip_base_ping(struct mip_interface *device)
Definition: commands_base.c:93
mip_cmd_result mip_base_resume(struct mip_interface *device)
Definition: commands_base.c:162
mip_cmd_result mip_base_set_idle(struct mip_interface *device)
Definition: commands_base.c:97
mip_cmd_result mip_base_soft_reset(struct mip_interface *device)
Definition: commands_base.c:388
mip_cmd_result
Represents the status of a MIP command.
Definition: mip_result.h:24
mip_function_selector
Definition: descriptors.h:44
A collection of C++ classes and functions covering the full mip api.
Definition: commands_3dm.c:11
Definition: commands_base.h:199
uint32_t result
Definition: commands_base.h:200
Definition: commands_base.h:284
uint8_t port
Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to a...
Definition: commands_base.h:286
uint32_t baud
Port baud rate. Must be a supported rate.
Definition: commands_base.h:287
Definition: commands_base.h:295
uint32_t baud
Port baud rate. Must be a supported rate.
Definition: commands_base.h:297
uint8_t port
Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to a...
Definition: commands_base.h:296
Definition: commands_base.h:252
uint8_t result[16]
Device-specific bitfield (128 bits). See device user manual. Bits are least-significant-byte first....
Definition: commands_base.h:253
Definition: commands_base.h:64
char model_name[16]
Definition: commands_base.h:66
char device_options[16]
Definition: commands_base.h:70
char lot_number[16]
Definition: commands_base.h:69
uint16_t firmware_version
Definition: commands_base.h:65
char serial_number[16]
Definition: commands_base.h:68
char model_number[16]
Definition: commands_base.h:67
Definition: commands_base.h:175
uint16_t * descriptors
Definition: commands_base.h:177
uint8_t descriptors_count
Definition: commands_base.h:176
Definition: commands_base.h:154
mip_base_device_info device_info
Definition: commands_base.h:155
Definition: commands_base.h:231
uint8_t descriptors_count
Definition: commands_base.h:232
uint16_t * descriptors
Definition: commands_base.h:233
Definition: commands_base.h:324
mip_base_gps_time_update_command_field_id field_id
Determines how to interpret value.
Definition: commands_base.h:326
uint32_t value
Week number or time of week, depending on the field_id.
Definition: commands_base.h:327
A structure representing a MIP field.
Definition: mip_field.h:53
State of the interface for communicating with a MIP device.
Definition: mip_interface.h:52
Structure used for serialization.
Definition: serialization.h:44