iDevicesInc / SweetBlue

BLE on Android, the easy way. THIS IS NOW DEPRECATED. Please visit website for info on new versions.
https://sweetblue.io
GNU General Public License v3.0
356 stars 57 forks source link

Methods for retrieving known devices from disk across app sessions. #40

Closed dougkoellmer closed 9 years ago

dougkoellmer commented 9 years ago

Not really sure of the use case or what the API would look like yet, but we are tracking this already so maybe some interface to it would be helpful. For example an app that is meant to work with one device (e.g. fitness tracker) may want to forgo scanning on app start up if the mac address is known...i.e. they create a new device explicitly and just try to connect.

dougkoellmer commented 9 years ago

BleManager.getDevices_previouslyConnected() has been implemented for a while, so closing this out.