-
- Downloads
Publish some topics directly to topic levels
<server>/state is now published directly to the <sever> topic level (the "state" topic goes away). Moved <bbs-id>/node# topics to <bbs-id>/nodes/# (allows better wild-card subscription per MQTT standards). Publishing total node count to <bbs-id>/nodes rather than <bbs-id>/node_count Introduced "publish verbosity" control (defaults to "High") - if you want nice human readable (and sometimes redundant) topic messages, leave this set to "High". To reduce traffic, set to "Low". It's expected that purpose-built Synchronet/MQTT clients should work equally-well with either setting, but when using generic MQTT clients/browser, "high" verbosity is nice. The human-readable node status is only published when "high" verbosity is enabled. Publishing the BBS name to the <bbs-id> topic, the instance hostname (as configured in sbbs.ini) to the <host> topic. Makes the hierarchy much more clear when using an MQTT browser like MQTT Explorer.
parent
5b77181d
No related branches found
No related tags found
Showing
- src/sbbs3/con_out.cpp 1 addition, 1 deletionsrc/sbbs3/con_out.cpp
- src/sbbs3/main.cpp 3 additions, 3 deletionssrc/sbbs3/main.cpp
- src/sbbs3/mqtt.c 65 additions, 11 deletionssrc/sbbs3/mqtt.c
- src/sbbs3/mqtt.h 11 additions, 5 deletionssrc/sbbs3/mqtt.h
- src/sbbs3/putnode.cpp 3 additions, 3 deletionssrc/sbbs3/putnode.cpp
- src/sbbs3/scfg/scfgnet.c 11 additions, 7 deletionssrc/sbbs3/scfg/scfgnet.c
- src/sbbs3/scfgdefs.h 1 addition, 0 deletionssrc/sbbs3/scfgdefs.h
- src/sbbs3/scfglib1.c 1 addition, 0 deletionssrc/sbbs3/scfglib1.c
- src/sbbs3/scfgsave.c 1 addition, 0 deletionssrc/sbbs3/scfgsave.c
Loading
Please register or sign in to comment