parsePeripheralToBADevice

fun parsePeripheralToBADevice(peripheral: BluetoothPeripheral): BADevice?

Parses a BluetoothPeripheral and returns a corresponding BADevice implementation based on its name.

Return

A corresponding BADevice or null if not recognized.

Parameters

peripheral

The Bluetooth peripheral to parse.