Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class DiscoveredService(val name: String, val hostAddress: String, val port: Int, val txt: Map<String, ByteArray> = emptyMap())
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface MQTTRepository

Interface defining the MQTT interactions used for proxying messages to and from the mesh.

Link copied to clipboard
class MQTTRepositoryImpl(radioConfigRepository: RadioConfigRepository, nodeRepository: NodeRepository, dispatchers: CoroutineDispatchers) : MQTTRepository
Link copied to clipboard
Link copied to clipboard
interface NetworkMonitor
Link copied to clipboard
Link copied to clipboard
class NetworkRepositoryImpl(networkMonitor: NetworkMonitor, serviceDiscovery: ServiceDiscovery, dispatchers: CoroutineDispatchers, processLifecycle: Lifecycle) : NetworkRepository
Link copied to clipboard

Creates a probe table for the USB driver. This augments the default device-to-driver mappings with additional known working configurations. See this package's README for more info.

Link copied to clipboard

USB serial connection.

Link copied to clipboard

Callbacks indicating state changes in the USB serial connection.

Link copied to clipboard
Link copied to clipboard

A helper class to call onChanged when bluetooth is enabled or disabled or when permissions are changed.

Link copied to clipboard
class UsbRepository(application: Application, dispatchers: CoroutineDispatchers, processLifecycle: Lifecycle, usbBroadcastReceiverLazy: Lazy<UsbBroadcastReceiver>, usbManagerLazy: Lazy<UsbManager?>, usbSerialProberLazy: Lazy<UsbSerialProber>)

Repository responsible for maintaining and updating the state of USB connectivity.

Functions

Link copied to clipboard
fun resolveEndpoint(rawAddress: String, tlsEnabled: Boolean): MqttEndpoint

Resolve a user-supplied broker address into an MqttEndpoint.