Connecting a Bluetooth Barcode Scanner to WinXP with SP2
How to connect a Bluetooth Barcode Scanner without additional software in Windows XP
- Incoming or outgoing connection
- Pairing from SF51 as client with SPP
- Using accessibility options to simulate keystrokes
- Cleanup COM port usage
- Installation of SF51 as HID device
There are several ways to connect your sf51 and your PC. If you have your own application, you should use a serial connection. If you paired the SF51 with an incoming connection on the PC, the scanner will be online, when you open the COM port.
If you don’t own the source of the target application(s), you have to use a solution, that translates the barcodes scanned into keystrokes.
Incoming or outgoing connection
In the following I am talking always about a SF51. Replace this with your Bluetooth Barcode Scanner.
As soon as a connection is created from the host (your PC), the host is responsible for reconnecting the device, if it has gone offline or leaved the range of the BT waves. This is true for MS HID and outgoing serial connections. If the client (the SF51) initiates the connection, it will automatically reconnect.
If you use third party tools, like Keyport Lite or Keyport BT, these are responsible for reconnecting the SF51. These tools offer some options for auto reconnect. See there documentation for details.
Pairing from SF51 as client with SPP
To pair a SF51 with your PC, you should follow these steps:
- Start EasySet
- Create an “administration reset factory defaults” barcode
- Create “´Bluetooth parameters – connect/disconnect – compose BT address” and enter the BT address of your PCs BT adapter
Your PC will now notify about the new connection ask for confirmation and the default PIN (0000)
Using accessibility options to simulate keystrokes
If you connected your SF51 as described in “Pairing from SF51 as client with SPP”, you can use the WinXP Accessibility options to connect the incoming COM port opened by the SF51 as keyboard wedge.
Click Start-Settings-Control Panel and select the Accessibility applet
In the Input Help dialog on the General tab activate the option for external input help and click [Settings]
In the dialog “Settings for SerialKeys …” select the com port, that is connected to your SF51.
The com port can be seen in BT devices dialog.
If the SF51 is not connected to one of the ports COM1 to COM4, you have to cleanup the COM port usage.
Click [OK] to close and confirm all dialogs. If you now scan, the barcode’s text is sent as keystrokes to the active window. This also works with DOS windows.
Cleanup COM port usage
Windows will not free unsused COM ports if they have been used in the past with BT devices. The accessibility external input options only allow com1 to com4. To cleanup com ports not in used, open the device manager and then expand the serial and parallel connectors tree.
Select the serial BT port(s) not in use and delete them except for the last!
Right click this last BT serial entry and select properties
In the properties window select the connections setting dialog
Now click [Advanced…]
Now select one after one with ‘(in use)’ except for the ones built in your computer (if any, maybe COM1 and/or COM2) and click OK and confirm the warning dialogs.
After all, only the hardware com ports should be listed as (in use).
Installation of SF51 as HID device
First scan “adminstrator reset factory default” and “Bluetooth parameters – profile for communication – HID keyboard” barcodes created with EasySet either on screnn (LCD or TFT) or from a printed config sheet.
Then right click on MS BT symbol in lower right corner of your WinXP taskbar. Then Select “Add Bluetooth device”. Or open the dialog BT devices and click [Add…].
Your SF51 should not be listed there as here, where it is already installed.
Confirm the check box saying “the device is configured and ready to be recognized” and click [Next].
In the next window the devices near your PC are searched and will be listed.
Your SF51 should be recognized and listed as here. Select it and then click [next].
With the admin reset, the sf51 uses security and a PIN of ‘0000’. Please check option “Let me choose my own passkey” and enter the PIN ‘0000’. Click [Next] to advance. The wizard will perform the installation and device manager installs the new device.
Now click [Finish] and you are done.
Every barcode you scan with your sf51 from now on will be send as keystrokes followed by a return to the active WinXP window. This also works with DOS windows:
A Disadvantage of the HID profile is, that it does not support automatic reconnect, due to security concerns of MS.
Cool articles – Love reading your blog, it always makes me happy :).
Could you connect an IP30 to XP in this same fashion? I’m going to be doing dev work for CN3/IP30 and would play around with the IP30 in xp too if this was possible.
Thanks,
Tom
Yes, you can, BUT it is better to use an IP connection to the CN3 and port 2189 (telnet raw).
If the IP30 is connected to the CN3 and the CN3 has a valid IP in your network, you can connect to this IP and then play from XP PC with the reader. The Datacollection Engine on the CN3 will bridge the connection between BT and TCP/IP.
If you would like to use the IP30 directly, you can also connect with SPP from XP to IP30 directly. But as the IP30 will not just transmit only read RFID tags, you have to send it a READ command and will then get back a response about TAGs.
This is different from a barcode reader, which sends over the barcode data directly after scan.
Search also community.intermec.com for IP4 IP30.
Josef
using bluetooth scanner in serial keys mode, how can i get it to “enter’ automatically ? ? ?
If you need an auto-enter, you have setup the scanner to add a CR after every barcode. If your scanner is not configurable to so do, you have to use a commercial Keyboard Wedge Software for your PC and the scanner.
Schweeet Thanx ! ! :> . . . . but how do i do this using easyset 5.6.5 ? ? ?