Confirm the machine interface
Send the controller label, wiring photos, and the action the machine must perform.
MQTT & API integration
Use this guide to plan the path between your backend, a QuLink controller, and a vending or self-service machine. The examples show the integration shape; endpoint names, topic prefixes, authentication, and payload fields are confirmed per firmware profile.
Part of Machine Data Upload IoT Board for Self-Service Equipment
Project fit
Integration model
Use HTTPS for request/response commands and MQTT for real-time events or command delivery. The device identity, topic prefix, authentication, QoS, and TLS mode are issued per project.
Workflow
Send the controller label, wiring photos, and the action the machine must perform.
Confirm command names, slot or channel mapping, timeout, and result fields.
Issue device identity, token, topic prefix, TLS mode, and QoS for the project.
Validate command, machine action, event identity, retry, and reconnect on a sample.
API example
The exact command fields depend on machine interface, firmware profile, and whether payment or your own app triggers the action.
POST /v1/devices/{device_id}/commands
Authorization: Bearer
Content-Type: application/json
{
"command": "vend",
"slot": "B04",
"reference_id": "ORDER-1001",
"timeout_ms": 15000
}
# MQTT topic map
devices/{device_id}/commands
devices/{device_id}/events
Project RFQ
Send the machine model, controller interface, target action, and data fields you need. We will confirm the API/MQTT contract and the next sample test.
If you are unsure about the exact interface, send what you have. Photos often answer more than a long spec.
FAQ
MQTT 3.1.1 over TLS 1.2 with QoS 1 is the baseline. Broker, topic prefix, and authentication are confirmed per firmware profile.
Yes. The controller can deliver commands and events to your own API, webhook, or broker. The exact flow is confirmed on a sample.
The contract uses reference_id and event_id. Retry and deduplication behavior is confirmed in the firmware profile and tested on one machine.
Event buffering and retry are part of the integration plan. Capacity, power-cycle retention, and backfill behavior must be tested before making a persistent-cache claim.
Related use cases