mad-lab-fau / SensorLib

Android sensor library
MIT License
13 stars 6 forks source link

KnownSensor.java #2

Closed richrobe closed 8 years ago

richrobe commented 8 years ago

public static KnownSensor inferSensorClass(String deviceName, String deviceAddress) { //TODO: Do we need the device address as parameter? [...] }

gradlman commented 8 years ago

Yes, I think a lot of devices could also be recognized using the MAC address. The static first part is often company or series-specific. But maybe we have a version of the method with just the name.