e131

package module
v0.0.0-...-5ec4975 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2016 License: GPL-3.0 Imports: 4 Imported by: 0

README

e131

sACN/E1.31 library for Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataPacket

func DataPacket(syncAddr uint16, seqID uint8, optionsFlags byte, universe Universe) ([]byte, error)

return data packet payload or error

func SetPriority

func SetPriority(i int) error

SetPriority sets the DMX message priority. It should be from 0-200 with 100 being the default. The priority 100 has greater priority than 0 and less priority than 200.

func SetSourceName

func SetSourceName(s string) error

SetSourceName sets the user-assigned source name for the framing layer of the sACN packet.

func SourceName

func SourceName() string

SourceName returns the user-assigned source name used by the framing layer of the sACN packet.

Types

type Universe

type Universe struct {
	Slots  [512]byte
	Number uint8
}

func (Universe) Data

func (u Universe) Data() []byte

func (Universe) StartCode

func (u Universe) StartCode() *byte

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL