# Functions

AsByteSlice transforms a string of manually set bits to a byt array.
GetTpIDFromTpPath extracts TpID from the TpPath.
IPToInt32 transforms an IP of net.Ip type to int32.
NewAdapterFsm - FSM details including event, device and channel.
NewOpenONUAC returns a new instance of OpenONU_AC.
NewUniVlanConfigFsm is the 'constructor' for the state machine to config the PON ANI ports of ONU UNI ports via OMCI.

# Constants

AbortMessageProcessing - message data for aborting running message.
( 3 ?) Seconds.
DeviceStatusInit - default start state.
LoadMibTemplateFailed - message data for failure for getting mib template.
LoadMibTemplateOk - message data for getting mib template successfully.
MibDatabaseSync - MIB database sync (upload done).
MibDownloadDone - // MIB download done.
OMCI - OMCI protocol type msg.
OmciAniConfigDone - AniSide config according to TechProfile done.
needs to be the successor of OmciAniConfigDone!.
OmciCapabilitiesDone - OMCI ME and message type capabilities known.
OmciVlanFilterAddDone - Omci Vlan config done according to flow-add.
needs to be the successor of OmciVlanFilterAddDone!.
PortLinkDw - Port link state change.
PortLinkUp - Port link state change.
TestMsg - Message type for non OMCI messages.
TimeOutOccurred - message data for timeout.
UniDisableStateDone - Uni ports admin set to lock based on device disable.
UniEnableStateDone - Uni ports admin set to unlock based on device re-enable.
UniLockStateDone - Uni ports admin set to lock.
UniUnlockStateDone - Uni ports admin set to unlock.

# Structs

AdapterFsm - Adapter FSM details including channel, event and device.
Message - message type and data(OMCI).
OmciMessage - OMCI protocol messages for managing and monitoring ONUs.
OnuDeviceEntry - ONU device info and FSM events.
OpenONUAC structure holds the ONU core information.
TestMessage - Struct to hold the message dataTODO: place holder to have a second interface variant - to be replaced by real variant later on.
UniVlanConfigFsm defines the structure for the state machine to config the PON ANI ports of ONU UNI ports via OMCI.

# Type aliases

MessageType - Message Protocol Type.
OmciDeviceFsms - FSM event mapping to database class and time to wait between audits.
OnuDeviceEvent - event of interest to Device Adapters and OpenOMCI State Machines.
TestMessageType - message data for various events.