Documentation
¶
Index ¶
Constants ¶
View Source
const ACK byte = 0x06
View Source
const EOT byte = 0x04
View Source
const LONG_PACKET_PAYLOAD_LEN = 1024
View Source
const NAK byte = 0x15
View Source
const POLL byte = 0x43
View Source
const SHORT_PACKET_PAYLOAD_LEN = 128
View Source
const SOH byte = 0x01
View Source
const STX byte = 0x02
Variables ¶
This section is empty.
Functions ¶
func CRC16Constant ¶
func ModemReceive ¶
func ModemReceive(c io.ReadWriter) ([]byte, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.