Bluetooth Interface
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...
This service is not exposed outside of this process.
Note - this class intentionally dumb. It doesn't understand protobuf framing etc... It is designed to be simple so it can be stubbed out with a simulated version as needed.
Constructors
Link copied to clipboard
@AssistedInject