Device identity
Check token-based authentication or the supported identifier mode assigned to your device.
STREAM / BINARY FRAMES
Inspect stream data, validate your framing configuration and compare acknowledgements with the protocol your device actually sends.
SingleIoT product guide · Updated October 14, 2026
UNDERSTAND THE EXCHANGE
TCP delivers a stream of bytes. A device application still needs a framing rule to decide where a message starts and ends. When that rule does not match the firmware, a valid payload can appear incomplete or several messages can arrive as one frame. SingleIoT exposes configurable framing alongside captured bytes to help you investigate these problems.
Check token-based authentication or the supported identifier mode assigned to your device.
Compare delimiter, length-prefix, fixed-size or idle-gap configuration with the actual byte stream.
Verify both the outgoing reply bytes and the device’s interpretation of the response.
SET UP YOUR FIRST TEST
Create a TCP device and review its endpoint and authentication settings. Fixed-protocol hardware may require an enabled protocol definition and identifier configuration.
Set delimiter, length-prefix, fixed-size or idle-gap framing to match your firmware. Begin with one complete message before testing bursts.
In the default token-based mode, send the device token as the first line. Then send the payload using the device’s configured frame boundaries.
Use hexadecimal or text views to compare the frame with the source. Configure a reply rule and check the outgoing acknowledgement before repeating the test.
Start with a known message, then compare it with the captured frame.
Example: token authentication with newline framing
<device token>\n
{ "temperature": 26.5 }\n
{ "temperature": 27.0 }\nThe displayed \n means a newline byte, not two literal characters. This example applies to token-based devices configured with a newline delimiter. Identifier-mode devices use the selected protocol definition instead.
Change one setting at a time and use captured traffic to verify the result.
Verify the initial token line in token mode. Then check whether the configured framing rule is waiting for a delimiter, more bytes or an idle interval.
Check delimiters or configured length fields. With idle-gap framing, a continuous burst can be grouped until the configured idle interval is reached.
Switch to the hexadecimal view. Compare byte positions and field lengths rather than treating a binary frame as UTF-8 text.
Check the reply format, payload match and protocol definition. Compare the acknowledgement bytes with the format expected by the device.
SingleIoT supports delimiter, length-prefix, fixed-size and idle-gap framing for configurable TCP devices. Select the mode that matches your device’s messages.
Supported TCP endpoints can use TLS. Confirm your assigned endpoint, plan availability, certificate trust and any client certificate requirements in the device workspace.
Create a device workspace and inspect your first frame.