trackConnect
open fun trackConnect(firmwareVersion: String?, transportType: String?, hardwareModel: String?, nodes: Int, connectionRestored: Boolean)(source)
Tracks a successful device connection as a custom RUM action, aligned with the Meshtastic-Apple DataDog integration for cross-platform analytics comparison.
Parameters
firmwareVersion
The firmware version of the connected device (major.minor).
transportType
The transport used for the connection (e.g., "BLE", "TCP", "USB").
hardwareModel
The hardware model name of the connected device.
nodes
The total number of nodes in the mesh network.
connectionRestored
True if this connection was restored from device sleep rather than a fresh connect.