|
MIP_SDK
v4.0.0-237-g9879cb72
MicroStrain Communications Library for embedded systems
|
Reassign data protocols, both incoming and outgoing. More...
Classes | |
| struct | mip::commands_system::InterfaceControl |
Functions | |
| TypedResult< InterfaceControl > | mip::commands_system::writeInterfaceControl (C::mip_interface &device, CommsInterface port, CommsProtocol protocolsIncoming, CommsProtocol protocolsOutgoing) |
| TypedResult< InterfaceControl > | mip::commands_system::readInterfaceControl (C::mip_interface &device, CommsInterface port, CommsProtocol *protocolsIncomingOut, CommsProtocol *protocolsOutgoingOut) |
| TypedResult< InterfaceControl > | mip::commands_system::saveInterfaceControl (C::mip_interface &device, CommsInterface port) |
| TypedResult< InterfaceControl > | mip::commands_system::loadInterfaceControl (C::mip_interface &device, CommsInterface port) |
| TypedResult< InterfaceControl > | mip::commands_system::defaultInterfaceControl (C::mip_interface &device, CommsInterface port) |
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:
| TypedResult< InterfaceControl > mip::commands_system::writeInterfaceControl | ( | C::mip_interface & | device, |
| CommsInterface | port, | ||
| CommsProtocol | protocolsIncoming, | ||
| CommsProtocol | protocolsOutgoing | ||
| ) |
| TypedResult< InterfaceControl > mip::commands_system::readInterfaceControl | ( | C::mip_interface & | device, |
| CommsInterface | port, | ||
| CommsProtocol * | protocolsIncomingOut, | ||
| CommsProtocol * | protocolsOutgoingOut | ||
| ) |
| TypedResult< InterfaceControl > mip::commands_system::saveInterfaceControl | ( | C::mip_interface & | device, |
| CommsInterface | port | ||
| ) |
| TypedResult< InterfaceControl > mip::commands_system::loadInterfaceControl | ( | C::mip_interface & | device, |
| CommsInterface | port | ||
| ) |
| TypedResult< InterfaceControl > mip::commands_system::defaultInterfaceControl | ( | C::mip_interface & | device, |
| CommsInterface | port | ||
| ) |
1.8.17