Package-level declarations

Types

Link copied to clipboard
class BluetoothInterface @AssistedInject constructor(context: Application, bluetoothRepository: BluetoothRepository, service: RadioInterfaceService, @Assisted val address: String) : IRadioInterface, Logging

Handles the bluetooth link with a mesh radio device. Does not cache any device state, just does bluetooth comms etc...

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterface_Factory
Link copied to clipboard
@AssistedFactory
interface BluetoothInterfaceFactory

Factory for creating BluetoothInterface instances.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceFactory_Impl
Link copied to clipboard
class BluetoothInterfaceSpec @Inject constructor(factory: BluetoothInterfaceFactory, bluetoothRepository: BluetoothRepository) : InterfaceSpec<BluetoothInterface> , Logging

Bluetooth backend implementation.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<T>
Link copied to clipboard
class InterfaceFactory @Inject constructor(nopInterfaceFactory: NopInterfaceFactory, specMap: Map<InterfaceId, @JvmSuppressWildcards Provider<InterfaceSpec<*>>>)

Entry point for create radio backend instances given a specific address.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<T>
Link copied to clipboard

Radio interface factory service provider interface. Each radio backend implementation needs to have a factory to create new instances. These instances are specific to a particular address. This interface defines a common API across all radio interfaces for obtaining implementation instances.

Link copied to clipboard

Address identifiers for all supported radio backend implementations.

Link copied to clipboard

Dagger MapKey implementation allowing for InterfaceId to be used as a map key.

Link copied to clipboard

This interface defines the contract that all radio backend implementations must adhere to.

Link copied to clipboard
Link copied to clipboard
sealed class MeshActivity
Link copied to clipboard
class MockInterface @AssistedInject constructor(service: RadioInterfaceService, @Assisted val address: String) : IRadioInterface, Logging

A simulated interface that is used for testing in the simulator

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterface_Factory
Link copied to clipboard
@AssistedFactory
interface MockInterfaceFactory

Factory for creating MockInterface instances.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceFactory_Impl
Link copied to clipboard
class MockInterfaceSpec @Inject constructor(factory: MockInterfaceFactory) : InterfaceSpec<MockInterface>

Mock interface backend implementation.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<T>
Link copied to clipboard
class NopInterface @AssistedInject constructor(@Assisted val address: String) : IRadioInterface
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterface_Factory
Link copied to clipboard
@AssistedFactory
interface NopInterfaceFactory

Factory for creating NopInterface instances.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceFactory_Impl
Link copied to clipboard
class NopInterfaceSpec @Inject constructor(factory: NopInterfaceFactory) : InterfaceSpec<NopInterface>

No-op interface backend implementation.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class NopInterfaceSpec_Factory : Factory<T>
Link copied to clipboard
@Singleton
class RadioInterfaceService @Inject constructor(context: Application, dispatchers: CoroutineDispatchers, bluetoothRepository: BluetoothRepository, networkRepository: NetworkRepository, processLifecycle: Lifecycle, radioPrefs: RadioPrefs, interfaceFactory: InterfaceFactory) : Logging

Handles the bluetooth link with a mesh radio device. Does not cache any device state, just does bluetooth comms etc...

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class RadioInterfaceService_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class RadioInterfaceService_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class RadioInterfaceService_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class RadioInterfaceService_Factory : Factory<T>
Link copied to clipboard
@Module
abstract class RadioRepositoryModule
Link copied to clipboard
data class RadioServiceConnectionState(val isConnected: Boolean = false, val isPermanent: Boolean = false)
Link copied to clipboard
class SerialInterface @AssistedInject constructor(service: RadioInterfaceService, serialInterfaceSpec: SerialInterfaceSpec, usbRepository: UsbRepository, @Assisted address: String) : StreamInterface, Logging

An interface that assumes we are talking to a meshtastic device via USB serial

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterface_Factory
Link copied to clipboard
@AssistedFactory
interface SerialInterfaceFactory

Factory for creating SerialInterface instances.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceFactory_Impl
Link copied to clipboard
class SerialInterfaceSpec @Inject constructor(factory: SerialInterfaceFactory, usbManager: Lazy<UsbManager>, usbRepository: UsbRepository) : InterfaceSpec<SerialInterface>

Serial/USB interface backend implementation.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<T>
Link copied to clipboard

An interface that assumes we are talking to a meshtastic device over some sort of stream connection (serial or TCP probably)

Link copied to clipboard
class TCPInterface @AssistedInject constructor(service: RadioInterfaceService, @Assisted address: String) : StreamInterface, Logging
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterface_Factory
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterface_Factory
Link copied to clipboard
@AssistedFactory
interface TCPInterfaceFactory

Factory for creating TCPInterface instances.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceFactory_Impl
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceFactory_Impl
Link copied to clipboard
class TCPInterfaceSpec @Inject constructor(factory: TCPInterfaceFactory) : InterfaceSpec<TCPInterface>

TCP interface backend implementation.

Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceSpec_Factory : Factory<T>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class TCPInterfaceSpec_Factory : Factory<T>