Skip to content
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

Updating the protobuf messages to handle request on the gateway status #156

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LePailleurThibault
Copy link

Adding Gateways status request and response protobuf messages. This can be used in the case where the mqtt broker does not support retained message and we would like to know the status of the gateways as soon as possible.

The concerned topics in the mqtt broker would be:
gw-request/get_gw_status
gw-response/get_gw_status//

Adding Gateways status request and response protobuf messages.
This can be used in the case where the mqtt broker does not support retained message
and we would like to know the status of the gateways as soon as possible.

The concerned topics in the mqtt broker will be :
gw-request/get_gw_status
gw-response/get_gw_status/<gw-id>/<sink-id>

- **Request:**

> **topic:** gw-request/get_gw_status
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have <gw-id>?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to trigger for all gateways.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, exactly, the goal of this new message was to request the status of all gateways to know which ones are online. Therefore, gw-id is not present in the topic.


- **Response:**

> **topics:** gw-response/get_gw_status/*\<gw-id\>/\<sink-id\>*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sink-id needed?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right sink-id is not used and should be removed from the readme

@@ -538,6 +557,8 @@ definition)
gw-response/otap_process_scratchpad/<gw-id>/<sink-id>

gw-response/otap_set_target_scratchpad/<gw-id>/<sink-id>

gw-response/get_gw_status/<gw-id>/<sink-id>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants