Serial Input

DataWedge 7.2

Overview

Serial Input options are used to specify communications parameters for a scanner or other device connected to a serial port that will be used to acquire data. In the DataWedge UI, the number of serial ports availabile for selection varies according to the number of serial ports on the host device. If a USB cable is connected to the device, serial port is not available nor visible in the UI. For example, if a VC80x device is connnected to a computer via USB cable, serial port communications are blocked. Zebra recommends removing the USB cable before using the serial port.


Serial Port Configuration

Applies only to devices running Android N and higher. Pre-N versions offer Enable/Disable function only.

Input enabled on Serial port 1 of a Zebra VC80x; second serial port (disabled) also shown.

Baud rate - specifies the modulation rate of the connected serial device.

Data bits - specifies the number of data bits in a serial frame (data bits per byte).

Parity - specifies the parity bits using one of the following values:

  • None: No parity check
  • Odd: Sets the parity bit so the count of bits set is an odd number
  • Even: Sets the parity bit so the count of bits set is an even number
  • Mark: Leaves the parity bit set to 1
  • Space: Leaves the parity bit set to 0

Stop bits - specifies the number of stop bits to use.

Tapping on a setting displays a dialog box for changing its value.

Notes:

  • Serial port configuration is available only on devices running Android N and higher. For prior versions, only the Enable/Disable options are available for serial ports.
  • For more information about required serial communication settings of a specific device, please refer to documentation that accompanied the peripheral being connected.
  • Serial-port settings also can be configured programmatically. See SET_CONFIG API section.

Relates Gudies: