The last will message of the mobile robot. Has to be sent with retain flag. Once the mobile robot comes online, it has to send this message on its connect topic, with the connectionState enum set to "ONLINE". The last will message is to be configured with the connection state set to "CONNECTIONBROKEN". Thus, if the mobile robot disconnects from the broker, fleet control gets notified via the topic "connection". If the mobile robot is disconnecting in an orderly fashion (e.g. shutting down, sleeping), the mobile robot is to publish a message on this topic with the connectionState set to "DISCONNECTED".

Hierarchy

  • Connection

Indexable

[property: string]: any

Properties

connectionState: V3_0.ConnectionState

ONLINE: connection between mobile robot and broker is active. OFFLINE: connection between mobile robot and broker has gone offline in a coordinated way. HIBERNATING: connection between mobile robot and broker is active, but mobile robot does not state messages. This mode is intended for power-saving or communication reduction. The mobile robot can resume to ONLINE when instructed. CONNECTION_BROKEN: The connection between mobile robot and broker has unexpectedly ended.

headerId: number

Header ID of the message. The headerId is defined per topic and incremented by 1 with each sent (but not necessarily received) message.

manufacturer: string

Manufacturer of the mobile robot.

serialNumber: string

Serial number of the mobile robot.

timestamp: string

Timestamp in ISO8601 format (YYYY-MM-DDTHH:mm:ss.fffZ).

version: string

Version of the protocol [Major].[Minor].[Patch]

Generated using TypeDoc