public List < String > getDeviceIDs ( ) { final List < String > ids = new ArrayList <> ( ) ; for ( final File deviceDir : getDeviceDirs ( ) ) { ids . add ( deviceDir . getName ( ) ) ; } /* * //for (final W1Device device: devices) { ids.add(device.getId()); */ return ids ; }
Gets a list of all registered slave device ids .