Documentation
¶
Index ¶
- Constants
- Variables
- func Receive(payload []byte, dst [mw.V4AddrLen]byte, src [mw.V4AddrLen]byte, dev mw.IDevice) psErr.E
- func Send(typ uint8, code uint8, content uint32, payload []byte, src mw.IP, dst mw.IP) psErr.E
- func SplitContent(content uint32) (id uint16, seq uint16)
- func Start(wg *sync.WaitGroup) psErr.E
- func Stop()
- type Hdr
- type Reply
Constants ¶
View Source
const Echo = 0x08
View Source
const EchoReply = 0x00
View Source
const HdrLen = 8 // byte
Variables ¶
View Source
var ReplyQueue chan *Reply
Functions ¶
func SplitContent ¶ added in v0.4.0
Types ¶
Click to show internal directories.
Click to hide internal directories.