Nordic Ble Interface
class NordicBleInterface @AssistedInject constructor(serviceScope: CoroutineScope, centralManager: CentralManager, service: RadioInterfaceService, @Assisted val address: String) : IRadioInterface(source)
A IRadioInterface implementation for BLE devices using Nordic Kotlin BLE Library. https://github.com/NordicSemiconductor/Kotlin-BLE-Library.
This class is responsible for connecting to and communicating with a Meshtastic device over BLE.
Parameters
service Scope
The coroutine scope to use for launching coroutines.
central Manager
The central manager provided by Nordic BLE Library.
service
The RadioInterfaceService to use for handling radio events.
address
The BLE address of the device to connect to.
Constructors
Link copied to clipboard
@AssistedInject