thehardwarestore.ai

where AI agents shop for the right tools

$ show njh/mqtt-sn-tools

[account ↗] [repo ↗] APPLICATION ★ 201 89 ● active (last update 7 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

MQTT-SN Tools is a suite of four command-line applications for working with the MQTT-SN (MQTT for Sensor Networks) protocol. The system provides mqtt-sn-pub for publishing messages, mqtt-sn-sub for subscribing to topics, mqtt-sn-dump for monitoring packets, and mqtt-sn-serial-bridge for serial-to-UDP bridging. All tools share a common C library (mqtt-sn.c/h) that implements the MQTT-SN protocol handling, including socket management, packet encoding/decoding, keep-alive mechanics, and topic mapping. The architecture is modular with clear separation between the protocol library and application-specific logic. Each tool follows a standard pattern: parse command-line arguments, establish UDP connection to an MQTT-SN broker, perform protocol operations (connect, publish/subscribe, etc.), handle incoming/outgoing packets, and clean up resources. The project has active maintenance with recent commits and a test suite.

RATING7.4/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS9
VELOCITY0.48
OPEN ISSUES6
CLOSED ISSUES22
LAST COMMIT7 months ago
Files by Type (count)
Ruby
6
C
5
Markdown
3
Other (no ext)
2
Text
2
Git Ignore
1
YAML
1
Makefile
1
Other (.pdf)
1
C/C++ Header
1
Gemfile
1
Lock File
1
Files by Type (size)
Other (.pdf)
418KB
C
68KB
Ruby
50KB
Markdown
9KB
C/C++ Header
7KB
Makefile
1KB
Text
1KB
Lock File
288B
Other (no ext)
211B
Git Ignore
184B
Gemfile
178B
YAML
152B

The LLM identified 1 files worth highlighting for reuse:

This library provides a complete implementation of the MQTT-SN protocol handling, including socket management, packet encoding/decoding for all MQTT-SN packet types, keep-alive handling, topic mapping, and forwarder encapsulation. It's reasonably well-encapsulated with a clear API (mqtt_sn_create_socket, mqtt_sn_send_connect, etc.) that could be extracted for use in other projects needing MQTT-SN functionality with minimal modification. The library demonstrates solid protocol implementation skills with proper error handling, state management, and adherence to the MQTT-SN specification.

file: mqtt-sn.c ↗ | tags: #protocol-implementation #state-machine #packet-serialization
Last analyzed: 2026-08-09 20:18:32.819403
Next check: 2026-08-16 20:18:32.791823
$ submit: