Capture messages
Start BinLogger locally, open Capture, and select Default Channel (channel 0). Press the red Capture button. For a quick check, send this eight-byte sensor reading from your terminal.
Look under Active session messages (1). The first row shows 8B in LEN. Select it to see the eight bytes in Hex Viewer. The request’s bytes property carries those bytes as Base64.

To compare two sensors later, send one more reading while capture is running. This one comes from sensor 8 and records 21.50 °C.
To keep your sample, press Pause, then Save. Name the session First capture so you can find it in Sessions.
To automate logging, choose Download public API specification in the Capture toolbar. Use its request schemas to send individual messages or batches, or generate a client for your language. Set chnlNum to the receiving channel’s number. Choose Stream for individual messages or Snapshot for batches captured at successive points in time.
Decode messages
Download the sample Kaitai Struct layout (.ksy) and drop the file onto Saved Layouts in Layouts. The layout, sample_message, defines five fields in wire order: message type, sensor ID, sequence number, temperature in hundredths of a degree Celsius, and battery voltage in millivolts. Multibyte fields use big-endian byte order.
Test the layout in Decoder
Open Decoder, paste 01 07 00 2A 09 29 0C E4 into Binary data (hex or base64), choose Use Layout and select sample_message. Press Decode. Compare Decoded Struct with the result below. Sensor 7 sent message type 1, sequence 42. Its temperature reading is 2345 (23.45 °C) and its battery voltage is 3300 mV.

Apply the layout to a session or channel
In Sessions, open First capture and choose Edit. Set its decoding configuration to Use Layout, select sample_message, and save. Select row 0 to inspect the first reading.

For future recordings, edit the channel in Capture and select the layout before recording. If messages on one channel use several formats, create a strategy under Strategies and select it as the decoding configuration. Each rule set associates a condition, such as a message type, with a layout. The first matching rule set chooses the layout.
Show preview fields in the message list
Preview fields show decoded values in the INFO column so you can scan messages without opening each one.
- Open Layouts, select sample_message, and expand message_type in Display Settings.
- Under Preview settings, choose Add. BinLogger enables the preview. Change Prefix from Inherit to Set and enter
type=. - Repeat for
sensor_idwith the prefixsensor=, and fortemperature_centi_cwithtemp=. Choose Save, then reopen First capture in Sessions.



Use Render settings to change how a field appears in message details, including its print format and colours. Preview fields inherit colours, shape, prefix, and suffix unless you override them.
Open a session
Choose a recording under Sessions → Saved Sessions. To open a file, choose Import session, select a BinLogger CSV or a text file with one message per hex block separated by blank lines, confirm the name, and choose Import.
Inspect fields and bytes
In First capture, select row 0 and switch Decoded Struct to Tree. Hover over temperature_centi_c. Its bit range, 32–47, corresponds to bytes 4 and 5 in Hex Viewer. Read in big-endian order, 09 29 is the integer 2345.

Filter and highlight
In First capture, enter _root.temperature_centi_c >= 2300 in Filter and press Enter. This finds readings at or above 23 °C. Only sensor 7 matches. If the field is missing from the suggestions just after you assign the layout, wait for the session’s Precalculate fields job to finish.
Select Highlight to mark matches while keeping surrounding rows visible. Clear the expression and press Enter to show all messages again.

