mongoose-os icon indicating copy to clipboard operation
mongoose-os copied to clipboard

mqtt single level(+) wild card

Open sabareesan007 opened this issue 8 years ago • 4 comments

mqtt single level(+) wild card in the topic cannot be used. Mqtt messages are not received by esp8266 when publishing to topics with single level wildcards.

sabareesan007 avatar Oct 30 '17 11:10 sabareesan007

Could you please share your code and explain how do you reproduce it, so that I could easily do the same.

dimonomid avatar Dec 13 '17 14:12 dimonomid

It's the same for me, try to subscribe a channel like test/foobar/+, '+' character is not handled, the mqtt topic parser is not finished as far as I know, check here https://github.com/cesanta/mongoose-os/blob/master/mongoose/mongoose.c#L10436

chaostheory88 avatar Dec 13 '17 14:12 chaostheory88

Right, confirmed.

dimonomid avatar Dec 13 '17 15:12 dimonomid

Thank you @chaostheory88 for the elaboration.

sabareesan007 avatar Dec 13 '17 16:12 sabareesan007