Topic Structure =============== The general structure of data logger MQTT topics is: .. code-block:: text /// - **** : Configured in the data logger settings. **Default**: ``cs/v2`` - **** : Indicates the type of message: - `state `_ - *(Publish)* Connection state message, including (online/offline) session info and (watchdog) indicators. - `status `_ - *(Publish)* System status table output. - `metadata `_ - *(Publish)* Deployment metadata and table schemas. - `data `_ - *(Publish)* Data published from DataTables defined in the CRBasic program. - **pr** — *(Publish)* Payloads published from CRBasic program instructions such as ``MQTTPublishConstTable()``, ``MQTTPublishPublicTable()``, and ``MQTTPublishMeta()``. - `cr `_ - *(Publish)* Responses to command and control messages (sent on ``cc`` topic). - `cc `_ - *(Subscribe)* Commands and control messages received by the data logger. - **** : A unique identifier for the data logger. - ```` (e.g., A1b2-C3d4-E5f6) - ``/`` when a UID is not configured .. note:: Most data loggers are assigned a unique identifier (UID) during the manufacturing process. If a data logger does not have a UID, you can assign or retrieve one using the **Device Configuration Utility**. For detailed steps on configuring a UID, see the `Onboard `_ section. - **** : A flexible field that identifies the payload context — such as a data table name, command name, or other message-specific label.