0x1804 - Read Barcode (BCR Only)
The host uses this command to direct the device to arm or disarm the barcode reader for reading a barcode outside the scope of a transaction. This is an immediate directive. To read barcodes within the scope of a transaction, use Start Transaction - Command 0x1001 and its barcode reader parameters instead.
The sequence of events is as follows:
The host ensures the device is not currently running another command, for example, that it is not running a transaction using Start Transaction - Command 0x1001.
The host composes a command request in the format below and sends it to the device.
If the device has a display, it shows a prompt SCAN BARCODE.
The device enables the barcode reader.
The device returns a command response message with Response Status, Operation Status Summary byte set to 0x00 (OK, Done) after which the host is free to send further commands.
The host may end the barcode reading session by calling this command again with the Enable parameter set to Disable.