#[repr(u16)]pub enum EventCode {
Show 29 variants
PowerUp = 0,
PowerUpAcceptor = 1,
PowerUpStacker = 2,
Inhibit = 256,
ProgramSignature = 258,
Rejected = 260,
Collected = 264,
Clear = 512,
OperationError = 513,
Failure = 514,
NoteStay = 769,
PowerUpAcceptorAccepting = 4_113,
PowerUpStackerAccepting = 4_114,
Idle = 4_353,
Escrow = 4_354,
VendValid = 4_355,
AcceptorRejected = 4_356,
Returned = 4_357,
AcceptorCollected = 4_360,
Insert = 4_362,
ConditionalVend = 4_363,
Pause = 4_364,
Resume = 4_365,
AcceptorClear = 4_608,
AcceptorOperationError = 4_609,
AcceptorFailure = 4_610,
AcceptorNoteStay = 4_865,
FunctionAbeyance = 4_866,
Reserved = 65_535,
}Expand description
Represents code variants for specific request messages.
Variants§
PowerUp = 0
Normal Power Up status.
PowerUpAcceptor = 1
Detected a returnable note on Power Up.
PowerUpStacker = 2
Detected a non-returnable note on Power Up.
Inhibit = 256
Device is disabled.
ProgramSignature = 258
Notified hash value of the device firmware.
Rejected = 260
Note removed from transport path during Power Up.
Collected = 264
Note collection completed successfully.
Clear = 512
Resolved controversial error.
OperationError = 513
Unable to operate.
Failure = 514
Fatal error occurred.
NoteStay = 769
Returned note remains in Insertion Slot for a certain time.
PowerUpAcceptorAccepting = 4_113
Returned note left in device at Power Down is returnable at Power Up.
PowerUpStackerAccepting = 4_114
Returned note left in device at Power Down is non-returnable at Power Up.
Idle = 4_353
Device in stand-by.
Escrow = 4_354
An inserted note passed validation.
VendValid = 4_355
Stacking note is allowed.
AcceptorRejected = 4_356
Returning note is completed before Escrow Status is notified.
Returned = 4_357
Returning note is completed after Escrow Status is notified.
AcceptorCollected = 4_360
Stacking a note completed.
Insert = 4_362
Note is inserted.
ConditionalVend = 4_363
Conditional stacking is processed.
Pause = 4_364
Device has stopped.
Resume = 4_365
Device resumes and is operational.
AcceptorClear = 4_608
Device resolved controversial error.
AcceptorOperationError = 4_609
Unable to operate.
AcceptorFailure = 4_610
Fatal error occurred.
AcceptorNoteStay = 4_865
Returned note remains in Insertion Slot for a certain time.
FunctionAbeyance = 4_866
Enabled functions cannot operate.
Reserved = 65_535
Reserved request.