MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Functions
(0x7F,0x02) Interface Control

Reassign data protocols, both incoming and outgoing. More...

Classes

struct  mip::C::mip_system_interface_control_command
 
struct  mip::C::mip_system_interface_control_response
 

Typedefs

typedef struct mip_system_interface_control_command mip::C::mip_system_interface_control_command
 
typedef struct mip_system_interface_control_response mip::C::mip_system_interface_control_response
 

Functions

void mip::C::insert_mip_system_interface_control_command (microstrain_serializer *serializer, const mip_system_interface_control_command *self)
 
void mip::C::extract_mip_system_interface_control_command (microstrain_serializer *serializer, mip_system_interface_control_command *self)
 
void mip::C::insert_mip_system_interface_control_response (microstrain_serializer *serializer, const mip_system_interface_control_response *self)
 
void mip::C::extract_mip_system_interface_control_response (microstrain_serializer *serializer, mip_system_interface_control_response *self)
 
mip_cmd_result mip::C::mip_system_write_interface_control (mip_interface *device, mip_comms_interface port, mip_comms_protocol protocols_incoming, mip_comms_protocol protocols_outgoing)
 
mip_cmd_result mip::C::mip_system_read_interface_control (mip_interface *device, mip_comms_interface port, mip_comms_protocol *protocols_incoming_out, mip_comms_protocol *protocols_outgoing_out)
 
mip_cmd_result mip::C::mip_system_save_interface_control (mip_interface *device, mip_comms_interface port)
 
mip_cmd_result mip::C::mip_system_load_interface_control (mip_interface *device, mip_comms_interface port)
 
mip_cmd_result mip::C::mip_system_default_interface_control (mip_interface *device, mip_comms_interface port)
 

Detailed Description

Reassign data protocols, both incoming and outgoing.

Responds over the port that sent the command with an ACK/NACK immediately after the operation is complete. It is the user's responsibility to not send any critical information or commands while awaiting a response! Doing so while this command processes may cause those packets to be dropped.

Constraints:

If response is NACK, no change was made. Here's what can cause a NACK:

Typedef Documentation

◆ mip_system_interface_control_command

◆ mip_system_interface_control_response

Function Documentation

◆ extract_mip_system_interface_control_command()

void mip::C::extract_mip_system_interface_control_command ( microstrain_serializer serializer,
mip_system_interface_control_command self 
)

◆ extract_mip_system_interface_control_response()

void mip::C::extract_mip_system_interface_control_response ( microstrain_serializer serializer,
mip_system_interface_control_response self 
)

◆ insert_mip_system_interface_control_command()

void mip::C::insert_mip_system_interface_control_command ( microstrain_serializer serializer,
const mip_system_interface_control_command self 
)

◆ insert_mip_system_interface_control_response()

void mip::C::insert_mip_system_interface_control_response ( microstrain_serializer serializer,
const mip_system_interface_control_response self 
)

◆ mip_system_default_interface_control()

mip_cmd_result mip::C::mip_system_default_interface_control ( mip_interface device,
mip_comms_interface  port 
)

◆ mip_system_load_interface_control()

mip_cmd_result mip::C::mip_system_load_interface_control ( mip_interface device,
mip_comms_interface  port 
)

◆ mip_system_read_interface_control()

mip_cmd_result mip::C::mip_system_read_interface_control ( mip_interface device,
mip_comms_interface  port,
mip_comms_protocol protocols_incoming_out,
mip_comms_protocol protocols_outgoing_out 
)

◆ mip_system_save_interface_control()

mip_cmd_result mip::C::mip_system_save_interface_control ( mip_interface device,
mip_comms_interface  port 
)

◆ mip_system_write_interface_control()

mip_cmd_result mip::C::mip_system_write_interface_control ( mip_interface device,
mip_comms_interface  port,
mip_comms_protocol  protocols_incoming,
mip_comms_protocol  protocols_outgoing 
)