Programming With Serial Commands - Newland NLS-BS80 User Manual

Pocket bluetooth barcode scanner
Hide thumbs Also See for NLS-BS80:
Table of Contents

Advertisement

Programming with Serial Commands

A data format can also be created by serial commands sent from the host device. The maximum size of a
command string is 128 characters. The syntax consists of the following elements:
Add Data Format Command: $$%^5917 (8 characters).
Data format: 0~3 (1 character). 0, 1, 2 and 3 represent Format_0, Format_1, Format_2 and Format_3
respectively.
Formatter command type: 6 (1 character).
Interface type: 999 (3 characters).
Symbology ID Number: The ID number of the symbology to which you want to apply the data format (3
characters). 999 indicates all symbologies.
Data length: The length of data that will be acceptable for this symbologyrs (4 characters). 9999
indicates all lengths. For example, 32 characters should be entered as 0032.
Formatter commands: The command string used to edit data (max. 128 characters). For more
information, see the "Formatter Command Type 6" section.
Note: Serial command used to create a data format must conform to the syntax above. Returning
"\r\n$$%~OK\r\n\" indicates success; returning "\r\n$$%~ER\r\n" indicates failure.
Example: Program format_0 using formatter command type 6, Code 128 containing 10 characters
applicable, send all characters followed by "A".
Serial command: $$%^5917069990020010F141
200

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents