Package-level declarations

Types

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

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

BluetoothInterface_Factory
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.

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

Bluetooth backend implementation.

BluetoothInterfaceSpec_Factory
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<BluetoothInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<BluetoothInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<BluetoothInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class BluetoothInterfaceSpec_Factory : Factory<BluetoothInterfaceSpec>
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.

InterfaceFactory_Factory
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<InterfaceFactory>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<InterfaceFactory>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<InterfaceFactory>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class InterfaceFactory_Factory : Factory<InterfaceFactory>
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

A simulated interface that is used for testing in the simulator

MockInterface_Factory
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.

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

Mock interface backend implementation.

MockInterfaceSpec_Factory
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<MockInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<MockInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<MockInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class MockInterfaceSpec_Factory : Factory<MockInterfaceSpec>
Link copied to clipboard
class NopInterface @AssistedInject constructor(@Assisted val address: String) : IRadioInterface
NopInterface_Factory
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.

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

No-op interface backend implementation.

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

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

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

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

SerialInterface_Factory
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.

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

Serial/USB interface backend implementation.

SerialInterfaceSpec_Factory
Link copied to clipboard
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<SerialInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<SerialInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<SerialInterfaceSpec>
@DaggerGenerated
@Generated(value = "dagger.internal.codegen.ComponentProcessor", comments = "https://dagger.dev")
class SerialInterfaceSpec_Factory : Factory<SerialInterfaceSpec>
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
TCPInterface_Factory
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.

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

TCP interface backend implementation.

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