DittoConnection

Represents a connection between two peers on the Ditto mesh network.

  • id

    Unique identifier for the connection.

  • Type of transport enabling this connection.

  • The address of the peer at one end of the connection.

  • The address of the peer at the other end of the connection.

  • Estimate of distance to the remote peer. This value is inaccurate. The environment, hardware, and several other factors can greatly affect this value. It is currently derived from RSSI.

  • Initialize a new connection.