bg

Barcodes from an Android Handheld Scanner into a Data Logger over Wi-Fi

Data
Barcodes from a BARTEC SC9EX1 Smartscanner, an industrial Android 15 handheld with a Zebra SE55 scan engine
Interface
Wi-Fi, TCP/IP
Product
Advanced TCP/IP Data Logger, or Data Logger Suite, which has the same TCP/IP data source
Result
Each scan arrives at the logger as a text line with its time, ready for a file, Excel or a database; scans made offline are buffered on the device

The task

A customer wanted to scan barcodes with a BARTEC SC9EX1 Smartscanner, an Android 15 handheld, and have every code arrive in Data Logger Suite for logging and further processing, with no manual entry. The questions were direct: does the logger accept data from Android scanners over Wi-Fi or Ethernet, and over which interface, TCP/IP, a REST API or something else?

The logger side: a TCP/IP data source

Data Logger Suite and Advanced TCP/IP Data Logger have a TCP/IP data source that can work as a server. The logger listens on a port, and anything that connects and sends text lines is treated like serial data: each line is parsed, time-stamped and exported through the usual modules to a file, Excel, CSV or a database. Several scanners can connect at the same time; each connection is a separate data source. The barcode to Excel guide shows the export part of this route and compares it with USB and COM-port scanners.

The scanner side: the missing piece

The SC9EX1 has no DataWedge. Its BARTEC Scan Engine service types a scanned code into whatever field has the focus, which is a keyboard wedge for apps on the device itself. Nothing on the scanner could open a network connection and send the code to a PC.

So we wrote one. ScanBridge is a small Android app that registers with the BARTEC Scan Engine SDK, receives every scan in the background and sends it as one text line over TCP to the address and port of the logger. If the Wi-Fi drops, scans are stored on the device and sent when the connection is back, in order. The app runs as a foreground service with a status notification so that Android does not stop it, it detects power-saving modes that would, and it has a diagnostics screen for the first setup. A Scan button in the app triggers the scan engine for a quick test without the hardware trigger.

ScanBridge is now available as a time-limited demo. The download, the list of supported scanners and the setup steps are on the ScanBridge page. Write to support if your scanner is not on that list.

Configuration

  • Logger: add a TCP/IP data source, server mode, port 7777 (the app's default). Set the parser to split lines at the line end, so one scan is one record. Choose the export module: file, Excel, CSV or an SQL database.
  • Scanner: install ScanBridge, enter the IP address of the logging PC and the port, and tap Allow unrestricted battery use in its Settings, so that Android does not pause it in the background.
  • Network: the scanner and the PC on the same Wi-Fi network, and the port open in the Windows firewall for the logger.

What this gives

No typing, a time stamp per scan, and several handhelds into one logger. The same route works for any Android scanner that passes its scans to other apps through an SDK or an intent. ScanBridge was built for the BARTEC Scan Engine. It also reads Zebra DataWedge, the default scan broadcasts of several other makers and the phone camera, and more scanners can be added.

Try it yourself

The trial version of Advanced TCP/IP Data Logger has every option described above. Configure it the same way and write to support if your device sends something different.

More customer cases