🧾 Description
📌 MQTT works on a simple principle:
a client (CODiscan from Gateway) publishes a message on a “topic,” a broker receives it, and then redistributes it to all clients subscribed to that topic.
It is a lightweight protocol designed for the IoT and low-bandwidth networks.
🔑 Key elements required to transmit data with MQTT
MQTT Client — The device or application that sends (publishes) or receives (subscribes to) messages. Examples: sensors, microcontrollers, apps, servers.
Broker MQTT — The central server that receives all messages and redistributes them to the right subscribers. Without a broker, no communication is possible.
Topic — A named channel where messages are published. Example:
home/livingroom/temperature.Payload — The actual data being transmitted JSON.
🛠️ Resolution Steps
🔌Gateway connection and settings:
Plug the Gateway on your PC using USB cable.
- Scan the barcode on the Gateway to link the CODIScan
- Scan Restore USA Default:
- Scan WIFI INTERFACE:
- Use Aladdin tool to set the ESSID and the PASSWORD of your Wifi access point Need Internet access)
⚠️ The wifi support ONLY 2.4Ghz.
✨ Additionnals and mandatory settings (this is an example, you can also use your own ones):
At this step, we advise to disconnect the Gateway from the USB port and reconnect it again.
Test in real time:
install MQTTX PC app: https://mqttx.app/downloads (x86-64 - v1.13.0.win64.exe):
After installation, open the MQTT application:
Add a new connection and do as follow and click on “connect” button:
Add “new subscription” and fill “DL” and click “Confirm”:
Now you can scan a barcode, you should receive it in the MQTTX application:
