Uses of Class
com.pi4j.io.serial.SerialConfig
-
Packages that use SerialConfig Package Description com.pi4j.io.serial com.pi4j.io.serial.impl com.pi4j.util -
-
Uses of SerialConfig in com.pi4j.io.serial
Methods in com.pi4j.io.serial that return SerialConfig Modifier and Type Method Description SerialConfig
SerialConfig. baud(Baud baud)
SerialConfig
SerialConfig. dataBits(DataBits dataBits)
SerialConfig
SerialConfig. device(String device)
SerialConfig
SerialConfig. flowControl(FlowControl flowControl)
SerialConfig
SerialConfig. parity(Parity parity)
SerialConfig
SerialConfig. stopBits(StopBits stopBits)
Methods in com.pi4j.io.serial with parameters of type SerialConfig Modifier and Type Method Description void
Serial. open(SerialConfig serialConfig)
This opens and initializes the serial port/device and sets the communication parameters. -
Uses of SerialConfig in com.pi4j.io.serial.impl
Methods in com.pi4j.io.serial.impl with parameters of type SerialConfig Modifier and Type Method Description void
SerialImpl. open(SerialConfig serialConfig)
This opens and initializes the serial port/device and sets the communication parameters. -
Uses of SerialConfig in com.pi4j.util
Methods in com.pi4j.util that return SerialConfig Modifier and Type Method Description static SerialConfig
CommandArgumentParser. getSerialConfig(SerialConfig defaultConfig, String... args)
This utility method searches for the following options: "--device (device-path)" [DEFAULT: /dev/ttyAMA0] "--baud (baud-rate)" [DEFAULT: 38400] "--data-bits (5|6|7|8)" [DEFAULT: 8] "--parity (none|odd|even)" [DEFAULT: none] "--stop-bits (1|2)" [DEFAULT: 1] "--flow-control (none|hardware|software)" [DEFAULT: none] in the arguments array and returns a SerialConfig instance based on the option values detected.Methods in com.pi4j.util with parameters of type SerialConfig Modifier and Type Method Description static SerialConfig
CommandArgumentParser. getSerialConfig(SerialConfig defaultConfig, String... args)
This utility method searches for the following options: "--device (device-path)" [DEFAULT: /dev/ttyAMA0] "--baud (baud-rate)" [DEFAULT: 38400] "--data-bits (5|6|7|8)" [DEFAULT: 8] "--parity (none|odd|even)" [DEFAULT: none] "--stop-bits (1|2)" [DEFAULT: 1] "--flow-control (none|hardware|software)" [DEFAULT: none] in the arguments array and returns a SerialConfig instance based on the option values detected.
-