blob: a3bc5e4bc03952938c26fd6ec8235339dc0c1856 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
package com.github.jodersky.flow
/**
* Groups settings used in communication over a serial port.
* @param port name of serial port
* @param baud baud rate to use with serial port
* @param characterSize size of a character of the data sent through the serial port
* @param twoStopBits set to use two stop bits instead of one
* @param parity type of parity to use with serial port
*/
case class SerialSettings(port: String, baud: Int, characterSize: Int = 8, twoStopBits: Boolean = false, parity: Parity.Parity = Parity.None)
|