• exec/mqtt_pub.js

    From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wed May 31 20:48:55 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/c54591d6e70cf3b6f8640b1a
    Added Files:
    exec/mqtt_pub.js
    Log Message:
    A simple MQTT publisher (mimics mosquitto_pub kinda)

    For use with jsexec

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Aug 8 22:15:58 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/fddec635fefe70b128b064df
    Modified Files:
    exec/mqtt_pub.js
    Log Message:
    Add -B and -H options to auto-prefix the topic with BBS or host topic prefix

    This allows command-lines to be more cross-platform/host

    As requested by Nelgin

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tue Aug 8 22:39:24 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/35593f661ba5ef6cd98dda7c
    Modified Files:
    exec/mqtt_pub.js
    Log Message:
    Fix ReferenceError: options is not defined

    Just fall-through to display help output for unrecognized options.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net