omci

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTestResult added in v0.0.19

func BuildTestResult(payload []byte) ([]byte, error)

func CreateEnableUniRequest

func CreateEnableUniRequest(tid uint16, uniId uint16, enabled bool, isPtp bool) ([]byte, error)

func CreateGalEnetRequest

func CreateGalEnetRequest(tid uint16) ([]byte, error)

func CreateGemPortRequest

func CreateGemPortRequest(tid uint16) ([]byte, error)

func CreateMibResetRequest

func CreateMibResetRequest(tid uint16) ([]byte, error)

func CreateMibUploadNextRequest

func CreateMibUploadNextRequest(tid uint16, seqNumber uint16) ([]byte, error)

func CreateMibUploadRequest

func CreateMibUploadRequest(tid uint16) ([]byte, error)

func DecodeOmci

func DecodeOmci(payload []byte) (omci.MessageType, gopacket.Packet)

func IsTestRequest added in v0.0.19

func IsTestRequest(payload []byte) (bool, error)

Return true if msg is an Omci Test Request

Types

type ServiceStep

type ServiceStep struct {
	MakeTxFrame txFrameCreator
	RxHandler   rxFrameParser
}

Jump to

Keyboard shortcuts

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