Skip to content

Getting Started with CC2

Welcome to the Infrafon CC2 Developer Getting Started Guide. This document guides you through connecting your CC2 device, understanding MQTT downlink/uplink topics, and deploying your first custom DataView screen.

Before starting, ensure you have:

  1. An Infrafon CC2 Device (serial / EUI number).
  2. Credentials to an MQTT Broker (TLS supported on port 8883).
  3. Access to the Dataview Designer.

  1. Power on the CC2 device.
  2. The device enters Unallocated State (U) if not yet assigned to an organization.
  3. Configure Wi-Fi or LoRaWAN network parameters over USB CLI or provisioning payload.
  4. Verify connection status in the top status bar (Wi-Fi / MQTT icon turns solid).

CC2 communicates using strict MQTT topic paths:

infrafon/cc2/{devid}/downlink/dev-config
infrafon/cc2/{devid}/downlink/app
infrafon/cc2/{devid}/uplink/dev-data
infrafon/cc2/{devid}/uplink/app

  1. Open Dataview Designer.
  2. Drag and drop widgets (Text String, Graphic Icon, Progress Bar).
  3. Export the generated JSON payload.
  4. Send the DataView JSON over MQTT downlink:
    • Topic: infrafon/cc2/{devid}/downlink/app

    • Payload:

      {
      "cmd": "show",
      "dataview": { ... }
      }

The CC2 screen updates immediately.