The messaging protocol delivers the functionality for checking the backend status by sending a request message with minimal payload.

Request

Topic

backend/<device-type>/<device-id>/ping

Payload

{
  "token" : <string>,
  "requestId" : <string>
}
  • "token" - this field is mandatory and is part of the security concept for the messaging protocol. For more information check the Security section in the MQTT Device Management Model page.

  • "requestId" - this field is optional - it can be included if a more complex ping implementation is required, e.g. tracking response times of individual requests, etc.

Response

Topic

device/<device-type>/<device-id>/<token>/ping

Payload

{
  "requestId" : <string>
}
  • "requestId" - this field will be included only if it was sent with the request message.