Documentation ¶
Index ¶
- func ConsoleListen(morserinoPortName string, genericEnumPorts comPortEnumerator) error
- func DetectDevice(genericEnumPorts comPortEnumerator) (string, error)
- func Get_com_list(genericEnumPorts comPortEnumerator) (comPortList, error)
- func List_com(genericEnumPorts comPortEnumerator) (string, error)
- func Listen(port io.Reader) error
- type EnumeratePorts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsoleListen ¶
Main listen function with display to the console
func DetectDevice ¶
Tries to auto detect the Morserino port
func Get_com_list ¶
func Get_com_list(genericEnumPorts comPortEnumerator) (comPortList, error)
Gets all the ports on the system , checks whether it is a moreserino, and returns an array of port description
Types ¶
type EnumeratePorts ¶
type EnumeratePorts struct{}
func (EnumeratePorts) GetDetailedPortsList ¶
func (e EnumeratePorts) GetDetailedPortsList() ([]*enumerator.PortDetails, error)
Click to show internal directories.
Click to hide internal directories.