AminetAminet
Search:
85530 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/net/midge.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:MQTT 3.1.1 client for classic AmigaOS
Author: simond at irrelevant.org (Simon Dick)
Uploader:simond irrelevant org (Simon Dick)
Type:comm/net
Version:0.1
Architecture:m68k-amigaos >= 3.1
Date:2026-08-29
Requires:68020
Download:comm/net/midge.lha - View contents
Readme:comm/net/midge.readme
Downloads:3

midge is a native MQTT 3.1.1 client for classic AmigaOS, aimed at putting
your Amiga on a modern smart-home network (Home Assistant, Mosquitto, EMQX)
- as a display and control surface, and as a publisher of its own telemetry.

This release ships:

  mqtt_pub      - publish a message to a broker topic (needs mqtt.library,
                   below, copied to LIBS: first)
  mqtt_sub      - subscribe to topic filters and print incoming messages
                   (needs mqtt.library, below, copied to LIBS: first)
  mqtt_pub-static - the same mqtt_pub, statically linked: no mqtt.library
                     install needed, but QoS 0 publish only
  mqtt_sub-static - the same mqtt_sub, statically linked: no mqtt.library
                     install needed
  libs/mqtt.library - a shared library exposing the same MQTT client to
                       other AmigaOS programs (copy to LIBS: to install -
                       required by mqtt_pub/mqtt_sub above)
  developer/    - mqtt.library's .sfd/.fd/proto/inline/clib headers,
                   its mqtt.doc autodoc, and two example caller programs
                   (pubexample.c/subexample.c) for third-party developers

mqtt_pub/mqtt_sub and their -static counterparts all follow the same
AmigaDOS conventions (ReadArgs templates, Ctrl-C to stop) and speak plain
MQTT 3.1.1 over TCP. mqtt_pub/mqtt_sub are backed by mqtt.library and
support QoS 0 and QoS 1 publish; mqtt_pub-static/mqtt_sub-static talk to
bsdsocket.library directly with no library install required, but
mqtt_pub-static only supports QoS 0 publish. mqtt.library itself also
exposes an optional auto-reconnect mode to programs written against it
directly. See https://sidick.github.io/midge/mqtt-library/ for the full
mqtt.library guide.

Planned for future releases: TLS via AmiSSL, and a ReAction dashboard
application with Home Assistant MQTT discovery.

Requirements
------------
  - AmigaOS 3.1+ (3.2 is the reference platform), 68020 or better.
  - A TCP/IP stack providing bsdsocket.library (Roadshow, AmiTCP, Miami,
    or an emulator-provided stack).

Quick start
-----------
  mqtt_sub HOST 192.168.1.10 TOPIC home/#
  mqtt_pub HOST 192.168.1.10 TOPIC home/amiga/hello MESSAGE "hello from midge"

AI disclosure
-------------
  midge is written largely by an AI coding agent (Anthropic's Claude /
  Claude Code), under human direction, review and on-hardware testing.
  The protocol codec is verified against MQTT 3.1.1 specification vectors
  and tested against real brokers; full source is open (BSD) for review.

Documentation, source and licence
---------------------------------
  Free and open source, BSD 2-Clause. Full documentation (versioned per
  release, and included as midge.guide in this archive), source and issue
  tracker:
      https://sidick.github.io/midge/
      https://github.com/sidick/midge


Contents of comm/net/midge.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/
-rw-r--r--     0/0         686    1299  52.8% -lh5- c79c Aug 29 18:32 midge/LICENSE
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/clib/
-rw-r--r--     0/0         467     974  47.9% -lh5- dca6 Aug 29 18:32 midge/developer/clib/mqtt_protos.h
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/examples/
-rw-r--r--     0/0        2107    4931  42.7% -lh5- 1157 Aug 29 18:32 midge/developer/examples/pubexample.c
-rw-r--r--     0/0        2114    4919  43.0% -lh5- 9b70 Aug 29 18:32 midge/developer/examples/subexample.c
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/fd/
-rw-r--r--     0/0         238     419  56.8% -lh5- 80fd Aug 29 18:32 midge/developer/fd/mqtt_lib.fd
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/inline/
-rw-r--r--     0/0         601    1868  32.2% -lh5- 1119 Aug 29 18:32 midge/developer/inline/mqtt.h
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/libraries/
-rw-r--r--     0/0        3335    9448  35.3% -lh5- b6dc Aug 29 18:32 midge/developer/libraries/mqtt.h
-rw-r--r--     0/0        6731   21813  30.9% -lh5- 7958 Aug 29 18:32 midge/developer/mqtt.doc
-rw-r--r--     0/0         322     720  44.7% -lh5- 2cae Aug 29 18:32 midge/developer/mqtt_lib.sfd
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/developer/proto/
-rw-r--r--     0/0         428    1109  38.6% -lh5- b754 Aug 29 18:32 midge/developer/proto/mqtt.h
drwxr-xr-x     0/0           0       0 ****** -lhd- 0000 Aug 29 18:32 midge/libs/
-rwxr-xr-x     0/0        7247   13988  51.8% -lh5- c17f Aug 29 18:32 midge/libs/mqtt.library
-rw-r--r--     0/0       10843   33893  32.0% -lh5- 27f5 Aug 29 18:32 midge/midge.guide
-rw-r--r--     0/0        1399    3101  45.1% -lh5- a3f8 Aug 29 18:32 midge/midge.readme
-rwxr-xr-x     0/0        8944   15876  56.3% -lh5- 1a20 Aug 29 18:32 midge/mqtt_pub
-rwxr-xr-x     0/0       13260   24388  54.4% -lh5- 50d2 Aug 29 18:32 midge/mqtt_pub-static
-rwxr-xr-x     0/0        7801   13764  56.7% -lh5- 1e2f Aug 29 18:32 midge/mqtt_sub
-rwxr-xr-x     0/0       13263   24388  54.4% -lh5- 6eae Aug 29 18:32 midge/mqtt_sub-static
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        26 files   79786  176898  45.1%            Aug 29 23:32
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>