[kura 4.1.0] REPLY topic problem [message #1808152] |
Tue, 18 June 2019 05:12  |
Eclipse User |
|
|
|
Hi everyone,
I have some problems with control topic response.
I following this MQTT topic namespace guidelines
https://eclipse.github.io/kura/ref/mqtt-namespace.html
In my kura bundle i have 2 publisher and 1 subrisber.
I was able to set up publishers and subscriber.
for my application i try to send a remote control messages published to the control topic:
CTRL/DEVICES/SERIALNUMBER/REALTIME-CMD-V1/PUT/command
(topic.control-prefix/account_name/client_id/app_id/application_topic)
1. a metric containing the : "request.id"
2. a metric containing the : "requester.client.id"
3. a metric containing the : "command"
I set up a subscriber that is subscribed to the same control topic and I am able to parser correctly the message and execute the command without problems.
Now, the next step, is to send back a command response/feedback published to the following control topic:
CTRL/DEVICES/{requester.client.id}/REALTIME-CMD-V1/REPLY/{request.id}
(topic.contro-prefix/account_name/requester.client.id/app_id/REPLY/request.id)
How can I create this REPLY control topic following the same namespace convention?
I was only able to create this topic
CTRL/DEVICES/REALTIME-CMD-V1/REPLY/{requester.client.id}/{request.id}
Could anyone help me?
Thanks in advance
Giuseppe
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07898 seconds