core

package
v0.0.0-...-51feabd Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DequeueIncomingMessage

func DequeueIncomingMessage()

DequeueIncomingMessage ... Receive incoming channel

func DisableEGM

func DisableEGM()

DisableEGM ... Send Command to Disable EGM

func EnableEGM

func EnableEGM()

EnableEGM ... Send Command to Enable EGM

func HandsetRepay

func HandsetRepay(dispenseType string)

Handset repay ... Send Command to repay

func InitializePort

func InitializePort(activePortName string, passivePortName string)

InitializePort ... Create Serial Object

func LoadEGMwithFunds

func LoadEGMwithFunds(cashableMoneyInCents uint64, restrictedMoneyInCents uint64, nonRestrictedMoneyInCents uint64) error

LoadEGMwithFunds ... Load EGM with funds

func SASParser

func SASParser(incoming []byte) model.SASMessage

SASParser ... Parse incoming SAS message build object

func UnLoadFunds

func UnLoadFunds() error

UnLoadFunds ...Unload funds from EGM

func WriteData

func WriteData(data []byte)

WriteData ... Write to serial Port

Types

This section is empty.

Jump to

Keyboard shortcuts

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