Lan Controller works via a serial port with barcode readers.
The scanned code is immediately sent via the MQTT protocol to the server for further processing. For example it may consist of comparing with the codes in the database to decide whether to send the command to open the gate via MQTT.
The tested reader model, visible in the photo, is the YHD-M300, which also reads 2D codes.