|Bluetooth Scanner: Setup Example|
|Home Barcode Mill Barcode Fonts How to order Email us|
For 30 years I have been helping organisations and individuals with their Barcode and Auto ID issues but now I have decided it is time to move on and retire from being the Barcode Man.
I will continue to respond to emails from existing customers about their earlier purchases, their special programming configurations and warranty issues but I regret I cannot help with new purchases or issues nor recommend alternative products or sources.
Lee Allen, The Barcode Man. February 2010
This is an example of how to set up a Bluetooth barcode scanner to work with a PC. First I will show how to set up the Scanner to work in RS232 mode as if connected to a virtual serial port and then how to adapt the configuration to work as a virtual KeyWedge™ scanner.
The hardware and software I used is listed below (different hardware or software may need to be handled differently)...
Step 1: Install the Bluetooth Dongle
The Bluetooth dongle is now installed. You will find a 'BlueSoleil' icon on the desktop and a new bluetooth icon in the system tray. Clicking the icon brings up the 'BlueSoleil' Main Window.
Step 2: Linking the Scanner
Before starting make sure the scanner batteries are FULLY charged (overnight). If the batteries go low during installation all sorts of problems can arise.
Pairing the scanner with the Computer
This step has to be completed within about 30 seconds so be prepared with a 'pairing code' (sometimes called a Pass key). The code is used to identify this particular scanner to this PC in the future. There is nothing special or magical about a pairing code but it should be different from any other bluetooth device connected to this computer. You could use the scanner serial number, something more descriptive or just an arbitary code like '12345'. When you have decided on your pairing code do the following...
The scanner is now linked to the PC. (The scanner icon is firing red dots at the sun).
Step 3: Test the connection
Right-click the Scanner icon and select status. Note the signal strength reduces as the scanner is moved away from the dongle. For normal use the strengh indicator should be about mid way.
Scan some barcodes: The Received Byte count should increase as the data is received at the PC.
This panel also shows which virtual com port has been linked to the scanner.
Typically COM4(SPP) is allocated. If you want different com port you can change it
Your scanner is now properly configured as a serial device. An application can read barcode data simply by reading the com port.
You can demonstrate this by using Hyperterminal or some other terminal emulation program to display the data as it is received.
Step 4: Keyboard emulation (Optional)
A scanner configured as a serial device is fine if your application needs serial data but most general purpose software applications do not have this capability.
Many applictions will expect the scanner to work in KeyWedge™ mode. There is a driver to do this on the CD packed with the scanner. Called DLWedgeEmulation it can be found in the SW Tools section.
To install the driver follow these steps...
Your scanner is now working as a Wedge device. Data from a scanned barcode will appear on the scren as if it were typed at the keyboard.
To test this open up an editing program like notepad or a word processor. Type a few characters on the keyboard. Now scan a barcode and the data will be sent into your application just as if they have been typed.
You may need to fine tune the output of the scanner to match your application's needs. For example if you have installed the KeyWedge™ driver you may see an unwanted blank line under each set of data. This is because the scanner by default auto appends a Carriage Return plus Line Feed to each barcode. This may be needed when the scanner is operated as a Serial device but not when used in KeyWedge™ mode.
To correct this open the Gryphon BT refence manual. (The manual can be found on the CD under the documents tab). Find the 'Data Format' section and print a hard copy of the 'Terminator' page. You will also need a printout of the 'Hex and Numeric Table' of barcodes at the end of the manual.
To change the terminator to a single Carriage Return code scan the following barcodes in the order shown:
Alternatively if you want nothing appended to the barcode...
|Top Home||© Lee Allen,2018|