MIP_SDK
latest-2-g34f3e39
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) |
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:
TypedResult< InterfaceControl > mip::commands_system::defaultInterfaceControl | ( | C::mip_interface & | device, |
CommsInterface | port | ||
) |
TypedResult< InterfaceControl > mip::commands_system::loadInterfaceControl | ( | C::mip_interface & | device, |
CommsInterface | port | ||
) |
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::writeInterfaceControl | ( | C::mip_interface & | device, |
CommsInterface | port, | ||
CommsProtocol | protocolsIncoming, | ||
CommsProtocol | protocolsOutgoing | ||
) |