Interface Control (0x7F,0x02)
Description |
Reassign data protocols, both incoming and outgoing. |
|||||||||||||||||||||||||
Notes |
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: - Limited parsers and data streams are available. Refer to your device manual for more information. - The Main port always has a MIP parser and MIP data stream bound. Additionally, Main is the only port that can process interface control commands. If response is NACK, no change was made. Here's what can cause a NACK: - The requested protocol isn't supported on this device, or on this port, or this device doesn't support that many parsers. - The request would break the general constraints listed above, or a device-specific constraint. |
|||||||||||||||||||||||||
Parameter Name | Data Type | Description | ||||||||||||||||||||||||
Field Length | u8 | 12 | ||||||||||||||||||||||||
Descriptor | u8 | 0x02 | ||||||||||||||||||||||||
Function Selector | u8 |
This command supports the following MIP function selectors:Write Read Save Load Default
[WRSLD]
|
||||||||||||||||||||||||
Port
[WRSLD]
|
u8 enum |
Which physical interface is being selected (USB, serial, etc)
|
||||||||||||||||||||||||
Protocols Incoming
[W]
|
u32 bitfield |
Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses, it will be sent over this port even if no corresponding output protocol is set.
|
||||||||||||||||||||||||
Protocols Outgoing
[W]
|
u32 bitfield |
Data protocol(s) the port will output
|
||||||||||||||||||||||||
Response Data | Data Type | Description | ||||||||||||||||||||||||
Response Length | u8 | 11 | ||||||||||||||||||||||||
Response Descriptor | u8 | 0x82 | ||||||||||||||||||||||||
Port | u8 enum |
Which physical interface is being selected (USB, serial, etc)
|
||||||||||||||||||||||||
Protocols Incoming | u32 bitfield |
Input protocol(s) the port will accept. If the protocol supports ACK/NACK or detailed responses, it will be sent over this port even if no corresponding output protocol is set.
|
||||||||||||||||||||||||
Protocols Outgoing | u32 bitfield |
Data protocol(s) the port will output
|