Gateway destination
Verify the hostname and UDP port assigned to your device, including network and firewall reachability.
DATAGRAM / TELEMETRY
Capture telemetry datagrams, verify device identification and investigate replies without trying to infer message boundaries from a stream.
SingleIoT product guide · Updated October 14, 2026
UNDERSTAND THE EXCHANGE
UDP testing is useful when devices send compact telemetry as independent datagrams. Each datagram becomes a frame in SingleIoT’s UDP gateway. To investigate missing telemetry, start with the assigned endpoint and device identity, then compare the captured datagram with the bytes your device sent.
Verify the hostname and UDP port assigned to your device, including network and firewall reachability.
Use the configured token-prefix, source-address or supported protocol-identifier mode.
Inspect each captured datagram independently and compare payload bytes with your expected message.
SET UP YOUR FIRST TEST
Check UDP availability on your plan and copy the assigned gateway destination.
Use the authentication or identifier mode shown in the device workspace. Token-prefix mode includes the device token before the payload.
Send a small test message as one datagram. Verify the destination and compare the received frame with the bytes sent by the client.
Check any configured acknowledgement and reply behavior using the same sending socket. Observe network address translation and reply timing when diagnosing missing replies.
Start with a known message, then compare it with the captured frame.
One datagram in token-prefix mode:
<device token>\n{ "temperature": 26.5, "battery": 98 }
Captured payload:
{ "temperature": 26.5, "battery": 98 }The displayed \n is a newline separator between the token and payload. Send the token and payload together in one datagram. Other device identification modes use the configuration assigned to the device.
Change one setting at a time and use captured traffic to verify the result.
Check the assigned UDP port, destination address, network path and device identifier. Verify that you are viewing the intended device workspace.
Confirm the token prefix or pinned source address. Identifier-mode devices need a supported protocol definition and the expected identifier in their payload.
Check whether a reply rule matches the incoming payload. Replies return to the sender’s source address, so socket lifetime and NAT mapping can affect whether the client receives them.
Verify encoding, token separators and datagram length. Inspect the hex view before assuming the payload is text.
The UDP gateway treats each received datagram as one frame. Unlike TCP, it does not use stream delimiter or length-prefix framing to separate consecutive datagrams.
The gateway can send replies and queued commands to the sender’s source address after a datagram. Delivery depends on the device’s behavior and the network path, including NAT mapping lifetime.
Create a device workspace and inspect your first frame.