Function device_control_string

Source
pub fn device_control_string(control_string: &str) -> String
Expand description

Creates a new Device Control String.

The given control string will be prefixed with DCS and suffixed with ST.

The command string represents either one or more commands for the receiving device, or one or more status reports from the sending device. The purpose and the format of the command string are specified by the most recent occurrence of IDENTIFY DEVICE CONTROL STRING (IDCS), if any, or depend on the sending and/or the receiving device.