Skip to content

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

Open
LePailleurThibault wants to merge 1 commit intomasterfrom
gateway_status
Open

Updating the protobuf messages to handle request on the gateway status#156
LePailleurThibault wants to merge 1 commit intomasterfrom
gateway_status

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


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.

2 participants