Documentation ¶
Index ¶
- func ConvertBytesToFloat32(bytes []byte) float32
- func ConvertBytesToFloat64(bytes []byte) float64
- func ConvertBytesToInt16(bytes []byte) int16
- func ConvertBytesToInt32(bytes []byte) int32
- func ConvertBytesToInt64(bytes []byte) int64
- func ConvertBytesToInt8(bytes []byte) int8
- func ConvertFloat32ToBytes(f float32) []byte
- func ConvertFloat64ToBytes(f float64) []byte
- func ConvertInt16ToBytes(i int16) []byte
- func ConvertInt32ToBytes(i int32) []byte
- func ConvertInt64ToBytes(i int64) []byte
- func ConvertInt8ToBytes(i int8) []byte
- func InsertServerError(s *mbserver.Server)
- func ReadDiscreteRegisterError(s *mbserver.Server, frame mbserver.Framer) ([]byte, *mbserver.Exception)
- func RunAsRTU(s *mbserver.Server, cfg *rtu.Config) error
- func RunAsRTUError(cfg *rtu.Config) error
- func RunAsRTUNormal(cfg *rtu.Config) error
- func RunAsTCP(s *mbserver.Server, cfg *tcp.Config) error
- func RunAsTCPError(cfg *tcp.Config) error
- func RunAsTCPNormal(cfg *tcp.Config) error
- func WriteHoldingRegisterError(s *mbserver.Server, frame mbserver.Framer) ([]byte, *mbserver.Exception)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBytesToFloat32 ¶
func ConvertBytesToFloat64 ¶
func ConvertBytesToInt16 ¶
func ConvertBytesToInt32 ¶
func ConvertBytesToInt64 ¶
func ConvertBytesToInt8 ¶
func ConvertFloat32ToBytes ¶
func ConvertFloat64ToBytes ¶
func ConvertInt16ToBytes ¶
func ConvertInt32ToBytes ¶
func ConvertInt64ToBytes ¶
func ConvertInt8ToBytes ¶
func InsertServerError ¶
func RunAsRTUError ¶
func RunAsRTUNormal ¶
func RunAsTCPError ¶
func RunAsTCPNormal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.