module documentation

MQTT Agents - Local Detector

This module provides access to the MQTT interface via MQTT agents which manage subscriptions and publications on behalf of relevant hardware and applications software.

This module provides functions specific to the local RailCom detector.

MQTT version 3.1.1 as documented https://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html

QoS2 not supported - only QoS0 or 1

Sessions are clean - i.e. no context saved between sessions.

Subscriptions are static. The subscription list is passed to the client at instantiation and is immutable.

Author
Paul Redhead
Class Block Block Agent
Class Sensor Sensor Agent