-
Notifications
You must be signed in to change notification settings - Fork 62
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
MQTT Subscription Failed #23
Comments
MQTT Subscriptions should work. Are the subscriptions present in the output of 'obuspa -c show database' ? |
Hello! Same problem here, the subscriptions are defined on the obuspa factory file and on the output for the data base, but no subscribe message is sent to the broker
Notes:
Maybe our configuration files for subscriptions are wrong, could you please share a tested configuration file for one or multiple subcriptions? Thanks ! |
I can reproduce the issue and am working on a fix. |
Thank you very much ! 😁 |
Bug Fixes: * MQTT Subscriptions don't work at startup (GH Issue #23) * MQTT subscribe-topic in CONNACK is not retrieved correctly * Unnecessary log message for object deletion subscription containing wildcard and partial path
@Luke-Guangzhong hello, have you already tested your mqtt factory file with the new code? |
@RamonRomeroQro Hi! |
@Luke-Guangzhong already tested with an example similar to the one which you posted, it seems to be working |
@RamonRomeroQro |
@RamonRomeroQro For more info on how USP uses MQTT see:
https://github.com/BroadbandForum/usp/blob/master/specification/mtp/mqtt/index.md
Answers to your questions:
1. The topic for the response is specified by a "reply to" Topic in the
message received by the USP Agent.
2. Sorry, but I don't understand what you mean by a 'periodic
subscription'. It implies you want the subscription to only be active at
certain times (periodically), and I can't understand why you'd want to do
that.
…On Thu, 2 Sept 2021 at 21:32, Ramón Romero ***@***.***> wrote:
@holme-r <https://github.com/holme-r> Thanks for your answers,
2 more doubts,
- once I have created the subscription, how can I define the topic for
the response?
- How can I define a periodic subscription to a specific topic?
Sorry for so many questions, I do not have found a lot of docs
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADF65VTQE57PRINRURUDPK3T77NPJANCNFSM5CLL3ACA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@holme-r Thank you so much for your work and replies, I have already solve those issues 😁 |
Closing as the fix is committed. |
Hello!
Here is my text which used to build the factory reset database:
I used
Device.MQTT.Client.1.Subscription
three times. But when I login in the MQTT Broker, I can only see the topic defined in theDevice.LocalAgent.MTP.1.MQTT.ResponseTopicConfigured
How to subscribe more topics for the MQTT Client?
Can you help me point out where I have written wrong?
Thanks !
The text was updated successfully, but these errors were encountered: