Documentation
¶
Index ¶
Constants ¶
View Source
const ( ParityNone = "None" ParityEven = "Even" ParityOdd = "Odd" ParityAlways0 = "Always 0" ParityAlways1 = "Always 1" StopBitsOne = "1" StopBitsOnePointFive = "1.5" StopBitsTwo = "2" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExitRequest ¶
type ExitRequest struct { }
type ExitResponse ¶
type ExitResponse struct { }
func SyncExit ¶
func SyncExit(channel *chan Message) ExitResponse
type PortConfig ¶
func DefaultPortConfig ¶
func DefaultPortConfig() *PortConfig
type PortsRequest ¶
type PortsRequest struct { }
type PortsResponse ¶
func SyncGetPorts ¶
func SyncGetPorts(channel *chan Message) PortsResponse
type ReadRequest ¶
type ReadResponse ¶
type ReconfigurePortRequest ¶
type ReconfigurePortRequest struct {
Config *PortConfig
}
type ReconfigurePortResponse ¶
type ReconfigurePortResponse struct {
Config *PortConfig
}
func SyncReconfigurePort ¶
func SyncReconfigurePort(channel *chan Message, config *PortConfig) ReconfigurePortResponse
type ReconnectRequest ¶
type ReconnectRequest struct { Config *PortConfig Port string }
type ReconnectResponse ¶
type ReconnectResponse struct { Config *PortConfig Port string Error error }
func SyncReconnectPort ¶
func SyncReconnectPort(channel *chan Message, port string, config *PortConfig) ReconnectResponse
type Unexpected ¶
type Unexpected struct {
Original Message
}
Click to show internal directories.
Click to hide internal directories.