RFID service

The LS One POS can sell items from readings RFID tags. Each device has it's own connection properties and communications so in order to use this functionality the RFID service needs to be implemented.

Configurations

The RFID scanning functionality needs to be activated in the hardware profile. Any other configurations need to be created as a customization.

Main functionality

The RFID scanner is wired into the POS using the same method as the rest of the hardware i.e. through the Peripherals service. When the POS loads up all the devices the Load function of the RFID service is called directly from the Peripherals project, same happens when the POS is shutting down and unloads all the devices.

If the RFID scanning is activated in the hardware profile the POS is constantly polling the RFID scanner. We recommend carefully implementing the NewTags property to make sure that the POS is not unnecessarily processing RFID tags that have already been processed when no tags are to be read.

When implementing RFID tags to use for selling items the POS in almost all cases needs to communicate with security gates or surveillance system which in LS One can be done when the sale is being concluded and the items have been paid for.

Name Description
ConcludeRFIDs Here any processing of RFID tags that needs to be done after the sale has concluded should be done for example send the RFID tags to the security gates or surveilance systems. This function is called from the ConcludeTransaction from the Transaction service when the POS is finishing the sale.
DisableForScan Is called from the POS core when POS input is being disable for example when a dialog is being displayed or an operation is running
GetUnProcessedRFIDs Gets the unprocessed RFID tags that will then be processed as items and sold on the POS
Load Is called from the POS core when the POS is loading in all the devices. This function is called through the RFIDScanner part of the Peripherals service.
MarkProcessedRFIDs Is called after all the RFID tags have been processed and sold on the POS to mark the tags as sold/processed. The tags sold can be viewed on each SaleLineItem on the transaction in property RFIDTagId
NewTags A property that the RFIDScanner object in the Peripherals service uses to decide if it should ask the scanner for new new tags. The Get function should be implemented to tell the POS if it should ask for tags or not. Is set to false by the POS core once MarkProcessedRFIDs has been run.
ReEnableForScan Is called from the POS core when POS input is being enabled for example when a dialog has been closed or an operation has finished running
Unload Is called from the POS core when the POS is unloading in all the devices. This function is called through the RFIDScanner part of the Peripherals service.

 

POS Operations

No user operations call the RFID service directly

Development pack

To find this service in the development pack go to DevPack\Source\POS\Services

See also

Transaction service

Peripherals