Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
/devices/DEVICE_ID/events

The device ID is the device’s string ID of the device specified in the MQTT client ID, and the device ID is case-sensitive.

...

The forwarded message data field contains a message’s copy of the message published by the device, and the following message attributes are added to each message in the Cloud Pub/Sub topic:

Attribute

Description

deviceId

The user-defined string identifier for the device, for example, thing1. The device ID must be unique within the registry.

deviceNumId

The server-generated device numeric ID of the device. When you create a device, ClearBlade IoT Core automatically generates the device’s numeric ID; it's globally unique and not editable.

deviceRegistryLocation

The Google Cloud Platform region of the device registry region, for example, us-central1.

deviceRegistryId

The user-defined string identifier for the device registry, for example, registry1.

projectId

The cloud project’s string ID of the cloud project that owns the registry and device.

subFolder

The subfolder can be used as an event category or classification. For MQTT clients, the subfolder is the subtopic after DEVICE_ID/events, which is copied directly. For example, if the client publishes to the MQTT topic /devices/DEVICE_ID/events/alerts, the subfolder is the string alerts.

...