Incoming MQTT Prefix can't have '/' or '-' in it.
-
i had my MQTT incoming prefix defined as
#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "meshx86/ndw/pir_dht/in"
the void receive() function won't be triggered if the MQTT path for incoming messages has '/' or '-' in it, as it would be interpreted as a wrong message maybe ?!
note: i was able to successfully have have in the console message arrived with the above prefix, it is probably the slashes and dashes confuses the MQTTClient gateway
-
so probably before processing the incomingMQTT, subtract the whole string of the incoming prefix and then start processing.
-
This PR was merged a few days ago:
-
great ! glad to find someone thinking the same way
is there a newer release of the lib soon ? or shall i manually download it and install it ?
-
Yes, a release is coming. But we haven't set any date yet.
Suggest you install it manually.
Suggested Topics
-
[SOLVED] W5100 Gateway code modification
General Discussion • 24 Jun 2017, 14:59 • fejt 24 Jun 2017, 16:19 -
Yet another MQTT gateway for MySensors :)
Development • 11 Aug 2014, 20:52 • scurb 16 Aug 2014, 20:59 -
MQTT-SN
General Discussion • 29 Nov 2014, 10:00 • binladin 30 Nov 2014, 17:42 -
Help Finding Problem
Troubleshooting • 23 Jan 2018, 13:02 • Soloam 23 Jan 2018, 14:56 -
MQTT Client Gateway / Node Controller / OTA
Hardware • 19 Jul 2016, 15:01 • CrankyCoder 26 Jul 2017, 13:32 -
Do we have any option to bridge NRF24L01 and RFM69?
General Discussion • 29 Aug 2018, 13:57 • jkandasa 20 Feb 2019, 20:25 -
Sonoff Basic Wifi Gateway for NRF24
Hardware • 9 Jul 2017, 16:31 • Technovation 9 Jul 2017, 17:23 -
Is there a Gateway connection timeout?
General Discussion • 6 Feb 2022, 11:55 • A3V 6 Feb 2022, 18:48