{"repo":"njh/mqtt-sn-tools","free":true,"listed":false,"github":"https://github.com/njh/mqtt-sn-tools","clone":"git clone https://github.com/njh/mqtt-sn-tools.git","description":"Command line tools written in C for the MQTT-SN (MQTT for Sensor Networks) protocol","language":"C","stars":200,"topics":["mqtt","mqtt-sn","cli","c"],"license":"MIT","category":"cli-tools","readme_excerpt":"MQTT-SN Tools ============= Command line tools written in C for the MQTT-SN (MQTT for Sensor Networks) protocol. Supported Features ------------------ - QoS 0, 1 and -1 - Keep alive pings - Publishing retained messages - Publishing empty messages - Subscribing to named topic - Clean / unclean sessions - Manual and automatic client ID generation - Displaying topic name with wildcard subscriptions - Pre-defined topic IDs and short topic names - Forwarder encapsulation according to MQTT-SN Protocol Specification v1.2. Limitations ----------- - Packets must be 255 or less bytes long - No Last Will and Testament - No QoS 2 - No automatic re-sending of lost packets - No Automatic gateway discovery Building -------- Just run 'make' on a POSIX system. Publishing ---------- Usage: mqtt-sn-pub [opts] -t -m -d Increase debug level by one. -d can occur multiple times. -f A file to send as the message payload. -h MQTT-SN host to connect to. Defaults to '127.0.0.1'. -i ID to use for this client. Defaults to 'mqtt-sn-tools-' with process id. -k keep alive in seconds for this client. Defaults to 10. -e sleep duration in seconds when disconnecting. Defaults to 0. -m Message payload to send. -l Read from STDIN, one message per line. -n Send a null (zero length) message. -p Network port to connect to. Defaults to 1883. -q Quality of Service value (0, 1 or -1). Defaults to 0. -r Message should be retained. -s Read one whole message from STDIN. -t MQTT-SN topic name to publish to. -T Pre-defined ","default_branch":null,"files":null,"tree":[],"storefront":"/r/njh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/njh/mqtt-sn-tools/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}