-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtopic doesn't work #85
Comments
I used 2.3.11 indeed. And with a single /mqtt/topic its working. But i am not sure how to pub/sub to a sub sub sub topic for example: |
Try to use |
Well i tried that at first, but then it won't subscribe at all. It will only subscribe with only a parent topic. With subtopic it won't subscribe. |
@rjbaat I'll fix this on 3.0 beta.3, which will be released this weekend. Thanks. |
Prior to this change, emqx-coap only support percent-encoded topic in CoAP URI, e.g. `coap://127.0.0.1/mqtt/a%2Fb%2F1%2F%23` means subscribe to a MQTT topic `a/b/1/#`. But clients who send a CoAP GET request like: `coap://127.0.0.1/mqtt/a/b/1/%23` should also subscribe to topic: `a/b/1/#`. It is simpler and make more sense. This commit added this feature.
Hi , I have tested this plugin with 2.3.11 and it works. I can pub/sub to a topic.
But when doing a pub to topic/subtopic it doesn't work.
What do i do wrong and how to get that working?
Also what does it mean to mandatory use mqtt in the topic url?
When i add it to the url it works, but not when i leave it out.
The text was updated successfully, but these errors were encountered: