... | ... | @@ -19,3 +19,17 @@ To **publish** information, a REST API is available: |
|
|
- The structure of the event can be seen here:
|
|
|
|
|
|
> [Event](publicacion/Event)
|
|
|
|
|
|
## Subscription
|
|
|
|
|
|
The service subscription part of use case 5 will be done using the MQTT protocol.
|
|
|
|
|
|
**MQTT (MQ Telemetry Transport)** is a messaging protocol used as a simple and lightweight method to transfer data to / from low-power devices.
|
|
|
|
|
|
The protocol supports a single messaging pattern, the **Publish-Subscribe** pattern: each message is published on a topic that must be subscribed to in order to receive the information.
|
|
|
|
|
|
Subscription to the service of this use case must be through the topic:
|
|
|
|
|
|
> usecase5/events
|
|
|
|
|
|
See more information and a connection example [here](https://gitlab.cmobility30.es/dgt3.0_eng/general/-/wikis/MQTT). |