LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mqtt-sn-dump

Dump MQTT-SN UDP packets on a port

TLDR

Listen on the default MQTT-SN port
$ mqtt-sn-dump -p [1883]
copy
Dump all packet types
$ mqtt-sn-dump -p [1883] -a
copy
Verbose dump
$ mqtt-sn-dump -p [1883] -v
copy
Debug
$ mqtt-sn-dump -p [1883] -d
copy

SYNOPSIS

mqtt-sn-dump [*opts*] -p *port*

DESCRIPTION

mqtt-sn-dump is a diagnostic tool from mqtt-sn-tools that displays MQTT-SN packets sent to a local UDP port. It is especially useful for observing QoS -1 publishes from constrained clients that talk MQTT-SN without a full session.Build with make on POSIX systems. Related tools: mqtt-sn-pub, mqtt-sn-sub, mqtt-sn-serial-bridge.

PARAMETERS

-p *port*

UDP port to listen on (default 1883).
-a
Dump all packet types (not only the default subset).
-v
Verbose messages, including topic name when available.
-d
Increase debug level (repeatable).

CAVEATS

Needs permission to bind the chosen UDP port. Shows traffic delivered to this host/port only; it is not a full network sniffer. MQTT-SN specific: not for MQTT TCP traffic (tcpdump / mosquitto tools cover that).

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid