Documentation ¶
Index ¶
- func Connect(serialport string)
- func Disconnect()
- func GetDataPoint(emulate bool) protocol.DataPoint
- func List() []string
- func ListSerialPorts(cmd *cobra.Command, args []string)
- func ReadErrors(emulate bool) []protocol.Error
- func ReadProtocolAndFirmware(emulate bool) (string, string)
- func ReadSerialNumber(emulate bool) string
- func Receive() ([]byte, error)
- func Send(data []byte)
- func SetupCloseHandler()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Disconnect ¶
func Disconnect()
func GetDataPoint ¶
func ListSerialPorts ¶
func ReadErrors ¶
func ReadProtocolAndFirmware ¶
func ReadSerialNumber ¶
func SetupCloseHandler ¶
func SetupCloseHandler()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.