Configuring the RFID
Configuring the RFID
| Configuration files |
|
Installation
The add-on pack for RFID must be assigned to POS Clients in Storemanager.
Activation of the RFID Device
DeviceEntryTypes.DETEGO_JPOS.id=DetegoJposRfidScanner
DeviceEntryTypes.DETEGO_JPOS.descriptionKey=device.entry.DETEGO.rfid
DeviceEntryTypes.DETEGO_JPOS.description=Detego RFID Scanner
DeviceEntryTypes.DETEGO_JPOS.deviceCategory=RFID_SCANNER
DeviceEntryTypes.DETEGO_JPOS.enabled=true
DeviceEntryTypes.DETEGO_JPOS.active=true
DeviceEntryTypes.DETEGO_JPOS.className=com.gk_software.pos.hal.device.rfid.JPosRfidScanner
DeviceMappingEntryTypes.DefaultRfidScanner.mappedTo=DetegoJposRfidScannerRfidScannerConfigs.DETEGO_JPOS.readTimerInterval=1000There is the following setting:
- readTimerInterval: Defines the interval (in milliseconds) of reading operations when the device continuous reading mode is started. This means that if the RFID device is activated, it reads every second and checks if there are new items for registration. This parameter is only supported for continuous reading mode (readingMode=Continuous).
<JposEntry logicalName="DetegoJposRfidScanner">
<creation factoryClass="gk.javapos.GkServiceInstanceFactory" serviceClass="com.gk_software.pos.plugin.rfid.hal.device.detego.DetegoJposRfidScannerService"/>
<vendor name="Detego" url="http://www.detego.com"/>
<jpos category="RFIDScanner" version="1.14"/>
<product description="Detego RFIDScanner by GK Software SE, JPOS1.14" name="Detego Services for JavaPOS(TM) Standard" url="http://www.detego.com"/>
<!--Other non JavaPOS required property (mostly vendor properties and bus specific properties i.e. RS232 )-->
<prop name="deviceClass" type="String" value="com.gk_software.pos.plugin.rfid.hal.device.detego.DetegoRfidImpl"/>
<prop name="enableBatchProcessing" type="Boolean" value="false"/>
<prop name="address" type="String" value="http://localhost:8088/rfid"/>
<prop name="connectionTimeout" type="Integer" value="2000"/>
<prop name="timeout" type="Integer" value="15000"/>
<prop name="username" type="String" value=""/>
<prop name="password" type="String" value=""/>
</JposEntry>There are the following settings:
- enableBatchProcessing: This parameter defines whether items are sent in one (= true) or multiple (= false) requests to the RFID middleware.
- address: Address to the RFID middleware.
Master Data
RFID items have to be maintained in the master data accordingly as they are handled differently on the Omnichannel Point-of-Sale. RFID items have the following setting:
- ItemSO.RFIDFlag = true
As the default is set to true, especially non-RFID items have to be maintained as well:
- ItemSO.RFIDFlag = false
Recommended Settings
In addition, it is recommended to use the following settings:
Enable Display Panel
UiEnrichmentConfig.enrichmentPanelConfigs.0.displayPanel=trueThe display panel is restricted to item-related dialogs (the dialog relates to one item).
2D Barcode Scanning and RFID Reading
In addition to the RFID Bulk Item Registration using the RFID device, it is possible to scan the corresponding 2D barcode and enter the item using the RFID Bulk Item Registration as well. The configuration of the 2D barcode scanning is done in the file barcodeProcessor.properties .
RFID reading by the RFID device is configured in the file rfidProcessor.properties .
Configuration for Starting and Stopping the RFID Device
The processes in which the RFID reader is reading or stops reading can be configured. There are the following possibilities:
Automatic Activation
It is possible to configure that the RFID device is activated automatically when a process or context is entered:
- process: The corresponding process is listed as "processName"
- context: The corresponding context is listed in the "contextIds"
DeviceActivityConfigs.RfidScanner.enableProcesses.0.processName=ItemRegistration
DeviceActivityConfigs.RfidScanner.enableProcesses.0.contextIds.0=Return
DeviceActivityConfigs.RfidScanner.enableProcesses.1.processName=ReturnWithTransactionIn this case, the RFID device is activated automatically in goods return mode (without registration) and in goods return with transaction. It is not started automatically in the item registration.
DeviceActivityConfigs.RfidScanner.enableProcesses.0.processName=ItemRegistration
DeviceActivityConfigs.RfidScanner.enableProcesses.0.contextIds.0=Return
DeviceActivityConfigs.RfidScanner.enableProcesses.0.contextIds.1=AdditionalProcessIn this case, the RFID device is activated automatically in the goods return without transaction mode and in the "AdditionalProcess".
Automatic Reset
DeviceActivityConfigs.RfidScanner.resetEventKeys.0=FLOW_EVENT_GOODS_RETURN_EXITED
DeviceActivityConfigs.RfidScanner.resetEventKeys.1=FLOW_EVENT_RETURN_WITH_TX_EXITED
DeviceActivityConfigs.RfidScanner.resetEventKeys.2=FLOW_EVENT_PAYMENT_MAIN_ENTERED
DeviceActivityConfigs.RfidScanner.resetEventKeys.3=FLOW_EVENT_SIGNED_OFF
DeviceActivityConfigs.RfidScanner.resetEventKeys.4=FLOW_EVENT_POS_LOCKED
DeviceActivityConfigs.RfidScanner.resetEventKeys.5=EVENT_TRANSACTION_CLOSEDIn this case, the RFID device is reset in the following cases:
- The goods return mask (with and without receipt) is exited
- The payment mask is entered
- The transaction is finished (e.g. also by receipt cancellation)
- The operator signs off or starts a break
Advanced Configuration
Add RFID Reading to Additional Processes
At the moment, RFID reading is configured for the Item Registration Mask and the Goods Return Masks (with and without transactions). To add RFID reading to additional processes, the following steps are required:
- Add the RFID button to the corresponding tableau
- For the scanning with the RFID device, ensure that the process is listed in the file rfidProcessor.properties
- For scanning with the 2D Barcode, ensure that the process is configured accordingly in the file barcodeProcessor.properties
- If the RFID device should be activated automatically when the process is entered, it must be added to the "enableProcesses" in the file hal.properties . See also Automatic Activation.
- If the RFID device should be reset automatically when such a process is left, it must be added to the "resetEventKeys" in the file hal.properties . See also Automatic Reset.
Switch From Continuous RFID Reading to Single RFID Reading
RFID reading can be done in two modes:
- Continuous RFID Reading
- Single RFID Reading
By default, continuous RFID reading is configured. This means that, once it is activated, the RFID device reads permanently until it is deactivated manually or a "reset event" happens.
This behavior can be switched to Single RFID Reading. This means that the RFID device reads once it is started until no further items are available for reading. To switch to this Single RFID Reading, perform the following steps:
- In the file rfidReadingConfigs.properties , set the RFID Reading Mode:
#RfidReadingConfigs.Default.readingMode=Continuous
RfidReadingConfigs.Default.readingMode=Single
- In the file hal.properties , remove (here: commented out) the reference to the DeviceActivityConfigs:
#RfidScannerConfigs.DETEGO_JPOS.deviceActivityConfig=reference\:DeviceActivityConfigs.RfidScanner
Error Handling
Start of the POS
StartupScreenConfig.initFailActions.DetegoJposRfidScanner=CONTINUEPossible different values are:
- ABORT: The only option in the case of an error is to abort the start manually.
- MANDATORY: Possible options in the case of an error are to abort or to retry the initialization.
- OPTIONAL: Possible options in the case of an error are to abort, to retry the initialization or to continue without initialization.
This configuration is also possible for other devices in general.
This setting is recommended as the RFID device can also be initialized after the POS start by the device manager.
During Registration
If the RFID device is reading, a general error message is always displayed if the RFID middleware cannot be reached. In continuous reading mode (=default), the RFID device reads every X seconds (X is defined in the parameter "readTimerInterval", see also Activation of the RFID Device).
During Payment End
If the RFID middleware cannot be reached due to an offline error, a corresponding confirm dialog is displayed. The process can be repeated or finished without sending the items to the RFID middleware.
PaymentEndConfigs.Default.showRfidWarning=true