
Chapter 13: Scanners
Querying an External Scanner
95
Psion Mobile Devices Developers Guide
Scanner Services controls the serial port when the serial port is enabled on the Ports tab of the GUI
Scanners applet. This cannot be done using the Mobile Devices SDK.
Bar codes can be read and processed by the Mobile Devices SDK using:
• C++: PsionTeklogix::Scanner namespace.
• Java: com.teklogix.scanner package.
• .NET: PsionTeklogix.Barcode namespace.
Tether port behaving as a serial port
Decoded scanners only. Serial data can be sent to, and received from, the scanner. The scanner is treated in
the same way as any other serial peripheral. Scanner Services plays no part in either configuring the
scanner or processing bar codes. For information on using serial ports, see Chapter 10: “Serial Ports”.
You can configure these scanners either by scanning configuration bar codes; or if the scanner allows it, by
sending configuration parameters to the scanner through the serial port.
13.2.5 Querying an External Scanner
Querying the scanner type for an external scanner through the Mobile Devices SDK returns one of the
following strings:
13.3 Internal Scanners
An internal scanner is built into the body of the hand-held computer. Each hand-held computer can have
only one internal scanner. The scanner can be one of the following:
• Non-decoded Laser Scanner
• Decoded Laser Scanner
• 1D imager or legacy imager
• Legacy RFID scanner
These scanners can be configured using the Mobile Devices SDK or the GUI Scanners applet. Bar codes can
be read and processed using the Mobile Devices SDK.
The internal scanner is activated by the configured trigger mechanism. See the User Manual for the
hand-held for information on configuring this using the Scanners applet. An application can configure the
scanner trigger—for more information see Chapter 17: “Trigger Control”.
Querying the scanner type of an internal scanner through the API returns one of the following strings:
Scanner Type String Returned By API
No external scanner No external scanner
Non-decoded scanner Non-decoded scanner
Decoded scanner Serial scanner
Important: Support for the SX5303, SX5393, SX5400, and HHP5x80 is deprecated in the Mobile
Devices SDK. You must use the Imaging Services SDK for all new development for
these imagers.
Scanner Text Configure as... Notes
Symbol 1200 HP Non-decoded laser scanner
Symbol 1200 LR Non-decoded laser scanner
Symbol 1200 ALR Non-decoded laser scanner
Symbol 1200 WA Non-decoded laser scanner
Symbol 1223 HP Decoded laser scanner
Comentarios a estos manuales