Comm Port Speed (0x01,0x09)

Description

Controls the baud rate of a specific port on the device.

Notes

Please see the device user manual for supported baud rates on each port.

The device will wait until all incoming and outgoing data has been sent, up to a maximum of 250 ms, before applying any change.

No guarantee is provided as to what happens to commands issued during this delay period; They may or may not be processed and any responses aren't guaranteed to be at one rate or the other. The same applies to data packets.

It is highly recommended that the device be idle before issuing this command and that it be issued in its own packet. Users should wait 250 ms after sending this command before further interaction.

Parameter Name Data Type Description
Field Length u8 8
Descriptor u8 0x09
Function Selector u8 This command supports the following MIP function selectors:
Write Read Save Load Default [WRSLD]
Port [WRSLD] u8 Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all ports. See the device user manual for details.
Baud [W] u32 Port baud rate. Must be a supported rate.
Ack/Nack Reply See standard MIP ack/nack reply format.
Response Data Data Type Description
Response Length u8 7
Response Descriptor u8 0x89
Port u8 Port ID number, starting with 1. When function is SAVE, LOAD, or DEFAULT, this can be 0 to apply to all ports. See the device user manual for details.
Baud u32 Port baud rate. Must be a supported rate.