AndreasFagschlunger / O2Xfs

Java API for accessing CEN/XFS API, EMV Level 2 Kernel
47 stars 28 forks source link

CIM, CDM devices. difference between banknotes and coins. #59

Closed VitalyEG closed 6 years ago

VitalyEG commented 6 years ago

Hi, @AndreasFagschlunger. I do not understand how to identify devices containing banknotes or coins for CIM-class, CDM-class? Can I recognize what device contains (banknotes or coins)?

AndreasFagschlunger commented 6 years ago

Hi @VitalyEG Both, at.o2xfs.xfs.v3_00.cim.Capabilities3 and at.o2xfs.xfs.v3_00.cdm.CdmCaps3, have a getType method which will return one of the following values:

Value Meaning
TELLERBILL The CIM is a Teller Bill Acceptor.
SELFSERVICEBILL The CIM is a Self-Service Bill Acceptor.
TELLERCOIN The CIM is a Teller Coin Acceptor.
SELFSERVICECOIN The CIM is a Self-Service Coin Acceptor.
VitalyEG commented 6 years ago

Great Thanks, AndreasFagschlunger!