🧾 Description
This article explains how to command the HS7500 connected to its Gateway via USB-CDC Protocol (firmware gateway_1.12.1 minimum and 2.7.0 for the Handscanner).
https://docs.proglove.com/en/button-blocking-command.html
The "USB" LED on top of the gateway should be lit solid green.
- For W10 (64Bits): driver installation is done automatically by the OS
- For W7 (64Bits): Install these drivers: https://cdn.datalogic.com/Download?iddwnfile=30037
🛠️ Resolution Steps
Configuring the HS7500
Scan the association code located on the Gateway, as follows:
In the "Proglove Insight" tool, configure as follows:
Or, scan the code below. It combines the two options checked above:
Wait for the various beeps.
The "USB" and "SCANNER" LEDs on the Gateway should be lit up green.
Receiving and transmitting a frame to the reader via the Gateway
In our example, we use the MicroRidge tool and the Hercules tool.
MicroRidge:
Open the declared com port in Windows and scan a code. You receive a frame, as follows:
At the end of this frame is the serial number of the reader that has just transmitted the data.
The frame looks like this:
{"api_version": "1.0", "event_type": "scan", "event_id": "cb1b1fb0-0ae8-4db4-ac92-2239889b60c0", "time_created": 1592267697342, "gateway_serial": "PGGW000000196", "scan_code": "2030008905388", "device_serial": "D1MR202100518"}
This number is very important, it will be used to drive this scanner.
Example of a frame to be transmitted to the scanner with MicroRidge
Sample 1 – Feedback Positive
In this example, we want to send a "positive" information to the reader. That is to say to make the green LED light up, make a beep and make the reader vibrate once:
{
"api_version": "1.0",
"event_type": "feedback!",
"event_id": "02114da8-feae-46e3-8b00-a3f7ea8672df",
"time_created": 1546300800000,
"device_serial": "D1MR202100518",
"feedback_action_id": "FEEDBACK_POSITIVE"
}
In Microridge, we "paste" (in "Local commands") the above frame and do "send":
/!\ You must, of course, replace the serial number of our example by your own.
You can send the frame at any time, before or after a scan.
Sample 2 – Feedback Negative
In this other example, we want to send a "Negative" information to the reader. That is to say, to make the red LED light up, make two beeps and vibrate the reader several times:
{
"api_version": "1.0",
"event_type": "feedback!",
"event_id": "02114da8-feae-46e3-8b00-a3f7ea8672df",
"time_created": 1546300800000,
"device_serial": "D1MR202100518",
"feedback_action_id": "FEEDBACK_NEGATIVE"
}
Example of a frame to be transmitted to the scanner with Hercules
The Hercules tool allows you to send a file containing the commands to be transmitted to the reader.
We need to create a .JSON file. It contains the same information as in the previous examples.
Example:
In text, it looks like this:
{
"api_version": "1.0",
"event_type": "feedback!",
"event_id": "02114da8-feae-46e3-8b00-a3f7ea8672df",
"time_created": 1546300800000,
"device_serial": "D1MR202100518",
"feedback_action_id": "FEEDBACK_POSITIVE"
}
In Hercules, connect the Gateway to the dedicated port and scan a barcode:
In this window, right click on the generated .JSON file and choose "send file":
With this .JSON file, the reader turns on the green LED, makes a beep and vibrates.
