Views:

🧾 Description

Procedure for sending a LED signal and/or a beep to a CODIScan paired with its Gateway via USB-COM on an Android 13 device using the “Serial USB Terminal” app.
This is done using the SYNCHRONE (2-way) protocol.

🛠️ Resolution Steps

A) Prerequisites

Minimum firmware versions:

CODIScan (HS7600)Gateway (GWU-HS7600)
610197128610200724

  
Android 13 app used for testing:

ApplicationPlay Store link Version
Serial USB Terminalhttps://play.google.com/store/apps/details?id=de.kai_morich.serial_usb_terminal 1.55 2024-07-21

  
Communication cable between the Gateway and our MEMOR30 terminal:

TypePart number
 USB-C 90A052354

 

Illustration
 

 

B) Communication frame from the host to the CODIScan

Example of a frame to be transmitted to the CODIScan via the Gateway in synchronous mode and through the application:

Turns on RED LED AND emits an ERROR BEEPTurn on GREEN LED AND play OK BEEP
0007BE44D2D8<ESC>[8q<ESC>[4q<ESC>[9q<CR>007BE44D2D8<ESC>[6q<ESC>[3q<ESC>[7q<CR>
IMPORTANT INFORMATION:
The first 12 characters are the ID of the transmitting CODIScan.
It is unique to each reader and cannot be modified.
The reader must transmit data so that the host can respond.
If the host does not respond to the frame sent by the reader, the reader emits 4 beeps (high, low, high, low)

In the application we use for our tests, ESC commands must be transmitted in HEXA.
This results in the following frames:

Turns on RED LED AND emits ERROR BEEP - HEXATurns on GREEN LED AND emits OK BEEP - HEXA 
3030303742453434443244381B5B38711B5B34711B5B39710D 3030303742453434443244381B5B36711B5B33711B5B 37710D

C) General Setup

  1. Scan UNLINK:

     
  2. Scan the pairing code located on the Gateway. The reader will emit rising beeps.
     
  3. Scan “Restore USA Default”:

     
  4. Scan the USB-COM interface:


D) CODIScan/Gateway Configuration in Synchronous Mode 

Scan this configuration code:

 

INFORMATION:
This only needs to be done once per Gateway. If there are multiple readers on the same Gateway, this configuration is no longer necessary if it has already been scanned once.

E) Using the “Serial USB Terminal” app

Configuring the app after installation

Click the icon circled in orange to connect to the Gateway.The app will ask you to confirm access to the Gateway. Click “OK.”
The app indicates that the Gateway is connected.Check the connection by going to the app's settings (top left) and clicking “USB Devices”
Indicates the type of connected deviceThen go to “Settings” and configure it as follows (in theory, this setting isn't necessary since the driver handles the speed)
Configure as follows:Configure as follows:
Configure as follows:

F) Adding and configuring buttons in the app. See page 3 for the fields to fill in.

Long-press the button to access its settings. Here, we create the “Red bad beep” button to send an error message to the operator's CODIScan.Long-press another button to access its settings. Here, we create the “Green good beep” button to send a successful read message to the operator’s CODIScan.


G) Tests and Reading Results

With the CODIScan, you scan a code and press the corresponding buttons to simulate the LEDs and beeps.

Results with the “Red bad beep” buttonResults with the “Green good beep” button

 

The CODIScan responds with green or red LEDs depending on the button.

 

 

Add a comment