Home / DTU / Azure IoT Hub

CAN to 4G DTU to Azure IoT HubIoT Hub is not a generic MQTT broker. It has its own dialect, its own identity model and its own idea of what a message is - and a unit has to be built for that.

Azure IoT Hub is the entry point for most Azure-based machine fleets. It differs from a generic MQTT broker in three ways that matter to a small unit: every device needs an identity registered in advance, it authenticates with a SAS token or a certificate rather than a username and password, and it uses a specific MQTT dialect rather than the plain one.

Identity: SAS token or certificate

A SAS token is a signed string built from the device key and an expiry. It is simple to provision and it expires, which means the unit has to be able to renew it - a unit that cannot do that goes quiet after a few hours or days depending on the token lifetime. A certificate avoids the expiry problem, at the cost of a provisioning and revocation process. Which one you use decides what the unit must support, so it should be settled before the hardware variant is fixed.

The MQTT dialect

ItemIoT Hub behaviour
ConnectClient ID is the device ID; authentication uses SAS or certificate. The broker acknowledges with a status code, not a plain accept.
Device to cloudA fixed topic for messages, and a separate one for twin properties. Publishing to arbitrary topics is not the model.
TwinDesired and reported properties give the platform a last-known configuration and state, even while a unit is offline.
Direct methodA request/response call to the device - useful for "read this value now" or "change the interval", and it needs the unit to listen.

The practical consequence: a unit that publishes "generic MQTT" needs a small adapter in the firmware. When a supplier says it supports MQTT, ask which dialect, and whether the twin and direct method topics are handled.

Buffering and the offline record

A machine that works in a building, a pit or a remote yard loses coverage for hours at a time. IoT Hub stores nothing for a disconnected device; the record exists only if the unit buffered it. So the useful questions are how deep the buffer is, whether it survives a power cycle, and whether the messages keep their original timestamps when they are finally sent. A buffer that loses its timestamps produces a chart that is wrong in a way nobody notices.

Gateway or direct

Some fleets put an IoT Edge gateway between the machines and the cloud: local rules, local storage, one uplink. That is a different product decision - a CAN-to-4G unit can feed such a gateway over MQTT or a serial line and let the gateway own the cloud identity. It is worth deciding early, because it changes what the unit has to be good at.

What we do not claim

No "Azure certified" badge, no device-catalog entry. The unit publishes a documented payload over MQTT; the connection to your hub is a project with a test window on one machine, and your platform team owns the identity model.

Next

DTU hardware · AWS IoT Core · ThingsBoard · integration routes · payload contract.

Data sheet, interface list and a payload example on request — contact us (ralph@gz-can.com · +86 130 7692 2278).