-
Notifications
You must be signed in to change notification settings - Fork 21
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
Prepend MQTT protocol to MQTT topics #8
Conversation
Support for new path was included here telefonicaid/iotagent-json#374 and here telefonicaid/iotagent-ul#287. telefonicaid/iotagent-json#633 is for removing the support without the protocol at the beginning. |
1) Expected MQTT topic for a command@mapedraza - I'm testing updates to the tutorial test harness, I can now successfully send measures under I would expect that an actuator would be listening on the 2) Align
|
telefonicaid/iotagent-ul#400 changes the topics for sensor measuremens, but doesn't alter the location of commands - maybe this has been dealt with in another PR? |
Hi @jason-fox. Let me give you info about this points 1) Expected MQTT topic for a commandIt is true. It is different the topic expected in the case of
Probably is a bit confusing for the developers and need to be clarified and documentation in the agent need to be improved in that way. That is the reason why it works in that way but feedback and suggestion is welcome. 2) Align entity-typeThis part of the code is a bit complex and error-prone due to a not strong relationship between groups and devices when the IoT-Agent was designed and because of giving backward compatibility. In fact, there were some work done in the last week related with this part of the code (telefonicaid/iotagent-node-lib#1211, telefonicaid/iotagent-node-lib#1212, telefonicaid/iotagent-node-lib#1214). This problematic is well explained in this comment. As a resume, since there is not a strong relationship between the groups and the devices, (i.e. having a |
Related
/ul/<apiKey>/<deviceId>
) tutorials.IoT-over-MQTT#25This can only be merged once JSON and Ultralight IoT Agents have been updated to support the new path.
@mapedraza